Looktohotspot fires, and video plays but without sound. Moving the panorama enables sound instantly.
Certain ath / atv values have no problem.
setting directionalsound="false" works.
1.7pre
older krpano versions were the same. Plugins updated.
FLV/MP4 No difference.
Removing the delayedcall results in sound until looktohotspot stops.. Hmmmm
There's also no donecall for this action. Faking moving with moveforce combinations works after the looktohotspot.
Code
<hotspot name="videoplayer_play_b"
devices="flash"
scale=".03"
atv="-11.2"
ath="141.95"
rx="-10"
ry="-8"
rz="2"
zorder="99"
autoalpha="true"
url="%SWFPATH%/videos/playtrans.png"
align="center"
keep="true"
enabled="true"
distorted="true"
capture="false"
onclick="tween(alpha,0);delayedcall(0.5,hotspot[videoplayer_b].play());tween(hotspot[videoplayer_b].alpha,1);looktohotspot(videoplayer_b, 10, smooth(200,-50,200));"
/>
<hotspot
name="videoplayer_a"
url="%SWFPATH%/plugins/videoplayer.swf"
alturl="%SWFPATH%/plugins/videoplayer.js"
atv="11.72"
ath="29.59"
buffertime="0"
distorted="true"
capture="false"
directionalsound="true"
videourl="video.mp4"
onclick="togglepause();" align="center" keep="true" alpha="0" autoalpha="true" visible="false" handcursor="true" pausedonstart="true"
onvideocomplete="stop();tween(hotspot[videoplayer_a].alpha,0);tween(plugin[overlay].alpha,0);tween(hotspot[videoplayer_play_a].alpha,1);"
/>
Display More