Ahh, thanks Klaus. I guess I'll just use another distorted hotspot to call up as a faux-poster once the video is done.
Beiträge von mds
-
-
I'm trying to show the posterurl after the video is complete without using an additional plugin or layer. Can you help?
-
Here's what I've got so far. Just need an action now to make the pieces size and position properly.
Code
Alles anzeigen<textstyle name="textstyle" font="Helvetica" fontsize="14.0" bold="true" italic="false" background="false" backgroundcolor="0x000000" backgroundalpha="0" border="false" bordercolor="0x000000" textcolor="0xFFFFFF" alpha="1.0" blendmode="normal" effect="dropshadow(1,90,0x000000,2,1);" origin="cursor" edge="bottom" textalign="topcenter" xoffset="0" yoffset="-25" showtime="0.1" fadetime="0.25" fadeintime="0.25" noclip="true" /> <plugin name="textbg" url="textbgblank.png" align="center" x="0" y="0" visible="true" keep="true" alpha=".5" /> <plugin name="textbgleft" url="textbgleft.png" parent="textbg" align="topleft" x="-48" y="" visible="true" keep="true" /> <plugin name="textbgmid" url="textbgmid.png" parent="textbg" align="center" x="0" y="0" visible="true" keep="true" width="72"/> <plugin name="textbgright" url="textbgright.png" parent="textbg" dalign="topright" x="-48" y="" visible="true" keep="true" /> <plugin name="textbgarrow" url="textbgarrow.png" parent="textbg" align="bottomcenter" x="0" y="-7" visible="true" keep="true" />
-
Hey krpanoers,
Any ideas on the best way to create this:
By using the bg pieces like this:
Can showtext do that or would I need to go the textfield.swf route?
Thanks!!
-
Ah yes, doh! Weird indeed.
-
I've used this successfully.
Code<events onpreviewcomplete="showintro(); set(events.onmousedown,onviewhide()); set(events.onkeydown,onviewhide()); copy(cur_fov,view.fov); copy(cur_hlookat,view.hlookat); copy(cur_vlookat,view.vlookat);" />
Your problem may have something to do with attaching set(fullscreen,true); to an event rather than a button. Not sure though...
-
Perhaps you should post a helpful "default settings" suggestion in the Feature Requests thread.
-
Something that would be incredibly useful for me would be to see the ath & atv of a hotspot while I'm moving it around with the editor. Would be even better if I could click a button beside the hotspot labeled "copy position" and it would copy the code below to my clipboard. Then I could just plug it in to my main xml quickly.
-
Zephyr is definitely a KR guru. Hire him for sure. Hopefully I'll have some work to send him soon.
-
-
You can easily create your own default settings for your panos.
-
How would I change <image url> in the code below.
Something like this, but this doesn't work
See actual working plugin code here.
Code
Alles anzeigen<plugin name="gallery" devices="flash" url="../assets/gallery.swf" xmlurl="chesed.xml" keep="true" align="topleft" visible="true" handcursor="false" zorder="50" x="0" y="160" showing="true" > <thumbstrip space="100" speed="0.2" color="0xeedd99" barcolor="0x444444"> <item> <image url="../armenian/panos/set1.tiles/mobile_f.jpg" /> <text>Facade</text> <pano>load1</pano> </item> <item> <image url="../armenian/panos/set2.tiles/mobile_f.jpg" /> <text>Outside</text> <pano>load2</pano> </item> <item> <image url="../armenian/panos/set3.tiles/mobile_f.jpg" /> <text>Hall</text> <pano>load3</pano> </item> </thumbstrip> </plugin>
-
ah good to know, thanks again!
-
Tried using <include url="base.xml" /> and it throws an error on my iPhone. "base.xml - xml parsing failed"
Is this not supported? I didn't see it listed in the unsupported functionality section on the site.
-
Ah (get)! simple mistake, thanks!
-
Have any ideas why "zoomto(curfov,smooth());" is not working. The variable curfov isn't getting passed. I've dug through a bunch of variable, dereferencing, etc. threads and haven't come up with a good way to solve this.
Code
Alles anzeigen<hotspot onclick="openmodal" /> <action name="openmodal"> set(curfov,get(view.fov)); looktohotspot(get(name), %1, smooth(800,800,800)); set(plugin[modalclose].visible, true); </action> <action name="closemodal"> set(plugin[modalclose].visible, false); zoomto(curfov,smooth()); </action>
-
Oh, wait. Now it's working! Perhaps I didn't refresh. Thanks Zephyr!
-
If I try below, it comes up as undefined
Code
Alles anzeigen<hotspot name="hs" url="hs.png" keep="false" ath="-15" atv="-23" onclick="openmodal();" /> <action name="openmodal"> looktohotspot(get(name), 25, smooth(800,800,800)); js(modalopen(get(name))); set(plugin[modalclose].visible, true); </action>
js -
oops double posted
-
Well I need the name of the hotspot to become my JS var hotspotID. Trying to set hotspotID with the current hotspot[name].