Send variable or action from a HTML5 Animation
Hi,
Is it possible to send a variable or activate a captivate action using javascript from a HTML5 animation ?
I try with something like this but don't works :
var vid = document.getElementById("myVideo");
vid.onended = function() {
window.cpAPIInterface.setVariableValue('cpCmndGotoFrame', 300);
};
For information, I really need to use a HTML5 Animation.
Thanks !
