Merge pull request #2184 from dpalou/MOBILE-3223
MOBILE-3223 ios: Fix playsinline for iOS in InAppBrowsermain
commit
89a1156977
|
@ -904,6 +904,10 @@ export class CoreUtilsProvider {
|
|||
options.enableViewPortScale = 'yes'; // Enable zoom on iOS.
|
||||
}
|
||||
|
||||
if (!options.allowInlineMediaPlayback) {
|
||||
options.allowInlineMediaPlayback = 'yes'; // Allow playing inline videos in iOS.
|
||||
}
|
||||
|
||||
if (!options.location && this.platform.is('ios') && url.indexOf('file://') === 0) {
|
||||
// The URL uses file protocol, don't show it on iOS.
|
||||
// In Android we keep it because otherwise we lose the whole toolbar.
|
||||
|
|
Loading…
Reference in New Issue