You are not logged in.

  • "danny_wildlife" started this thread

Posts: 7

Location: Los Angeles

Occupation: Developer @ wildlife.la

  • Send private message

1

Tuesday, May 10th 2016, 11:22pm

Videos only play once.

Does anybody have any ideas how to make the 360 videos play more than once in the WebVR example?

Affects: Desktop (Chrome, Safari, Firefox), Android, iOS
Steps to recreate the bug:

1. Load the WebVr Example
2. Click the Panoramic Video hotspot on the right.
3. The pano scene loads and plays the 360 video as expected.
4. Drag the video to look down and tap on the "Home" button
5. Return to WebVR menu
6. Click the Panoramic Video hotspot again.
7. Expected: Video plays normally.
Actual: Video's audio plays, but the screen remains black.

Thank you ahead of time. The only thing I can think of is using IGNOREKEEP to destroy the scene. However, that kicks you out of VR mode if you were previously in it. Here's a snippet of the home button action in krpano_vr.xml.

Source code

1
2
3
4
5
6
7
<action name="vr_menu_loadhome">
set(basedir, '');		
plugin[video].pause();//Pause the video here or else it keeps playing in the background.		
loadpano(get(startupxml), null, IGNOREKEEP);	
set(webvr.worldscale,1.0);
vr_menu_setvisibility(false);
</action>

This post has been edited 1 times, last edit by "danny_wildlife" (May 10th 2016, 11:40pm)


2

Tuesday, May 17th 2016, 11:42am

Hi,

that will be fixed soon in the next release (1.19-pr5).

Best regards,
Klaus