1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

Fixed a bug with an enterFullScreen API call which was using a non-existant 'api()' method, when it should have been 'apiCall()'. This caused a JavaScript error which would break fullscreen in HTML5 mode for browsers that support it (Safari).

This commit is contained in:
Steve Cochrane 2011-11-21 14:35:58 -08:00
parent 193172498c
commit 53e1d0eb65

View File

@ -117,7 +117,7 @@ VideoJS.fn.extend({
// Turn on fullscreen (or window) mode
enterFullScreen: function(){
if (this.supportsFullScreen()) {
this.api("enterFullScreen");
this.apiCall("enterFullScreen");
} else {
this.enterFullWindow();
}