Hi,
This is one I haven't come across it before.
I have a scene of an helicopter sat in it's original position in a museum.
On the top right there's a png plugin titled 'View Simulated Version' that when clicked loads an edited version of the scene, changes the plugin to show 'View Regular Version' , automatically starts playing a background sound of rotors and adds a toggle sound icon to the bottom bar for those that can take no more
Here's the next scene.
All works fine If I navigate to each of these scenes using either the thumbnails bar, arrow hotspots or a map marker. Problem is I need to send out some url links that go directly to these scenes and are something like http://www.mywebsite.com/tour/#/scene_hueysim/
If I copy and past that url into the browser address bar and hit enter then the scene loads, the sound starts but I lose those additional plugins as shown below. No 'View Regular Version' and no toggle sound at the bottom but all the other plugins are being displayed fine.
What would be preventing the pluginsfrom loading as they should do just because the page is linked to directly? The same thing happens when the same page is reloaded/ refreshed, the plugins disappear
Here's the code for the simulated scene and nothing complicated.
Any help is greatly appreciated so I can finish this tour off and make it live.
Thanks
Andrew
<scene name="scene_aircraft1" title="" onstart="" thumburl="panos/aircraft1.tiles/thumb.jpg" tag="info_1" map="m1" mapx="" mapy="" heading="">
<view hlookat="0" vlookat="0" fovtype="MFOV" fov="120" maxpixelzoom="1.0" fovmin="70" fovmax="100" limitview="auto" />
<preview url="panos/aircraft1.tiles/preview.jpg" />
<image type="CUBE" multires="true" tilesize="512" progressive="false">
<level tiledimagewidth="512" tiledimageheight="512">
<cube url="panos/aircraft1.tiles/%s/l3/%v/l3_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="1024" tiledimageheight="1024">
<cube url="panos/aircraft1.tiles/%s/l2/%v/l2_%s_%v_%h.jpg" />
</level>
<level tiledimagewidth="2048" tiledimageheight="2048">
<cube url="panos/aircraft1.tiles/%s/l1/%v/l1_%s_%v_%h.jpg" />
</level>
<mobile>
<cube url="panos/aircraft1.tiles/m_%s.jpg" />
</mobile>
</image>
<!-- place your scene hotspots here -->
<!-- START CODE FOR SOUND -->
<!-- start playing the sound -->
<events name="currentpano"
onnewpano="playsound(bgsnd, 'sounds/aircraftexterior.mp3|sounds/aircraftexterior.ogg', 0);"
onremovepano="stopsound(bgsnd);"
/>
<!-- button to pause the sound -->
<plugin name="snd" style="skin_base|skin_glow" crop="0|386|64|72" zorder="8" align="bottomleft" x="380" y="-9"
onloaded="if(ismobile,set(scale,1));"
devices="all"
scale="1.0"
alpha="1.0"
onclick="pausesoundtoggle(bgsnd); switch(crop, 0|386|64|72, 64|386|64|72);"
/>
<!-- END CODE FOR SOUND -->
<!-- BUTTON TO REVERT BACK TO REGULAR SCENE AND KEEP VIEW -->
<layer name="viewregular" url="skin/view_regular.png" align="topright" keep="true" x="10" y="70" scale="1.0"
onclick="loadscene(scene_22, null, KEEPVIEW, BLEND(1));"/>
</scene>
Display More