You are not logged in.

hfeist

Beginner

  • "hfeist" started this thread

Posts: 10

Location: Toronto

Occupation: artist

  • Send private message

1

Saturday, July 4th 2015, 5:00pm

youtubeplayer.xml fatal parsing error

When I include youtubeplayer.xml in my tour.xml exactly as in the example it works fine -- but not pn iPad. I get "FATAL ERROR - xml parsing failed!". Oddly enough the example at http://krpano.com/examples/118/examples/…er/example.html does work on iPad!

Posts: 1,857

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Wednesday, July 8th 2015, 5:06am

Show a link to your tour. Did you use encryption/compression?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Friday, January 15th 2016, 8:11pm

I have exactly the same problem.

4

Saturday, January 16th 2016, 2:42pm

I found a way to solve this parsing problem, but it's not as I'd like.
If have to put youtubeplayer.xml in the project root no to have this error message.
If I put the file in a folder, and change the <include> destination to reach the youtubeplayer.xml, there is the parsing error message.

Posts: 148

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

5

Wednesday, June 8th 2016, 1:00am

I found a way to solve this parsing problem, but it's not as I'd like.
If have to put youtubeplayer.xml in the project root no to have this error message.
If I put the file in a folder, and change the destination to reach the youtubeplayer.xml, there is the parsing error message.</include>
I have same problems with parsing of <!-- youtube-player.xml 1.19 -->. this file is on my root and if i see the vt with tour_editor.html all work fine but if i try with tour.html i get xml parse error.

With this online validate tools i can't find useful information. I think that the problem are the & and other symbol. Can someone tell me a good validation tool to discover the problems? and why with tour_editor the problem is bypassed?

NOT THE BEST SOLUTION:
- use the html code of tour_editor.html as template for tour.html
- delete all editor reference on tour_editor.html
- remove editor plugin into xml file
- work only with chrome, firefox give me an error:

ERROR: download of "http://www.youtube.com/v/BPNTC7uZYrI?version=3&autoplay=1&autohide=1&controls=1&loop=0&modestbranding=0&rel=0&showinfo=0&hd=1&vq=hd720" failed

This post has been edited 1 times, last edit by "nonchiedercilaparola" (Jun 8th 2016, 11:02am)


6

Wednesday, June 8th 2016, 1:33pm

Hi,

tour.html = HTML5 by default when possible
tour_editor.html = always Flash

Flash = ignores many xml syntax errors
HTML5 = strict on xml syntex errors

'&' is not a valid xml character- '&amp;' would need to be used.

See the basic xml documentation:
http://krpano.com/docu/xml/syntaxrules/#top

especially the check-list there (point 4):
http://krpano.com/docu/xml/syntaxrules/#errorchecking

Best regards,
Klaus

Posts: 148

Location: Italy

Occupation: Freelance Fotographer

  • Send private message

7

Friday, June 10th 2016, 10:43am

Hi,

tour.html = HTML5 by default when possible
tour_editor.html = always Flash

Flash = ignores many xml syntax errors
HTML5 = strict on xml syntex errors

'&' is not a valid xml character- '&' would need to be used.

See the basic xml documentation:
http://krpano.com/docu/xml/syntaxrules/#top

especially the check-list there (point 4):
http://krpano.com/docu/xml/syntaxrules/#errorchecking

Best regards,
Klaus
thanks for the reply. I take the youtube xml file on your site from this example: http://krpano.com/examples/119/examples/…tube-player.xml

can you suggest me a good tool for xml validation?

8

Tuesday, November 28th 2017, 1:02pm

Error ID

How to insert your video from YouTube in such xml: https://krpano.com/viewsource.html?examp…tube-player.xml ? where to add your identifier?
src="https://www.youtube.com/embed/','%1','? ..... I do not understand. Please help

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

9

Tuesday, November 28th 2017, 1:16pm

Hi)

Just call this action

Source code

1
youtubeplayer_open('x1F3X-f9roo');
Youtube video ID is the first parameter of this action.
Regards,

Alexey

10

Tuesday, November 28th 2017, 1:26pm

Hi)

Just call this action

Source code

1
youtubeplayer_open('x1F3X-f9roo');
Youtube video ID is the first parameter of this action.
Thank you very much! I was looking for an identifier in youtube-player.xml )) *smile*