Sie sind nicht angemeldet.

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

1

Dienstag, 20. August 2013, 02:00

Panoramic Video "Scene"

Is it possible to create a Scene with a Panoramic Video as the "image"?
I've played with this a bit but have gotten nowhere.
Every time I wrap an image / hotspot pair with a Scene tag the image is flattened out.
The video plays but the ability to pan around disappears.

Examples....

Plays but is flattened:
<scene name="scene" onstart="">
<view fov="70" fovmin="30" fovmax="100" />
<image hfov="360" vfov="180" devices="flash">
<sphere url="plugin:video" />
</image>
<hotspot name="spot_zoombild" style="zoomspot" ath="90" atv="3.2" scale="0.60" zorder="1" />
</scene>


Plays as expected with pan-ability:
<view fov="70" fovmin="30" fovmax="100" />
<image hfov="360" vfov="180" devices="flash">
<sphere url="plugin:video" />
</image>
<hotspot name="spot_zoombild" style="zoomspot" ath="90" atv="3.2" scale="0.60" zorder="1" />

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

2

Dienstag, 20. August 2013, 03:02

Found a couple of examples of this, so I know it is possible.
Just can't seem to figure out what I'm leaving out to get this to behave as a panorama and not flatten out.

3

Dienstag, 20. August 2013, 09:16

Are you watching the tour in the Flash version? (right-click?)
The video pano would only work in Flash.

e.g. try html5=auto or html5=fallback in the html file.

Best regards,
Klaus

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

4

Sonntag, 25. August 2013, 19:35

Klaus, still do not have this working....

Klaus,

I have to be missing something basic here.
But then again maybe not.

I took the example that comes with the KRPano viewer download, "videointerface", and wrapped the <image> with <scene> opening and closing tags and the 360 video flattens out.
Just adding the <scene> tags causes this behavior.

Here is the relevant code from the modified example.

<!-- define the pano image and get the pano video from the videoplayer plugin (flash only) -->

<scene name="scene_video" title="Video" onstart="">
<image hfov="360" vfov="180" devices="flash">
<sphere url="plugin:video" />
</image>


<!-- the startup view settings -->
<view hlookat="+51" vlookat="0" fov="130" fovtype="HFOV" />
</scene>

All I did was add the <scene> tags. Nothing else.
Once I remove the <scene> tags the 360 video plays as expected.

What am I missing here? *confused*

5

Donnerstag, 29. August 2013, 19:07

Hi,

when you wouldn't load the scene then the there is no pano <image> with the 'plugin:video' reference and so the videoplayer plugin will show the video just normally.

That means you would also need to put everything else (videoplayer plugin + skin) into the <scene> and then also load that scene.

Best regards,
Klaus

Douglas Rhiner

Fortgeschrittener

  • »Douglas Rhiner« ist der Autor dieses Themas

Beiträge: 141

Wohnort: San Anselmo, CA

Beruf: Code-Slave

  • Nachricht senden

6

Donnerstag, 5. September 2013, 02:16

Thanks!!!

7

Donnerstag, 21. Mai 2015, 12:17

Hi
I have similar problems in my project.

1)
As descibed, when I dont include the videoplugin and skin into the scene, video flattens out.
<plugin name="video" ..... />
<scene name="video_scene" ...>
<image hfov="360" vfov="180" devices="panovideosupport">
<sphere url="plugin:video" />
</image>
<view hlookat="0" .... />
<scene>

2)
When I include the videoplayer and skin in the <scene> tags I just get a black screen:
<scene name="video_scene" ...>
<plugin name="video" ..... />
<image hfov="360" vfov="180" devices="panovideosupport">
<sphere url="plugin:video" />
</image>
<view hlookat="0" .... />
<scene>

3)
When I use an external xml file (with the structure like decribed in 2) and I will include that scene in my main xml file <include url="../xxx/xxx/video.xml" /> then the video, navigation and hotspots works correcty, but I have a "loading..." message on my screen.

Cant find a solution for that and happy for help..

Best
Peter