I embedded a YouTube video by referring to Inline Video Players.
I changed the setting of littleplanetintro to "true".
It worked correctly.
krpano - 2102223_AMU_PANO_007
I described the hotspot settings in the <scene> tag as shown in the sample.
<scene name="scene_2102223_AMU_PANO_007" title="2102223_AMU_PANO_007" onstart="" thumburl="panos/2102223_AMU_PANO_007.tiles/thumb.jpg" lat="" lng="" alt="" heading="">
<control bouncinglimits="calc:image.cube ? true : false" />
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/2102223_AMU_PANO_007.tiles/preview.jpg" />
<image>
<cube url="panos/2102223_AMU_PANO_007.tiles/%s/l%l/%0v/l%l_%s_%0v_%0h.jpg" multires="512,640,1152,2304,4736" />
</image>
<!-- Youtube hotspot -->
<hotspot name="youtubespot"
url="youtube_icon.png"
scale="2.5"
zoom="true"
ath="+26.5" atv="0"
onclick="looktohotspot(get(name),90); youtubeplayer_open('QfCKecmPzKU');"
/>
</scene>
Display More
Next, I modified the hotspot settings to load via include.
When I played it, during the expansion from the little planet view, it ends up facing towards the bottom.
krpano - 2102223_AMU_PANO_007
It seems that this symptom occurs when loading the hotspot via include instead of directly describing it within the <scene> tag.
<scene name="scene_2102223_AMU_PANO_007" title="2102223_AMU_PANO_007" onstart="" thumburl="panos/2102223_AMU_PANO_007.tiles/thumb.jpg" lat="" lng="" alt="" heading="">
<control bouncinglimits="calc:image.cube ? true : false" />
<view hlookat="0.0" vlookat="0.0" fovtype="MFOV" fov="120" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/2102223_AMU_PANO_007.tiles/preview.jpg" />
<image>
<cube url="panos/2102223_AMU_PANO_007.tiles/%s/l%l/%0v/l%l_%s_%0v_%0h.jpg" multires="512,640,1152,2304,4736" />
</image>
<include url="youtubespot.xml" />
</scene>
------------------------------------------------------------------------------------------------------------------------
<krpano>
<!-- youtubespot.xml -->
<hotspot name="youtubespot"
url="../icon/skin_add/youtube_icon"
zoom="true"
ath="-1.40779483752436" atv="-0.03737372677134" scale="0.26000000000000"
onclick="looktohotspot(get(name),90); youtubeplayer_open('Z_uyJJubvEI');"
/>
</krpano>
------------------------------------------------------------------------------------------------------------------------
Display More
in the tour I am currently creating, there are a large number of hotspots. Therefore, I would like to avoid directly configuring the hotspots in the tour.xml file and instead load them via an include file, if possible.
Is there any solution for this?
Please help me.