diff options
| -rw-r--r-- | animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js index efc8f89..2c9f7d6 100644 --- a/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js +++ b/animism-align/frontend/app/views/viewer/player/components.fullscreen/fullscreen.video.js @@ -2,6 +2,25 @@ import React, { Component } from 'react' import VimeoPlayer from 'app/utils/vendor/vimeo' export class FullscreenVideo extends Component { + constructor(props) { + super(props) + this.handlePlay = this.handlePlay.bind(this) + this.handlePause = this.handlePause.bind(this) + this.handleTimeUpdate = this.handleTimeUpdate.bind(this) + this.handleEnd = this.handleEnd.bind(this) + } + handlePlay() { + + } + handlePause() { + + } + handleEnd() { + + } + handleTimeUpdate() { + + } render() { const { element, media, transitionDuration } = this.props const { color } = element @@ -24,6 +43,10 @@ export class FullscreenVideo extends Component { responsive={true} controls={false} byline={false} + onPlay={this.handlePlay} + onPause={this.handlePause} + onTimeUpdate={this.handleTimeUpdate} + onEnd={this.handleEnd} /> </div> ) |
