Posts by surfermedina

    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.

    Hi Klaus;

    In the WebVR example on Mac desktop browsers (Chrome, Safari and Firefox on Mac OSX 10.11, El Cap), it seems like videos won't stop playing once initiated.

    When you click on a video from the main window, the video plays fine. But when you click the "Home" button, the audio from the video can be heard. I suppose the video is continuing to play in the background?

    I created an example below. I didn't change any code; I only swapped the media files in the "video" folder.
    http://www.moreyummy.com/wp-content/test/examples/webvr/

    This question may have been asked before by forum user Virtuoza back in April, 2016, but I don't think it was addressed. My apologies if it was, and if so, could someone please direct me to the solution.

    Thank you.


    P.S. I may have fixed this issue, but Klaus, it would be good if you could help us validate to make sure ...


    In Line 99 of krpano_vr.xml, I noticed that the video event was ignoring desktops. So I added ".or.HTML5" to the code. Viola, problem fixed.


    <events name="video_events" devices="mobile.or.tablet.or.HTML5" keep="true"