Documentation

Example of code which plays youtube videos from playlist.xml

1. Open config.xml and edit the following attributes and save the file.

playlistXML = “http://yourdomain.com/HD FLV Player /xml/playlist.html

showPlaylist = “true”

2. Open playlist.xml and edit the following attributes and save the file.

<playlist autoplay=”false” random=”false”>

<mainvideourl=”youtube page url goes here”

hdpath=”"id=”Your video id goes here”

thu_image=”Your video thumb image path goes here”

Preview =”Your Preview image path goes here”

pre-roll=”false”

mid-roll=”false”

post-roll=”false”

allow_download=”false”

<title><![CDATA[Welcome]]></title>

<<!--Optional-->

<tagline targeturl="http://mydomain.com"><![CDATA[<spanclass='heading'>Tagline - </span><b>Your

short description goes here for videos.</b>]]></tagline>
</mainvideo>
</playlist>
3. Run index.html in your favorite browser.

Related Posts via Categories