diff options
| author | James <james@hale.com.au> | 2018-08-03 09:58:51 +1000 | 
|---|---|---|
| committer | James <james@hale.com.au> | 2018-08-03 09:58:51 +1000 | 
| commit | dbf768b1bd6adb48b7e8580bcea09386ce064566 (patch) | |
| tree | 9652bb33b463d2e2b4b230ee8e6c197730c27772 /src | |
| parent | b96fcfc8ac51e3296faded796b6b285f260fa79e (diff) | |
| download | plyr-dbf768b1bd6adb48b7e8580bcea09386ce064566.tar.lz plyr-dbf768b1bd6adb48b7e8580bcea09386ce064566.tar.xz plyr-dbf768b1bd6adb48b7e8580bcea09386ce064566.zip | |
Remove 'video is playing' requirement for iosNative fullscreen
Diffstat (limited to 'src')
| -rw-r--r-- | src/js/fullscreen.js | 4 | 
1 files changed, 1 insertions, 3 deletions
| diff --git a/src/js/fullscreen.js b/src/js/fullscreen.js index 7091fde1..44c7e1cf 100644 --- a/src/js/fullscreen.js +++ b/src/js/fullscreen.js @@ -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) { | 
