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

Help converting this vimeo control code to edge

$
0
0

Here´s the code!

 

<script src="http://a.vimeocdn.com/js/froogaloop2.min.js"></script>

 

//The video

<iframe id="vimeo-player" src="//player.vimeo.com/video/76979871" width="500" height="281" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

 

//this is a textlink. I want this to be triggered from a symbolbutton.

<div id="stop">[STOP]</div>

 

$('#stop').click(function() {

    var iframe = $('#vimeo-player')[0];

    var player = $f(iframe);

    player.api('unload');

});

 

Thanks Danne/


Viewing all articles
Browse latest Browse all 9897

Trending Articles



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