hotspot video stalls on action from onstart,...but works on refresh,....help please

  • given up,....onstart action is making calls to pan and start hotspot video,...usaully stalls at screen, sometimes works, but then seems to fully work on refresh,..is it a bug, code error on deficiency on my part,...appreciate the look and any expert help. Thanks.

    http://www.cthomes4sale.com/passengercoach/passengercoach.html

    Rob

    <krpano version="1.0.8" onstart="playsound(pass,passengercoachdata/sounds/sound0.mp3,1,action(startmovie))">


    <panoview h="-90.16" v="0" fov="80"/>
    <view fisheye="0" limitview="lookat" vlookatmin="-90" vlookatmax="90" fovmin="60.01" fovmax="90" fov="80" hlookat="-90.16" vlookat="0"/>
    <progress showload="none" showwait="none"/>
    <autorotate horizon="0" tofov="80"/>
    <preview url="passengercoachdata/passengercoach0/preview.jpg"/>
    <image type="CUBE" multires="true" tilesize="705" baseindex="0">
    <level tiledimagewidth="1409" tiledimageheight="1409">
    <left url="passengercoachdata/passengercoach0/3/1/%v_%u.jpg"/>
    <front url="passengercoachdata/passengercoach0/0/1/%v_%u.jpg"/>
    <right url="passengercoachdata/passengercoach0/1/1/%v_%u.jpg"/>
    <back url="passengercoachdata/passengercoach0/2/1/%v_%u.jpg"/>
    <up url="passengercoachdata/passengercoach0/4/1/%v_%u.jpg"/>
    <down url="passengercoachdata/passengercoach0/5/1/%v_%u.jpg"/>
    </level>
    <level tiledimagewidth="705" tiledimageheight="705">
    <left url="passengercoachdata/passengercoach0/3/0/%v_%u.jpg"/>
    <front url="passengercoachdata/passengercoach0/0/0/%v_%u.jpg"/>
    <right url="passengercoachdata/passengercoach0/1/0/%v_%u.jpg"/>
    <back url="passengercoachdata/passengercoach0/2/0/%v_%u.jpg"/>
    <up url="passengercoachdata/passengercoach0/4/0/%v_%u.jpg"/>
    <down url="passengercoachdata/passengercoach0/5/0/%v_%u.jpg"/>
    </level>
    </image>


    <hotspot name="spot0" zorder="11" borderwidth="15" bordercolor="0xFFFFFF" onvideocomplete="set(hotspot[videoplay].visible,true);set(autorotate.enabled,true);" handcursor="false" loop="false" visible="true" pausedonstart="true" url="passengercoachdata/graphics/videoplayer.swf" videourl="passengercoachdata/graphics/spots/spot0.flv" onclick="togglepause()" distorted="true" ath="-97.3297" atv="-23.303398" width="220" height="167" rx="-25.00" ry="3.000" rz="-1.5"/>


    <action name="startmovie">
    set(hotspot[spot0].visible,true);
    moveto(-91.649,-2.1429,linear(10));
    set(hotspt[spot0].pausedonstart,false);
    hotspot[spot0].play();
    set(autorotate.enabled,false);
    </action>

    <action name="start">

    hotspot[spot0].play();

    </action>

    <hotspot name="videoplay" zorder="11" visible="false" handcursor="true" url="passengercoachdata/playvideo.png" onclick="set(hotspot[videoplay].visible,false);action(startmovie);" ath="261.649" atv="-23.1429" width="30" height="30"/>
    </krpano>

  • In addition,...ideally i like to have the video visible=false at start,...but with that code the viseo wont even play,...and the action command seems to get buggy,.....lastly,.is there a way to get rid of the black background of the video at start and when it finishes so that it is tranparent

    Rob

Participate now!

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