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

Kevin Sloan commented on CB-5207:
---------------------------------

Ok, so to fix this, add 'allowinlinemediaplayback=YES' to the options string 
you pass into window.open

For example:
window.open('http://google.com', 'Google', 
'location=0,status=0,allowinlinemediaplayback=YES');

By default the inappbrowser plugin sets self.allowinlinemediaplayback = NO. I 
guess the parent allowinlinemediaplayback setting gets clobbered somehow when 
you load the inappbrowser.



> InAppBrowser use causes inline video playback to stop working on iPhone
> -----------------------------------------------------------------------
>
>                 Key: CB-5207
>                 URL: https://issues.apache.org/jira/browse/CB-5207
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.1.0
>         Environment: iOS, iPhone
>            Reporter: Aaron Martlage
>             Fix For: 3.6.0
>
>
> Prior to invoking an InAppBrowser window, video plays inline properly with 
> the config.xml setting as well as the webkit-playsinline attribute on the 
> video tag. However, as soon as any InAppBrowser window is invoked and 
> subsequently closed, the video will no longer play inline and will always 
> open the native player. This is specific to an iPhone as the iPad allows 
> inline video playback without the config and playsinline attribute.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to