Skip to content

Commit

Permalink
Revert "Don't trigget vjs's fullscreenchange event"
Browse files Browse the repository at this point in the history
This reverts commit cc45177.

Conflicts:
	src/js/media/html5.js
  • Loading branch information
gkatsev committed Sep 23, 2014
1 parent 1ed3085 commit 0498b10
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/js/media/html5.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,10 @@ vjs.Html5.prototype.enterFullScreen = function(){
if (this.player_.isFullscreen()) {
this.one('webkitendfullscreen', vjs.bind(this, function(e) {
this.player_.isFullscreen(false);
this.player_.trigger('fullscreenchange');
}));

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

0 comments on commit 0498b10

Please sign in to comment.