i run a video as an hotspot, whose name is spot221, and want to detect if it is playing or not, in order to have different action upon the case (updating some buttons)
i use in the video onclick="action(alterne)"
and
<action name="alterne">
if(hotspot[spot221].ispaused=="true"),
set(plugin[bt_joue1].visible,true);
set(plugin[bt_joue2].visible,false);
hotspot[spot221].play(),
set(plugin[bt_joue1].visible,false);
set(plugin[bt_joue2].visible,true);
hotspot[spot221].pause();
</action>
this doesn't work, but if i delete the condition if(hotspot[spot221].ispaused=="true"), the action on the button can works
I feel some syntax in my condition is wrong, but i don't find real example or documentation on how to use it !
could you help me