Forum Discussion

l0os3_c's avatar
l0os3_c
Visitor
8 years ago

Invalid Format / Unable to parse - JWPlayer

Hi, I have my files hosted and I thought it would be easy to use JWplayer (since I'm familiar with it) to host the URL's to my content in a playlist. I have tried JWPlayer's RSS and JSON output with no luck. When the feed URL is listed in the Direct Publisher settings, I get the following error message "The feed format is invalid. We are unable to parse it."
Any help would be appreciated.

Thank you!

6 Replies

  • Usually with that error, it means there is a coding error.  If you want to either post your feed here or send it to me in a PM I will have a look at it.
  • Below is a random bit of code I've been trying to test with.
    Code: Select all
    <?xml version="1.0" encoding="UTF-8"?>
    <rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://rss.jwpcdn.com/">
    <channel>
      <title>Untitled Manual Playlist</title>
      <description>TLMOE VICENT PRICE</description>
      <jwplayer:kind>MANUAL</jwplayer:kind>
      <jwplayer:feedid>KHDsO0bn</jwplayer:feedid>
      <jwplayer:feed_instance_id>f7705823-36a9-4585-8e50-0ab15dd28dc2</jwplayer:feed_instance_id>
      <link rel="first" href="https://cdn.jwplayer.com/v2/playlists/KHDsO0bn?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
      <link rel="last" href="https://cdn.jwplayer.com/v2/playlists/KHDsO0bn?format=mrss&amp;page_offset=1&amp;page_limit=99"/>
      <item>
        <title>TLMOE</title>
        <link>https://cdn.jwplayer.com/previews/ZBovPea7</link>
        <description></description>
        <pubDate>Sat, 22 Jul 2017 01:00:00 -0000</pubDate>
        <guid isPermaLink="false">ZBovPea7</guid>
        <enclosure url="https://www.youtube.com/watch?v=nPK5rYXeOV4" type="video/mp4" />
        <jwplayer:feedid>KHDsO0bn</jwplayer:feedid>
          <media:group>
          <media:content url="https://www.youtube.com/watch?v=nPK5rYXeOV4" type="video/mp4" />
          <media:thumbnail url="https://cdn.jwplayer.com/thumbs/ZBovPea7-720.jpg" />
          <media:keywords></media:keywords>
        </media:group>
      </item>
    </channel>
    </rss>





    Thank you!
  • You might need to remove the "isPermaLink="false"" from the guid element
    Change "-0000" to "GMT" in the pubDate element

    You are missing the <media:title></media:title> element
    You are missing the <media:description></media:description> element
    You are missing the <media:category></media:category> element or <media:keywords></media:keywords> element
    You are missing the duration flag under the <media:content></media:content> element.
    You might need to remove type="video/mp4" from the url flag under the <media:content></media:content> element.

    That is what I see so far.
  • Try to something into media:description

    Can you remove media:group? If might be cancelling everything between.
  • Ah, it seems it doesn't like secure links (https). That fixed the issue.

    Thank you!