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

Syntax small fix (video autoplay and loop)

$
0
0

Hi, for the life of me I don't know where to put the autoplay and loop, here's my current attempt. the video loads but it doesnt play

 

 

vid.html('<video id= "video1" style="position: absolute;bottom: 0px; right: 0px; min-width: 100%; min-height: 100%; width: auto; height: auto; overflow: hidden" >' +

 

"<source src='video/video.mp4' type='video/mp4' autoplay= 'autoplay' loop= 'loop'/>" +

 

"<source src='video/video.webm' type='video/webm' autoplay= 'autoplay' loop= 'loop'/>" +

 

"<source src='video/video.ogg' type='video/ogg' autoplay= 'autoplay' loop= 'loop'/>" +

 

"</video>");

 

 

What am I doing wrong?  (Apart from not understanding any code whatsoever!)


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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