[摘要]主要教学如何使用krpano在全景视频中加入热点,生成全景视频漫游网页,可在不同视频场景之间跳转。
努力加载中 ...
实现代码
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
<scene name="scene_1" isvideopano="true" title="场景一" onstart="" thumburl="panos/1.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="255.185" vlookat="6.815" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <plugin name="video" url.html5="%SWFPATH%/plugins/videoplayer.js" url.flash="%SWFPATH%/plugins/videoplayer.swf" pausedonstart="false" loop="false" volume="1.0" videourl.ios="panos/1.mp4" videourl.no-ios="panos/1.mp4" /> <image> <sphere url="plugin:video" /> </image> <hotspot name="spot1" style="skin_hotspotstyle" ath="122.53" atv="-13.008" linkedscene="scene_2" /> </scene> <scene name="scene_2" title="场景二" isvideopano="true" onstart="" thumburl="panos/2.tiles/thumb.jpg" lat="" lng="" heading=""> <view hlookat="95.970" vlookat="-11.774" fovtype="MFOV" fov="120.000" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" /> <plugin name="video" url.html5="%SWFPATH%/plugins/videoplayer.js" url.flash="%SWFPATH%/plugins/videoplayer.swf" pausedonstart="false" loop="false" volume="1.0" videourl.ios="panos/2.mp4" videourl.no-ios="panos/2.mp4" /> <image> <sphere url="plugin:video" /> </image> <hotspot name="spot1" style="skin_hotspotstyle" ath="122.53" atv="-13.008" linkedscene="scene_1" /> </scene> |