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

Dzenan commented on CB-5812:
----------------------------

I tried this scenarios on couple of Android devices, one of them being Galaxy 
S4 with Android 4.2.2 and using Cordova version 3.1.0

When I open any of the HTML5 video link using inAppBrowsers with '_blank' 
parameter it opens blank page.

In order to reproduce this issue you could try opening inAppBrowser like this:

window.open("http://techslides.com/demos/sample-videos/small.mp4";, '_blank');

After being unable to figure out what is happening I tried manually creating 
video element in inAppBrowser and setting the source attribute. This worked, 
however I wasn't able to use html5 video full-screen option. Taping on 
full-screen icon would stop the video while audio still running in the 
background.

Thanks.

> inAppBrowser unable to play HTML5 videos
> ----------------------------------------
>
>                 Key: CB-5812
>                 URL: https://issues.apache.org/jira/browse/CB-5812
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android, Plugin InAppBrowser
>    Affects Versions: 3.1.0, 3.3.0
>         Environment: Android
>            Reporter: Dzenan
>
> inAppBrowser is unable to open websites with HTML5 videos. 
> Example, 
> window.open("https://mvid.mymovies.net/?fid=13061&mid=9599&typ=trl&partner=SHOWCASE&spd=320&ext=MP4";,
>  '_blank');
> This code opens inAppBrowser and only blank page is visible, if we use 
> '_system' instead of '_blank' than everything seems ok.
> I tried to find what is causing this behavior and manually inserted code for 
> video element using executeScript function. 
> Using this approach HTML5 video was rendered but fullscreen functionality  
> was broken.
> It appears that webkitRequestFullscreen is causing these issues with 
> inAppBrowser.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to