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

Play button from video on ipad for html5 video

$
0
0

I'm new at this so please forgive my ignorance.  I have an html5 video that plays with the controls but I want to hide the controls and trigger the play with a button in animate.  Is this possible?

 

My video code is in a timeline action:

 

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

vid.html('<video id="mainvideo" width ="1280" height="720" src = "video/braking1.mp4" type = "video/mp4"</video>');

 

 

How would I trigger the video to play from the onclick of another button?


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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