
PHP file supplier with Jw Player 6
I have a scenario similar to this option:
http://www.longtailvideo.com/support/forums/jw-player/servers-and-streaming/29908/no-playable-sources-found-with-my-own-mp3-file-streamer
My setup is available here:
http://www.edmontonimmanuel.ca/sermons_view3.php?pagename=audiosermons2
My Scenario:
This works:
bc.. jwplayer("player").setup({
primary: "flash",
file: "./download_sermonpriv.php?filename=./sermons_priv/2012-12-16PM-3.mp3",
type: "mp3",
height: 250,
width: 470,
controls: true,
allowscriptaccess: 'always',
});
However if I want to use the download_sermonpriv.php script in a playlist, like this...I get the no playable sources found error:
bc.. jwplayer("player").setup({
primary: "flash",
playlist: "./test.rss",
height: 250,
width: 470,
controls: true,
allowscriptaccess: 'always',
});
test.rss:
bc.. <rss version="2.0" xmlns:media="http://video.search.yahoo.com/mrss/">
<channel>
<title>www.edmontonimmanuel.ca</title>
<item>
<title>Track 1</title>
<description>Track 1</description>
<media:thumbnail url="/images/backgrounds/header780.jpg" />
<media:content url="./download_sermonpriv.php?filename=./sermons_priv/2012-12-16PM-3.mp3" type="audio/mpeg" />
</item>
</channel>
</rss>
Note: visiting the /download_sermonpriv.php?filename=./sermons_priv/2012-12-16PM-3.mp3 page correctly serves up the mp3 file.
Note: Ethan just helped me on getting the flash working in this thread...as you can see, I am slowly making this more difficult :-) --> http://www.longtailvideo.com/support/forums/jw-player/using-playlists/30243/playlist-issues-with-flash