Sie sind nicht angemeldet.

1

Mittwoch, 2. Mai 2018, 09:15

URL placeholder not working in HTML5-VR Audio xml files

Hi,

Is it possible to use %FIRSTXML% type of URL placeholders in HTML5-VR Audio xml file. Cause when I use it i get error attached below.

I am using it like

Quellcode

1
calc('%FIRSTXML%/html5sound/assets/'+sound2d.scene[get(sedit_scn)].audiofile),
»amitsingh« hat folgendes Bild angehängt:
  • Screenshot from 2018-05-02 12-45-27.png

Mael B.

Schüler

Beiträge: 157

Wohnort: France, Montpellier

  • Nachricht senden

2

Mittwoch, 2. Mai 2018, 10:20

try this code instead:

Quellcode

1
calc(%FIRSTXML% + '/html5sound/assets/' + sound2d.scene[get(sedit_scn)].audiofile),

3

Mittwoch, 2. Mai 2018, 10:55

This is not working. I am getting the same error.


I also tried giving my own variable like:

Quellcode

1
embedpano({swf:"vtour/tour.xml", xml:"vtour/tour.xml", target:"pano", initvars: {mypath: "http://localhost/sample_tour/vtour/"} basepath: "http://localhost/sample_tour/vtour/", passQueryParameters: true});




and using the variable in xml file like:

Quellcode

1
calc(%mypath% + '/html5sound/assets/'+sound2d.scene[get(sedit_scn)].audiofile)



But still getting the same error.

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

4

Mittwoch, 2. Mai 2018, 16:10

Hi

%FIRSTXML% is a KRpano placeholders and in this case this is not work, because howler.js (HTML5-VR Audio Sound engine) not recognizance this 'string'. Use URL's without KRpano placeholders.


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

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

cms4vr team *thumbsup*

Beiträge: 1 117

Wohnort: Poland, Europe

Beruf: krpano developer : virtual tours : the cms4vr owner

  • Nachricht senden

5

Mittwoch, 2. Mai 2018, 16:10

this post is doubled from above
Your own professional, online cloud tool for creating virtual tours - www.cms4vr.com

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

cms4vr team *thumbsup*

Ähnliche Themen