Can anyone help explain why the ecard and intro image wont work? hmmmm...
Preview can be seen here
http://www.itsrich.info/360vr/san-fran…pixel-panorama/
Code
<krpano version="1.0.8.15" title="San Francisco Giga Pano" onstart="startup();">
<include url="skin/vtourskin.xml" /> <include url="ecard.xml" />
<!-- set skin settings: bingmaps? gyro? --> <skin_settings bingmaps="true" bingmaps_key="Ats0yPPxPuvO-QiObm5EP5IXI3gtZ7J41vsMx6XS4E6KFFDJ7cK3IXGoidqeQvZX" bingmaps_zoombuttons="true" gyro="true" thumbsopened="false" tooltips_thumbs="false" tooltips_hotspots="false" tooltips_mapspots="false" controlbar_offset="20" />
<!-- set optional skin logo url --> <layer name="skin_logo" url="itsrichlogo.png" align="leftbottom" height="40" width="100" x="10" y="20" zorder="3" opened_onclick="openurl('http://www.richhartphoto.com',_blank);" />
<action name="startup"> if(startscene === null, copy(startscene,scene[0].name)); loadscene(get(startscene), null, MERGE); </action>
<plugin name="introimage" url="intro-interactive-giga.png" align="center" onclick="hideintroimage();"/><action name="hideintroimage">if(plugin[introimage].enabled, set(plugin[introimage].enabled,false);tween(plugin[introimage].alpha, 0.0, 0.5, default, removeplugin(introimage)); );</action><action name="autohideintroimage">if(plugin[data].introImageHasBeenPlayed==false, set(plugin[introimage].alpha,0); tween(plugin[introimage].alpha,1.0,WAIT);delayedcall(5, hideintroimage() ); set(plugin[data].introImageHasBeenPlayed,true););</action>
<scene name="scene_san-francisco-giga-from-twinpeaks" title="" onstart="" thumburl="panos/san-francisco-giga-from-twinpeaks.tiles/thumb.jpg" lat="37.75328" lng="-122.44741" heading="" devices="flash">
<view hlookat="-54.536" vlookat="0.000" fovtype="MFOV" fov="78.303" maxpixelzoom="2.0" fovmin="70" fovmax="140" limitview="auto" />
<preview url="panos/san-francisco-giga-from-twinpeaks.tiles/preview.jpg" />
<image type="CYLINDER" multires="true" tilesize="512" progressive="true"> <level tiledimagewidth="260404" tiledimageheight="33493"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l7_%v_%h.jpg" /> </level> <level tiledimagewidth="130202" tiledimageheight="16747"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l6_%v_%h.jpg" /> </level> <level tiledimagewidth="65101" tiledimageheight="8374"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l5_%v_%h.jpg" /> </level> <level tiledimagewidth="32551" tiledimageheight="4187"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l4_%v_%h.jpg" /> </level> <level tiledimagewidth="16276" tiledimageheight="2048"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l3_%v_%h.jpg" /> </level> <level tiledimagewidth="8192" tiledimageheight="1024"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l2_%v_%h.jpg" /> </level> <level tiledimagewidth="4096" tiledimageheight="512"> <cylinder url="panos/san-francisco-giga-from-twinpeaks.tiles/l1_%v_%h.jpg" /> </level> </image>
<!-- place your scene hotspots here -->
</scene>
<plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" configpath="configuration.xml" imagearea="" formsize="" borderwidth="600" borderheight="400" usefinderresize="false" useimagelayer="true" closeinside="true" jpgcompress="80" swfaddressname="" bitlyname="" useshares="true" shareurl="" /> </krpano>
Alles anzeigen
Code
<krpano logkey="false">
<!--Plguin-Manual:==============You can set all attributes (exclude language parameters) as krpano plugin parameters.The design and language parameters can be set in the xml file.
scriptpath = relative path to the ecard.php file - REQUIREDconfigpath = relative path to the external xml file (relative from krpano.swf)
imagearea = area mode (finder [default] | border | fullscreen)formsize = reduced the size of the plugin and his screens (small)borderwidth = width (px) of the border (partial view)borderheight = height (px) of the border (partial view)usefinderresize = redraws the finder, if screensize/stagesize was changed (false [default] | true)useimagelayer = uses the krpano image-layer to capture the screen (false [default] | true)closeinside = shows a inside "close-button" this calls the hideecard()-function (false [default] | true | all) (true = only at the response screen | all = at all screens)jpgcompress = sets the jpg quality for the flash method (eq. 80)
swfaddressname = set the name of your swfaddress-plugin (plugin from jaydee)useshares = shows the share buttons share the pano view as url for social sites (false [default] | true)shareurl = define your pano url with/without the e-card placeholder #panoath# | #panoatv# | #panofov# | #xmlscene# | #xmlurl# (eq. http://www.domain.com/?ath=#panoath#&atv=#panoatv#& fov=#panofov#&scene=#xmlscene#&url=#xmlurl#) Note: if set the swfaddressname, the shareurl is permanently set to the swfaddress fullurlescapedbitlyname = set the name of your bitly-plugin (plugin from jaydee) this uses shorten urls to share with...-->
<plugin name="ecard" url="ecard.swf" scriptpath="ecard.php" configpath="configuration.xml" imagearea="" formsize="" borderwidth="600" borderheight="400" usefinderresize="false" useimagelayer="true" closeinside="true" jpgcompress="80" swfaddressname="" bitlyname="" useshares="true" shareurl="" /> <plugin name="ecardbtn" url="ecard_btn1.png" align="leftbottom" x="50" y="20" onclick="show()" onhover="showtext(Open e-card);" /> <action name="show"> plugin[ecard].showecard(); set(plugin[ecardbtn].url, ecard_btn2.png); set(plugin[ecardbtn].onhover, showtext(Close e-card)); set(plugin[ecardbtn].onclick, hide()); </action> <action name="hide"> plugin[ecard].hideecard(); set(plugin[ecardbtn].url, ecard_btn1.png); set(plugin[ecardbtn].onhover, showtext(Open e-card)); set(plugin[ecardbtn].onclick, show()); </action>
</krpano>