1 Reply Latest reply on Nov 23, 2014 9:50 PM by vivekuma

    Video does not show on iPhone 4

    Departure Level 1

      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();