I can`t stop the video ...

  • Hy,

    I've searched the forum but I found a good solution...

    I can`t stop the movie and it`s not playing when it`s opened.
    [size=10]

    <plugin name="spot1" url="hotspots_on.png" scale="1" alpha="1" zorder="2" origin="bottom" width="150" edge="center" y="70" x="-148" state="closed" onhover="showtext(Show Video);" onclick="action(play_video)"/>
    <plugin name="spot2" url="videoStop.png" scale="1" alpha="1" zorder="2" origin="bottom" width="150" edge="center" y="70" x="68" state="closed" onhover="showtext(Hide Video);" onclick="plugin[video].stop();"/>
    <action name="play_video">
    set(plugin[videospot].visible,true); set(plugin[videospot].resume()); set(plugin[info_video].alpha,0); set(plugin[info_video].textblur,15); set(plugin[info_video].blur,15); set(plugin[info_video].visible,true); set(plugin[info_video].enabled,true); tween(plugin[info_video].alpha,0.75,0.3); tween(plugin[info_video].textblur,0,0.3); tween(plugin[info_video].blur,0,0.3); set(plugint[videospot].alpha,0; set(plugin[videospot].blur,15; set(plugin[videospot].enabled,true; tween(plugin[videospot].alpha,0.75,0.3); tween(plugin[videospot].textblur,0,0.3); tween(plugin[videospot].blur,0,0.3);
    </action>
    <action name="hide_video">
    set(plugin[videospot].visible,false); tween(plugin[info_video].alpha,0,0.5); tween(plugin[info_video].textblur,0,0.5); tween(plugin[info_video].blur,0,0.5);delayedcall(0.5, set(plugin[info_video].visible,false); tween(plugin[videospot].alpha,0,0.5); tween(plugin[videospot].textblur,0,0.5); tween(plugin[videospot].blur,0,0.5);
    </action>
    <plugin name="videospot" url="plugins/videoplayer.swf" videourl="2.flv" altvideourl="2.flv" align="center" keep="false" ath="0" atv="0" zoom="false" distorted="false" width="320" height="180" scale="1.1339506501468726" scale9grid="" scalechildren="false" rotate="0" rx="0" ry="0" rz="0" edge="center" ox="" oy="" crop="" ondowncrop="" onovercrop="" visible="false" enabled="true" handcursor="true" capture="true" zorder="2" alpha="1.00" smoothing="true" refreshrate="auto" onhover="showtext(Video of Geysir);" onclick="togglepause();" buffertime="0.1" directionalsound="true" ismovie="false" ispaused="true" loop="true" onvideocomplete="" pausedonstart="true" range="300" updateeveryframe="true" volume="1"/>
    <plugin name="info_video" url="plugins/textfield.swf" zorder="1" keep="false" html="data:info_html" css="p{color:#FFFFFF; font-family:Arial; font-size:18; margin:15; text-align:center; }h2{color:#53a6c4;font-family:Arial; font-size:20; margin:15; text-align:center; font-weight:bold}h3{color:#FFFFFF;font-family:Arial; font-size:16; margin:15; text-align:center; }h4{color:#cccccc;font-family:Arial; font-size:12; margin:15; text-align:center; }" visible="false" children="true" scalechildren="true" width="500" height="500" backgroundcolor="0x000000" roundedge="5" shadow="1" borderwidth="0" glow="4" blur="5" textblur="50" textglow="4" textglowcolor="0x555555" align="center" x="0" y="0" autosize="center" onclick="action(hide_video);"/>
    <data name="info_html">
    <p>
    <br/>
    <h2>Video will appear here</h2>
    </p>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <br/>
    <a href="event:action(hidewindow,htmltext);action(showbutton);">close window</a>
    <br/>
    <br/>
    </data>
    What is the problem? I can hear the sound ... *unsure*</plugin></plugin></plugin></plugin>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!