|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<hotspot name="video"
url="videoplayer.swf"
videourl="video.flv"
ath="12"
atv="10"
scale="0.5"
rx="0" ry="0" rz="0"
distorted="true"
pausedonstart="false"
loop="true"
volume="0.7"
directionalsound="true"
range="120"
onclick="togglepause();"
/>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<hotspot name="video"
url="videoplayer.swf"
videourl="video.flv"
ath="12" atv="10"
scale="0.5" rx="0" ry="0" rz="0"
distorted="true"
pausedonstart="false"
loop="true"
volume="0.7"
directionalsound="true"
range="120"
onclick="togglepause();"
/>
|
|
|
Quellcode |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
<action name="playothervideo">
hotspot[video].playvideo(othervideo.flv);
</action>
<action name="stopbutton">
hotspot[video].stop();
</action>
<action name="playbutton">
hotspot[video].play();
</action>
<action name="pausebutton">
hotspot[video].togglepause();
</action>
|
- see attachment. Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »JAT« (16. Juni 2009, 23:34)
hm. Thank you Klaus. Now I see, that I was not clear enough about that. I did not mean "rewind the movie" to the first frame but play the movie in opposite direction. Can this be achieved somehow? This would be very useful when showing technical stuff moving in one direction and back. So one could establish a button for "open" or "forward movement" and another one for "closing" or "backward movement". A workaround would be to create video_1.flv e.g. "opening" movement, and video_2.flv e.g. "closing" movement. But this would cause double the file size to be transferred and I have an example with 3 MB here. I guess especially this use of videos will become more important and thus I would very much appreciate this.Hi,
stop() will rewind the video to the first frame and pauses thereJust an idea: What about a "rewind" parameter? This would be usefull when embedding opening/closing video clips.
best regards,
Klaus