Remove 'video is playing' requirement for iosNative fullscreen

This commit is contained in:
James
2018-08-03 09:58:51 +10:00
parent b96fcfc8ac
commit dbf768b1bd

View File

@ -177,9 +177,7 @@ class Fullscreen {
// iOS native fullscreen doesn't need the request step
if (browser.isIos && this.player.config.fullscreen.iosNative) {
if (this.player.playing) {
this.target.webkitEnterFullscreen();
}
this.target.webkitEnterFullscreen();
} else if (!Fullscreen.native) {
toggleFallback.call(this, true);
} else if (!this.prefix) {