Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

Video does not show on iPhone 4

$
0
0

Hi All,

 

Below is an attempt to use HTML5 Video tag inside Edge Animate. I am using additional sources/video types to make things work across browsers/devices.

I dont get why iPhone 4 shows no Video?

 

// Video starts to play when a button is clicked. It works fine across all browsers and in newer iPhones. iPhone4 fails.

 

var vid=sym.$("videobox");

vid.html('<video loop = "true"  id="video1" width="640" height="425" preload="auto" poster="videos/poster.jpg"> <source src="videos/seq.mp4" type="video/mp4" ><source src=”output.webm” type=”video/webm” ><source src="videos/seq.ogv" type="video/ogg" ></video>');

 

var myVideo = $('#video1').get(0)

 

$(myVideo).on('loadedmetadata', updateVideo)

myVideo.load();


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>