You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2017/06/07 06:21:18 UTC

[jira] [Commented] (CB-12630) InAppBrowser breaks AllowInlineMediaPlayback in iOS10

    [ https://issues.apache.org/jira/browse/CB-12630?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16040279#comment-16040279 ] 

Shazron Abdullah commented on CB-12630:
---------------------------------------

This might be an implementation thing for videos on iOS where it is probably just overlaying the top view (not our code, obviously). What iOS version did you test this on? Does this occur when you first pause the video, then call the InAppBrowser?

> InAppBrowser breaks AllowInlineMediaPlayback in iOS10
> -----------------------------------------------------
>
>                 Key: CB-12630
>                 URL: https://issues.apache.org/jira/browse/CB-12630
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-ios
>    Affects Versions: cordova-ios@4.3.1
>            Reporter: napcat
>
> I have a video element playing in the background (loop).
> I used the AllowInlineMediaPlayback in my config.xml and added the webkit-playsinline in the video html tag.
> This works as expected, but when I call an InAppBrowser (facebook login page) it breaks the background video playback. The video pops from the background covering the app.
> This only happens when a InAppBrowser is called.
> <video id="bgvideo" preload="auto" playsinline autoplay muted loop class="bg-vid">



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org