Skip to content

Commit

Permalink
Don't trigget vjs's fullscreenchange event
Browse files Browse the repository at this point in the history
This event isn't really being used for this usecase right now, so, no
need to trigger it.
  • Loading branch information
gkatsev committed Sep 16, 2014
1 parent ad505a6 commit cc45177
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/js/media/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,7 @@ vjs.Html5.prototype.enterFullScreen = function(){
if (this.player_.isFullscreen()) {
vjs.on(video, 'webkitendfullscreen', vjs.bind(this, function(e) {
this.player_.isFullscreen(video['webkitDisplayingFullscreen']);
this.player_.trigger('fullscreenchange');
}));

this.player_.trigger('fullscreenchange');
}
}));
}
Expand Down

0 comments on commit cc45177

Please sign in to comment.