Hi,
I have a small animation with music playing on background. Music starts on a loadscene event.
It works well on any browser except chrome. This browser only accepts to play the musci by clicking on a button.
So, I’d like to modify my animation by sending Chrome users on a specific timeline with a button to start music.
I tried this javascript but it doesn’t seem to work :
if(navigator.userAgent.indexOf("Chrome") != -1 )
{
hypeDocument.startTimelineNamed('For_google1', hypeDocument.kDirectionForward);
}
else
{
hypeDocument.continueTimelineNamed('Introduction', hypeDocument.kDirectionForward, false));
}
Can anyone help me ? Thanks a lot
Philippe