Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Donnerstag, 15. Februar 2018, 16:49

How to use an encrypted js file?

Hi all!

I see in the documentation that the Encrypt Tool can be used to encrypt js files.

My question is how do I use an encrypted js file (which is not a plug-in)? How do I include the file in the tour xml?

Best regards,

Antoine

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

2

Donnerstag, 15. Februar 2018, 17:19

Hi

See here and here

Kind regards
Piotr
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

facebook page :: youtube :: wiki.cms4vr.com

cms4vr team *thumbsup*

3

Donnerstag, 15. Februar 2018, 18:35

Thanks Piotr.

If i understand correctly your answer, it is not possible to include an external js file in an xml file (encrypted or not). You have to copy/paste the code in a CDATA section?

This is cumbersome when using and IDE to code and debug the js code.

It would nice to be able to use <include> to include an external js file. If it is possible, I believe it would be a useful feature for a future update of krpano.

With this feature, we could keep js and xml code separated while still being able to encrypt xml and js files.

Thanks,

Antoine

Ähnliche Themen