1
0
mirror of https://github.com/videojs/video.js.git synced 2024-12-27 02:43:45 +02:00

Revert "Don't trigget vjs's fullscreenchange event"

This reverts commit cc45177ee5.

Conflicts:
	src/js/media/html5.js
This commit is contained in:
Gary Katsevman 2014-09-22 21:28:10 -04:00
parent 1ed30853ef
commit 0498b10084

View File

@ -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');
}
}));
}