Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Possibilities to have bits on the run interact with webpage?

1 reply [Last post]

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>