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

Forums

/

Playlist with file type containing a query string

6 replies [Last post]

We are using a mrss feed to generate a playlist through the player.

After many headaches, I realizes that the issue was our media files not ending with .flv but with a query string.

An example is http://mypath/myfile.flv?log=rerer&fldlfd

If we remove this query string the playlist is fine. Unfortunately we are using this query string to log stats.

Is it possible to get it working this way or do we need to remove the query string?

Thanks

See the very first sentence here: http://developer.longtailvideo.com/trac/wiki/FlashFormats#Singlefiles

See the example & documentation here:  http://developer.longtailvideo.com/trac/wiki/FlashFormats#JWPlayernamespace  for the correct way to use the JWPlayer namespace to specify the type in a MediaRSS playlist.

Ok will look at it thanks for your time.

After looking at the two links above, I do not see anything related to my issue.

We want to play a playlist using a mrss link. The issue is that our media:content url contain an url which is ending with a query string and not a file type like flv, as referred in my former message.

Meaning the first sentence of the first link is not relevant to us. The type has to be a playlist.

For the next one, I am not sure it can help as our mrss feed is compliant and in fact work if we remove the query string after the flv file type.

You can test it using the wizard, if you select flv player with a rss playlist and copy this link to file property http://uk.mrss.filmtrailer.com/v2.0/moviebeat/?channel_user_id=441100223-1, it cannot find the property. If we remove the query string from the mrss feed and try this link: http://therace.filmtrailer.com/playlist/moviebeat.xml it works like a charm.

It looks like a bug to me!

The first sentence of the first link is exactly relevant to you.

"Note that the player always tries to recognize a file format by its extension. If no suitable extension is found, the player will presume you want to load a playlist! Get around this issue by setting the type flashvar, e.g. type=video. "

You don't have a recognized media file extension as the last three characters of your URL and you don't want the player to presume that you want to laod a playlist and you do want to tell the player that it will be receiving a media file of type=video.

Your MediaRSS playlist may validate, but that does not mean that is useful to the JW Player. You still need to specify the type of media file in each track.

Perhaps an example will be helpful.

<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
  <channel>
    <title>Example MediaRSS feed with jwplayer extensions</title>
    <description>Example MediaRSS playlist with jwplayer extensions</description>
    <link>http://www.domain.com/info/</link>
    <item>
      <title>FLV Video with Query String</title>
      <link>http://uk.mrss.filmtrailer.com/</link>
      <description>This is an example of a URL with a query string.</description>
      <strong><media:content url="http://uk.mrss.filmtrailer.com/v2.0/moviebeat/?channel_user_id=441100223-1" /></strong>
      <strong><jwplayer:type>video</jwplayer:type></strong>
    </item>
  </channel>
</rss>

Thanks again

As far as I know .flv?log_var=balbla is correct naming convention where the file extension is flv. Query string are allowed!

What the doc should say is that the filename must end with a file extension.

As for the schema I must have been lazy, sorry. I will test it. My only issue is to have to create a specific mrss feed for the player. I will have preferred to use our general mrss feed.

Your example is great as I will have never figured out this tag, it is obvious once you get it (:-

Thanks

The documentation would be clearer if it said something like this: "The file flashvar value (URL/URI) or its equivalent playlist element must end with a recognized media file extension or else... " (the damn thing won't work)

Glad to hear you got it working.

You're welcome for the help.

    Good Luck!