how to detect a video end and add a navigation action like go to page?
how to detect a video end and add a navigation action like go to page?
sorry to bother.. to interact with video player should i implement a smart object?
Hello,
currently there are no such event on video, they are on our to-do list, but still no ETA for them sorry.
Of course you could use a smartobject with your own javascript to listen for video onend event.
Hello, thank you for your reply.
I figured it out, for anyone interested here follows my own javascript:
<script type="text/javascript"><![CDATA[
$(document).ready(function(){
$("#obj729").on('ended',function(){
setTimeout( goToNextPage, 4000 ); // after 4 seconds
});
});
]]></script>
where #obj729 is the videoobject id.