Is is possible for my player, which I have embedded using te one-line Bits on the Run embed code, to interact with the page on which it has been embedded?
For example I'd like to slideOut a div using jQuery at the end of the video.
Thanks.
Is is possible for my player, which I have embedded using te one-line Bits on the Run embed code, to interact with the page on which it has been embedded?
For example I'd like to slideOut a div using jQuery at the end of the video.
Thanks.
Yes I can,
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript">
$(document).ready(function()
{
jwplayer().play();
jwplayer().onComplete(function() { //any code });
});
</script>