Hi Guys
I have a video as my 1st scene and the plugin tag looks like so:
<plugin name="video"
url.html5="%SWFPATH%/plugins/videoplayer.js"
posterurl="vids/2K_0000.jpg"
videourl="vids/start.mp4"
panovideo="true"
loop="false"
devices="panovideosupport"
pausedonstart="false"
onvideoready="play();"
onvideocomplete="loadscene(scene_2K_0050,null,KEEPBASE|NOPREVIEW,BLEND(2))"
/>
Display More
So a few things.
1) I can't get it to autoplay, no matter what I do. (This should also autoplay on mobile by the way)
The onvideoready doesnt do anything and doesnt play it when its ready for example. But I shouldnt need it, it should just play.
This example does autoplay, but I cant get mine to autoplay:
https://krpano.com/plugins/videoplayer/source/example.html
2) Then next, if I click on the video, then it plays. I had to in the vtourskin.xml comment out the "onvideocomplete" event, otherwise mine above did not work.
3) When it loads my new scene after the video ends, I want the lookat to be the same as whatever the angle was the video was turned to, and not reset to the default hlookat="0.0" vlookat="0.0"
Any comments would be greatly appreciated