Hi Klaus,
When using the videoplayer plugin as a <plugin>, the play() action works different after the video ends or makes his first loop...
In calling the play() action, the video stops, goes to first frame and plays ...
SAlut.
Hi Klaus,
When using the videoplayer plugin as a <plugin>, the play() action works different after the video ends or makes his first loop...
In calling the play() action, the video stops, goes to first frame and plays ...
SAlut.
Hi,
I think I found the reason now....
The problem is that the variable iscomplete becomes true...
So, this variable must be checked to makes things works properly...
for play():
for stop():
and for togglepause():
SAlut.
very good work michael,,,,,,any solution to your stop() call not working on the new video call
Hi Klaus! I have a question about videohotspot playback behavior: I need to look_play() executes only once, how can I achieve this? And I have a little bug with playback: when I'm watching video second time and pausing playback after resume playback resets instead of continuing.
<events onviewchange="if(hotspot[videospot].ispaused, look_play());"/>
<action name="look_play">
if(view.hlookat GE 240,hotspot[videospot].togglepause(););
if(view.hlookat LE -20,hotspot[videospot].togglepause(););
</action>
<hotspot name="videospot" devices="all"
url="plugins/videoplayer.swf"
keep="false"
ath="-66.5209546227529" atv="23.724131255666126"
zoom="false" distorted="true" details="8" flying="0"
width="200" height="120"
scale="1.1576834753657954"
rx="23.75" ry="16.25" rz="1.4408785922601488"
edge="center"
visible="true" enabled="true"
onhover="if(ispaused, showtext(click to play), showtext(click to pause));"
onclick="if(ispaused, play(), pause());"
directionalsound="true"
loop="false"
pausedonstart="true"
posterurl="poster.jpg"
totaltime="6.006"
updateeveryframe="true"
videourl="cats-short.flv"
volume="0.1"
/>
Don’t have an account yet? Register yourself now and be a part of our community!