diff --git a/Video.js b/Video.js index 423f3e77..fcbc3a66 100644 --- a/Video.js +++ b/Video.js @@ -31,6 +31,10 @@ class Video extends Component { this._onEnd = this._onEnd.bind(this); } + setNativeProps(nativeProps) { + this._root.setNativeProps(nativeProps); + } + render() { const { seekTime } = this.state; const { @@ -75,7 +79,11 @@ class Video extends Component { onVideoEnd: this._onEnd, }); - return ; + return ( + this._root = component } + {...nativeProps} /> + ); } seek(time) {