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:
parent
193172498c
commit
53e1d0eb65
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user