diff --git a/Video.ios.js b/Video.ios.js index 4e9a3293..4b8963d4 100644 --- a/Video.ios.js +++ b/Video.ios.js @@ -58,7 +58,7 @@ var Video = React.createClass({ }, seek(time) { - this.refs.video.setNativeProps({seek: parseFloat(time)}); + this.setNativeProps({seek: parseFloat(time)}); }, render() { @@ -91,7 +91,7 @@ var Video = React.createClass({ onProgress: this._onProgress, }); - return + return ; }, });