Ticket #229 (closed bug: worksforme)
type meta in xspf not working?
| Reported by: | jeroen | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | Flash 4.2 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description
Hi all,
It seems that the <type> attribute in a playlist doesn't work. I'm using the latest release of the 3.x version of the JW Player.
My HTML: [code] <script type="text/javascript"> var so = new SWFObject('swf/mediaplayer.swf','mpl','450','585','8'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','true'); so.addVariable('file','theplaylist.php'); so.addVariable('height','585'); so.addVariable('width','450'); so.addVariable('displayheight','385'); so.addVariable('overstretch','fit'); so.addVariable('shuffle','false'); so.addVariable('thumbsinplaylist','true'); so.addVariable('overstretch','true'); so.addVariable('autostart','false'); so.write('player'); </script> code
Contents of theplaylist.php: [code] <?xml version="1.0" encoding="UTF-8"?> <playlist version="1" xmlns=" http://xspf.org/ns/0/"> <trackList> <track> <title>Test</title> <creator>test</creator> <meta rel="type">video/x-flv</meta> <location>view.php?videoid=12345</location> <info>page.html</info> <image>image.jpg</image> </track> </trackList> </playlist> code
The player loads and shows the playlist with thumbs, but the videos won't play. I also tried to use <meta rel="type">flv</meta>. If I change the <location> to .flv files everything works perfect. Also i'm sure the .php video file has the correct headers and works fine.
Has somebody else this problem too? Or am I doing something wrong?
Kind Regards, Kees B.

All fine in 4.xx ...