Hi,
Since there is no control buttons (such as play, stop,...) in the videoplayer plugin,
I am trying to add external control buttons outside the video but it doesn't seem
to work.
I have my video plugin and external play button as follows
Code
<hotspot name="videospot" url="./plugin/videoplayer.swf" videourl="../cats-short.flv" distorted="true" ath="0" atv="0" edge="center" scale="1.0" rx="0" ry="0" rz="0" width="500" height="500" loop="true" pausedonstart="true" directionalsound="true" range="110" volume="0.7" onhover="if(ispaused, showtext(click to play, videohoverstyle), showtext(click to pause, videohoverstyle));" onclick="togglepause();" />
<plugin name="playVideo" url="button.png" align="leftbottom" edge="leftbottom" zorder="999" handcursor="true" onclick="hotspot[videospot].onclick" />
When I click the play button I get following message in the
console:
ZitatWARNING: unknown action command: togglepause
Anybody have an idea?
Best Regards,
Hyung