Sie sind nicht angemeldet.

1

Mittwoch, 19. Februar 2014, 14:25

textfield.swf not working in HTML5 when renamed

Hi,

I am using krpano together with the texfield plugin in a Rails environment, where assets (and thus textfield.swf) get renamed in production environment. The XML to produce a buttonbar (taken from the "Buttons-Bar" Interface example (http://krpano.com/examples/116/examples/…buttonsbar.html) looks like this

Quellcode

1
2
3
4
5
6
<krpano>
  ...
  <layer name="buttons" keep="true" url="/assets/plugins/textfield-fa900fcdc2f44c7f12c7749cd55a544d.swf" align="bottom" width="295" height="38" y="5">
  <layer name="left" url="/assets/buttons-e415bbeb45ee6a7b2cfcbae15e0d8fa4.png" scale="0.5" align="lefttop" x="10" y="3" crop="0|192|64|64" ondown="buttonglow(get(name));set(hlookat_moveforce,-1);" onup="buttonglow(null);set(hlookat_moveforce,0);"/>
  ...
</krpano>


As krpano handles textfield.swf's functionality internally, is it possible krpano identifies this plugin by its name? So when renamed to textfield-fa900fcdc2f44c7f12c7749cd55a544d.swf that does not work any more?

Cheers,
Hennzen

2

Mittwoch, 19. Februar 2014, 16:14

Hi,

add - alturl="textfield.swf" - to use the internal textfield for html5.

Best regards,
Klaus

3

Mittwoch, 19. Februar 2014, 16:39

Lovely! Thank you so much!

It is so easy to FIND what you are looking for when you KNOW what you are looking for: Ctrl-F "alturl"
So for reference: http://krpano.com/docu/xml/#layer.alturl

cheers,
Hennzen