Hello,
I just found that a video is playing just fine on ipad - but only once, then the white parent background image (the plugin bg_videobox) displays a black rectangle in the area, where the video is supposed to show up. What's happening here???
Code
<style name="video-hs" tag="hs" distorted="false" url="skin/hs_play.gif" scale="0.8" zorder="1" alpha="0.8" onhover="tween(alpha,1,0.2); tween(scale,1,0.2);showtext(klik hier,smalltext);" onout="tween(alpha,0.8,0.2); tween(scale,0.8,0.2);"/>
<plugin name="bg_videobox" url="skin/bg_video.png" scale="1" keep="true" x="0" y="0" width="740" alpha="0" parent="" handcursor="false" children="true" align="center" edge="center" enabled="false" visible="true" zorder="2"
onhover=""
onclick=""
/>
<plugin name="videobox-close" url="skin/b_closevideo.png" scale="1" keep="true" x="0" y="0" alpha="1" parent="bg_videobox" align="rightop" edge="righttop" enabled="true" visible="true" zorder="4"
onhover=""
onclick="a_popoutvideo(movie1);"
/>
<plugin name="movie1" url="%SWFPATH%/plugins/videoplayer.swf" alturl="%SWFPATH%/plugins/videoplayer.js" parent="bg_videobox" align="center" edge="center"
x="" y="" width="720" height="404" enabled="0" alpha="0" keep="true" videourl="" posterurl="" pausedonstart="false" handcursor="false" loop="" volume="1"
buffertime="0.1" ignoremetadata="false" updateeveryframe="true" onvideocomplete=""
/>
...
<scene... >
<hotspot name="hs_01-3"
ath="-120.309" atv="-9.223"
style="video-hs"
onclick="a_popupvideo(movie1,'%SWFPATH%/movies/keuken_1.mp4|keuken_1.ogv',false);"
/>
</scene>
<action name="a_popupvideo">
set(plugin[bg_videobox].visible,true);
tween(plugin[bg_videobox].alpha,1,0.5,default);
set(plugin[bg_videobox].enabled,true);
set(plugin[%1].visible,true);
plugin[%1].playvideo(%2);
tween(plugin[%1].alpha,1,0.5);
</action>
<action name="a_popoutvideo">
tween(plugin[bg_videobox].alpha,0,0.5,default);
set(plugin[bg_videobox].enabled,false);
delayedcall(0.5, set(plugin[bg_videobox].visible,false));
set(plugin[%1].visible,false);
plugin[%1].stop();
</action>
Display More
Any ideas?
Michael