Documentation

Example of code which plays lighttpd server files from xml

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

playlistXML = “http://mydomain.com/HD FLV Player /xml/playlist.xml”

showPlaylist = “true”

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

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

<mainvideo url=”Your stream name 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”

streamer=”lighttpd”

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

<!–Optional–>

<tagline targeturl=”https://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