Hi Tuur;
I'm having a similar problem loading multiple video scenes into a WebVR example.
A version of my code is here:
http://www.moreyummy.com/wp-content/test/examples/webvr/
Works fine on desktops, but the video won't load new "Panoramic Video" scenes on iOS. I suspect this is because I can't seem to set the variables 'videourl.ios' and 'videourl.no-ios' in the "video" plugin. But honestly, I'm not sure.
The XML file is here:
http://www.moreyummy.com/wp-content/tes…r/krpano_vr.xml
Here's a code sample for the two thumbnails calling the videos ...
Code
<scene name="video_scene" title="" onstart="ChangeVideoScene(video);" > <view hlookat="0" vlookat="0" fov="90" fovmin="60" fovmax="110" limitview="on" /> <image> <sphere url="plugin:video" /> </image> </scene> <scene name="video_scene2" title="" onstart="ChangeVideoScene(video-orig);" > <view hlookat="0" vlookat="0" fov="90" fovmin="60" fovmax="110" limitview="on" /> <image> <sphere url="plugin:video" /> </image> </scene> <action name="ChangeVideoScene" devices="desktop"> set(plugin[video].videourl.no-ios, calc:examples/webvr/%1/video-1920x960.mp4|%1/video-1920x960.webm); set(plugin[video].videourl.ios, calc:examples/webvr/%1/video-1024x512.mp4); plugin[video].playvideo(examples/webvr/%1/video-1920x960.mp4|examples/webvr/%1/video-1920x960.webm, examples/webvr/%1/video-1024x512.mp4); </action>
I'd appreciate it if someone might know what's going wrong on iOS.
Thank you.