HomeEmbed [SimpleCustom Playlist ]  CreateAPIProject Page @SourceForge

How To Create A Custom Playlist Without Making Your Own Web Page

This document describes how anyone can construct a playlist without making their own web page. If you have questions or comments, you can e-mail the author, Matt Albrecht (groboclown@gmail.com) .

Constructing a Playlist with a URL

FIXME: explain each parameter, and how each set builds into a video element in the playlist.

Example URL: http://groboclown.net/yt_playlist/playlist-download.html?title=Sample+Playlist+-+Parameters&v0=ZM85Ola_FCY&e0=15&t0=BMW+X3+TV+commercial&v1=TbIwQMBeC2c&e1=5&t1=Bruce+Lee+vs.+Chuck+Noris&v2=CnB-9ZTajS8&s2=4.2&e2=10&t2=BMW+3-Series+2007&q2=hq&w2=420&h2=240

Constructing a Playlist With XML

FIXME: explain the format of the XML, and how to pass that into the web page.

Example XML:

<playlist title="Sample Playlist">
    <video title="BMW X3 TV commercial"
           vId="ZM85Ola_FCY"
           end="15.0" />
    <video title="Bruce Lee vs. Chuck Noris"
           vId="TbIwQMBeC2c"
           start="0.0"
           end="5.0" />
    <video title="BMW 3-Series 2007"
           vId="CnB-9ZTajS8"
           quality="hq"
           width="420"
           height="240"
           start="4.2"
           end="10" />
</playlist>

Example URL for that XML: http://groboclown.net/yt_playlist/playlist-download.html?title=Sample+Playlist+-+XML&xml=http://groboclown.net/yt_playlist/sample-playlist.xml

Constructing a Playlist with JSon

FIXME: explain the format of the JSon, and how to pass that into the web page. Can link to json.org for a reference.

Example JSon data:

{
"videos": [
    {
            "title":"BMW X3 TV commercial",
            "vId":"ZM85Ola_FCY",
            "end": 15.0
    },
    {
            "title":"Bruce Lee vs. Chuck Noris",
            "vId":"TbIwQMBeC2c",
            "start": 0.0,
            "end": 5.0
    },
    {
            "title":"BMW 3-Series 2007",
            "vId":"CnB-9ZTajS8",
            "start": 4.2,
            "end": 10,
            "quality": "hq",
            "width": 420,
            "height": 240
    }
]
}

Example URL for that JSon data: http://groboclown.net/yt_playlist/playlist-download.html?title=Sample+Playlist+-+JSon&json=http://groboclown.net/yt_playlist/sample-playlist.json