You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Full page is broken in Safari. nativeFullscreenOn isn't returning false when this.video.webkitEnterFullScreen throws an error. Adding a return false in the catch block fixes it:
nativeFullscreenOn: function(){
if(typeof this.video.webkitEnterFullScreen == 'function') {
// Seems to be broken in Chromium/Chrome
if (!navigator.userAgent.match("Chrome")) {
try {
this.video.webkitEnterFullScreen();
} catch (e) {
if (e.code == 11) { this.errors.push(VideoJS.errorCodes.videoNotReady); }
return false;
}
return true;
}
}
},
The text was updated successfully, but these errors were encountered:
Full page is broken in Safari. nativeFullscreenOn isn't returning false when this.video.webkitEnterFullScreen throws an error. Adding a return false in the catch block fixes it:
The text was updated successfully, but these errors were encountered: