Hi,
I am trying to embed a video via the videoplayer plugin. It works perfect on desktop browsers, a bit buggy on mobile browsers but not in VR Mode.
My question is:
- Is it generally possible to use the videoplayer plugin to put a playable video somewhere in an panoramic image via hotspot and see it in VR (on Google Cardboard)?
- If yes (my code follows) - what am I doing wrong?
- If no, how can I do this?
I use the beta Version of the VR enabled krpano (1.19)
I found solutions like distorted true (also in the skin file for hotspots ...). Didn't work out :(
Code:
ZitatAlles anzeigen<scene name="scene_PANO_00050469-Photosphere_b_bridge" title="PANO_00050469-Photosphere_b_bridge" onstart="" thumburl="panos/PANO_00050469-Photosphere_b_bridge.tiles/thumb.jpg" lat="" lng="" heading="">
<view hlookat="0.564" vlookat="-3.402" fovtype="MFOV" fov="128.086" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/PANO_00050469-Photosphere_b_bridge.tiles/preview.jpg" />
<!-- the scene bg image -->
<image stereo="true">
<cube url="panos/PANO_00050469-Photosphere_b_bridge.tiles/pano_%s.jpg" />
<mobile>
<cube url="panos/PANO_00050469-Photosphere_b_bridge.tiles/mobile_%s.jpg" />
</mobile>
</image><!-- some other hotspots -->
<hotspot name="spot1" style="skin_hotspotstyle" ath="0.000" atv="0.000" linkedscene="scene_pano_00050469-photosphere_b_bridge" /><!-- HERE MY VIDEO HOTSPOT -->
<hotspot name="video1" style="skin_vrvideostyle" stereo="true" stereoformat="SBS"
url.flash="plugins/videoplayer.swf"
url.html5="plugins/videoplayer.js"
videourl="videos/Balkendiagram.mp4|videos/Balkendiagram.m4v|videos/Balkendiagram.WebM"ath="90.657" atv="-0.326"
distorted="true"
scale="0.5"
rx="0.0"
ry="0.0"
rz="0.0"
pausedonstart="false"
loop="true"
volume="1.0"
directionalsound="true"
range="90.0"
rangefalloff="1.0"
outofrangevolume="0.0"
preferredformat=""
buffertime="0.1"
ignoremetadata="false"
onvideoready=""
onvideoplay=""
onvideopaused=""
onvideocomplete=""
/> </scene>
Thanks in advance :)