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

AddOns

Playlists with HD

This configuration uses a playlist in combination with the HD plugin to allow switching of video quality for each playlist entry. The playlist is specified using the player’s built-in playlistfile configuration:

 

The Playlist

As you can see, the HD file is not defined in the embed code. Instead, it is defined in the playlist, separately for each entry:

<rss version="2.0" xmlns:jwplayer="http://developer.longtailvideo.com/trac/wiki/FlashFormats">
<channel>
    <title>Example media RSS playlist with HD</title>

    <item>
        <title>Sintel Trailer</title>
        <jwplayer:file>/videos/yj1shGJB-327.mp4</jwplayer:file>
        <jwplayer:hd.file>/videos/yj1shGJB-67067.mp4</jwplayer:hd.file>
    </item>

    <item>
        <title>Big Buck Bunny</title>
        <jwplayer:file>/videos/nPripu9l-327.mp4</jwplayer:file>
        <jwplayer:hd.file>/videos/nPripu9l-67067.mp4</jwplayer:hd.file>
    </item>

    <item>
        <title>Filmclip Licht</title>
        <jwplayer:file>/videos/HESXw9fD-327.mp4</jwplayer:file>
        <jwplayer:hd.file>/videos/HESXw9fD-682966.mp4</jwplayer:hd.file>
    </item>

</channel>
</rss>

The playlist is in RSS format and uses the jwplayer: extension to display the HD options.