Documentation

Example of code which plays rtmp server files from xml

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

playlistXML = “http://yourdomain.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=”rtmp://mydomain.com/application”>

<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