We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f0d594 commit 7e0ccecCopy full SHA for 7e0ccec
src/vr.js
@@ -146,11 +146,7 @@ class Vr extends BasePlugin {
146
}
147
148
_isIOSPlayer(): boolean {
149
- return (
150
- this.player.config.playback.playsinline === false &&
151
- this.player.env.browser.name === 'Mobile Safari' &&
152
- this.player.env.device.type === 'mobile'
153
- );
+ return this.player.config.playback.playsinline === false && this.player.env.device.model === 'iPhone';
154
155
156
_isVrSupported(source: PKMediaSourceObject): boolean {
0 commit comments