You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, June 14th 2018, 3:17pm

Krpano UI for Video 360

Hello,

Has anyone sucessfullyimplementated the Ui for use in the 360 Video?
We are looking to use the same UI normally done for panos, and have 2 videos which would be great to navigate through like a normal tour.
Thanks in advance,
Jacques

2

Thursday, June 14th 2018, 3:28pm

yes of course, there are a lot of examples of 360 video

3

Thursday, June 14th 2018, 7:44pm

Hi,

the default vtourskin.xml has already a build-in UI for video panos.

Just define a video pano inside a scene and add isvideopano="true" to the <scene> element, e.g.

Source code

1
2
3
4
5
6
7
<scene ... isvideopano="true">
   ...
   <image>
      <sphere url="plugin:video" />
   </image>
   ...
</scene>


Best regards,
Klaus

4

Tuesday, June 19th 2018, 11:41am

Dear Kaus,

how

Quoted

isvideopano="true"

affects the video player?

greetz
mil

5

Tuesday, June 19th 2018, 1:40pm

Hi,

how do you mean that?
And which videoplayer?

That setting only tells the skin (the vtourskin.xml) that this scene is a videopano - and so the skin will show video-controls (e.g. like a seek-bar) for controlling it.

Best regards,
Klaus

6

Tuesday, June 19th 2018, 2:35pm

You recomend to use this here:
Hi,

the default vtourskin.xml has already a build-in UI for video panos.

Just define a video pano inside a scene and add isvideopano="true" to the <scene> element, e.g.

Source code

1
2
3
4
5
6
7
<scene ... isvideopano="true">
   ...
   <image>
      <sphere url="plugin:video" />
   </image>
   ...
</scene>


Best regards,
Klaus
i didn't find any place where this scene arg would be reffered.

7

Tuesday, June 19th 2018, 3:01pm

Have a look in the vtourskin.xml into the 'skin_update_scene_infos' action - there is this part:

Source code

1
2
3
4
5
if(scene[get(xml.scene)].isvideopano AND plugin[video] !== null,
	skin_video_addcontrols();
  ,
	skin_video_removecontrols();
  );

8

Tuesday, June 19th 2018, 3:05pm

thank you Klaus!!