Skip to content

Commit

Permalink
Update docs for react tutorial (videojs#4935)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhulduz committed Feb 13, 2018
1 parent 6a66e80 commit a7e44b7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/guides/react.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,10 @@ export default class VideoPlayer extends React.Component {
// see https://github.com/videojs/video.js/pull/3856
render() {
return (
<div data-vjs-player>
<video ref={ node => this.videoNode = node } className="video-js"></video>
<div>
<div data-vjs-player>
<video ref={ node => this.videoNode = node } className="video-js"></video>
</div>
</div>
)
}
Expand Down

0 comments on commit a7e44b7

Please sign in to comment.