Demo: RSS Channel

Vodcast via RSS

This is the official UNICEF Vodcast channel catched via RSS and relayed by a feed proxy at to bypass security issues. The RSS itself is parsed client side within Projekktor using the "reelParser"-filtering method. Note the custom controls and the logo fading in as examples for the plugin interface.

The Code

<div id="player_a" class="projekktor" style="width: 100%;"></div>

<script type="text/javascript">
jQuery(document).ready(function($) {
    projekktor('#player_a', {
    height: 385,
    ratio: 16/9,
	enableNATIVEPlatform: false,
	playerFlashMP4: '',
	playerFlashMP3: '',
    plugin_display: {
           logoImage: "yourlogo.png"
    skipTestcard: true,
    controls: true,
    playlist: [{0:{src:'', type:"text/xml"}}],
    reelParser: function(xmlDocument) {
        var result = {},
        result.playlist = [];
        $(xmlDocument).find("item").each(function() {

        if (itm==1) return true; // temp "skiptestcard" error fix

        try {
                src:  $(this).find('enclosure').attr('url'),            
                type: $(this).find('enclosure').attr('type')            
            config: {
                poster: $(this).find('media\\:thumbnail').attr('url'),
                title: $(this).find('title').text(),
                desc: $(this).find('description').text()
        } catch(e){}
        return result;