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

HTML5 video only works in Chrome?

$
0
0

I use a rectangle named "video" for embed html5 video in document.compositionReady:

 

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

vid.html('<video id= "video1" style=" position: absolute;bottom: 0px; right: 0px; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -1000; overflow: hidden" src= "video/sparks_fly_hd.mp4" type= "video/mp4" autoplay="autoplay" loop="loop" </video>');

 

But only works fine in Chrome, not in Safari, Firefox, or IE, why?

 

Tag: http://w3schools.com/html/html5_video.asp

Web: http://dissenys.com/vol

Source: https://app.box.com/s/o7h3dj10r6k77206942o


Viewing all articles
Browse latest Browse all 9897

Trending Articles