Home | History | Annotate | Download | only in js

Lines Matching refs:VideoPlayer

6475     function VideoPlayer() {
6480 VideoPlayer.prototype.setup = function() {
6500 this.videoPlayer = $('#video-player');
6502 var pictureInPictureButton = this.videoPlayer.find('#picture-in-picture');
6505 var videoOverlay = this.videoPlayer.find('#video-overlay');
6506 var closeButton = this.videoPlayer.find('#close-video');
6514 VideoPlayer.prototype.startYouTubePlayer = function(videoId) {
6515 this.videoPlayer.show();
6556 VideoPlayer.prototype.onPlayerReady = function(event) {
6563 VideoPlayer.prototype.toggleMinimizeVideo = function(event) {
6565 this.videoPlayer.toggleClass('Video--picture-in-picture');
6568 VideoPlayer.prototype.closeVideo = function() {
6573 this.videoPlayer.fadeOut(200, function() {
6574 this.videoPlayer.removeClass('Video--picture-in-picture');
6578 VideoPlayer.prototype.getVideoId = function() {
6585 VideoPlayer.prototype.onPlayerStateChange = function(event) {
6620 player = new VideoPlayer();
6628 var videoPlayer = YouTubePlayer.getPlayer();
6631 videoPlayer.isLoaded = true;
6633 if (videoPlayer.queueVideo) {
6634 videoPlayer.startYouTubePlayer(videoPlayer.queueVideo);
6641 if (!videoPlayer.doneSetup) {
6642 videoPlayer.setup();
6649 videoPlayer.startYouTubePlayer(videoId);