I want to have an inline video of my video hosted on a S3 bucket. I use a HTML video tag to achieve this and have changed the following settings, in defaults.xml
<!-- Preferences for iOS -->
<preference name="AllowInlineMediaPlayback" value="true" />
If I build my Iphone app the config.xml
file display this setting correctly:
<?xml version='1.0' encoding='utf-8'?>
<widget id="com.phonegap.helloworld" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0">
<preference name="AllowInlineMediaPlayback" value="true" />
In my app I have the following code:
<div className="hub-videobox">
<video webkit-playsinline >
<source src="https://s3-eu-west-1.amazonaws.com/mybucket/0rdrd88" type="video/mp4"/>
</video>
</div>
I would expect that this would result in an inline video. However, the native video player is launched, and it plays fullscreen. Why is this happening?
Thanks!
Im using phonegap/cordova 4.2.0