Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

Playlist not a valid XML file in IE only..

2 replies [Last post]
Reply

I have a playlist and it works fine in FF. I don't use IE but opened the site to check something the other day and see the videos don't work and just have a message in the black player box that says:

This playlist is not a valid XML file.

Here is the playlist.xml file. Could someone tell me what is wrong.
As I said, it works fine in FF 9.01 but not in IE 8.
-------------------
<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="myjplayer.css"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">

<title>Video playlist</title>

<tracklist>
<track>
<title>My Title1</title>
<creator>Creator</creator>
<info>http://</info>
<annotation>annotation1</annotation>
<location>http://www.mysite.com/media/video/number_1.mp4</location>
<image>http://www.mysite.com/media/video/number_1.png</image>
</track>

<track>
<title>My Title2</title>
<creator>Creator</creator>
<info>http://</info>
<annotation>annotation2</annotation>
<location>http://www.mysite.com/media/video/use_anywhere.mp4</location>
<image>http://www.mysite.com/media/video/use_anywhere.png</image>
</track>

<track>
<creator>Creator</creator>
<title>My Title3</tltle>
<info>http://</info>
<annotation>annotation3</annotation>
<location>http://www.mysite.com/media/video/adjustable_cradle.mp4</location>
<image>http://www.mysite.com/media/video/adjustable_cradle.png</image>
</track>

<track>
<title>My Title 4</title>
<creator>Creator</creator>
<info>http://</info>
<annotation>annotation4</annotation>
<location>http://www.mysite.com/media/video/for_all_members.mp4</location>
<image>http://www.mysite.com/media/video/for_all_members.png</image>
</track>

</tracklist>

</playlist>
--------------------------

Thanks,
Doc

Reply

Well, I figured it out. It was a typo.

The following line was wrong:

<title>My Title3</tltle>

The closing tag says /tltle, not /title. The i and l were hard to see if not looking closely. Changed it and the problem is fixed. I guess IE is more particular the FF and FF just overlooked this issue.

Reply

Cool, glad you got it.

Post new comment

  • Allowed HTML tags: <code> <blockquote> <em> <strong> <strike> <ul> <li> <ol>
  • You may post code using <code>...</code> .
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options