Guten Morgen,
I am receiving the error 'WARNING: unknown action: playvideo' on mobile devices only. The desktop plays the video just fine.
The weirdest part about this error is that even when I revert to previous saves where I know 'playvideo' worked, I still receive the error. In fact, this was working yesterday morning when I finished coding and it only began to not work later that night when no code was changed on my end.
the playvideo action is described here: https://krpano.com/plugins/videoplayer/#playvideo
and here is where I call it, where the error is thrown.
<hotspot name="featured_panorama"
distorted="true"
url="http://beta.vr.meventi.de/panorama/78/featured_thumb.png"
ty="375" tx="-860"
rx="0.0" ry="-15.0" rz="0.0"
scale="1.08"
depth="1300"
onover="tween(depth,1260);" onout="tween(depth,1300);"
onclick="changepano( loadscene(video_scene, null, MERGE|KEEPVIEW|KEEPMOVING, BLEND(1)); ); ifnot(device.ios, set(plugin[video].videourl, /panorama/78/video-1920x960.mp4); , set(plugin[video].videourl, /panorama/78/video-1344x672.mp4|/panorama/78/video-iphone-sound.mp3);); ifnot(device.ios, plugin[video].playvideo(/panorama/78/video-1920x960.mp4); , playvideo(/panorama/78/video-1344x672.mp4|/panorama/78/video-iphone-sound.mp3);); plugin[video].play(); hide_all_videos();"
/>
<plugin name="video" keep="true"
url.flash="%SWFPATH%/plugins/videoplayer.swf"
url.html5="%SWFPATH%/plugins/videoplayer.js"
videourl.no-ios="/panorama/%$panoId%/video-1920x960.mp4|/panorama/%$panoId%/video-1920x960.webm"
videourl.ios="/panorama/%$panoId%/video-1344x672.mp4|/panorama/%$panoId%/video-iphone-sound.mp3"
loop="true"
pausedonstart="true"
visible="false"
use_as_videopano="true"
/>
Note that plugin[video].play(); does work on mobile devices
Ian,
Using 1.19 pr3