Hi,
I'm trying to add viral recommendations using rtmp paths instead of http progressive downloads. For some reason I am unable to view the recommended links, so I think there is an error with my mrss feed.
Here is the rss file I am using. It is validating, but for some reason there are no recommended items appearing under the viral plugin:
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/">
<channel>
<title>Recommended Videos</title>
<description>Recommended Videos from BCCI.tv</description>
<link>http://www.bcci.tv/</link>
<item>
<title>Man of the match: Mahendra Dhoni</title>
<link>http://www.bcci.tv/Man-of-the-match-Mahendra-Dhoni.html</link>
<description>India - Australia 2nd Test, Mohali</description>
<media:credit role="author">Cricket.com</media:credit>
<media:content url="rtmp://*******************BCCI/Ind_Aus_2008/2nd_Test/Day5/TEST2_IND_AUS_MANOFTHEMATCH_DHONI.flv" type="video/x-flv" duration=""/>
<guid>http://www.bcci.tv/Man-of-the-match-Mahendra-Dhoni.html</guid>
<media:thumbnail url= "http://www.bcci.tv/media/images/Placeholder_Images/ind_au_2008.jpg"/>
</item>
<item>
<title>Sachin being honoured for his world record - Day5</title>
<link>http://www.bcci.tv/Sachin-being-honoured-for-his-world-record.html</link>
<description>India - Australia 2nd Test, Mohali</description>
<media:credit role="author">Cricket.com</media:credit>
<media:content url="rtmp://*******************BCCI/Ind_Aus_2008/2nd_Test/Day5/TEST2_IND_AUS_PRESENTATION_SACHIN.flv" type="video/x-flv" duration=""/>
<guid>http://www.bcci.tv/Sachin-being-honoured-for-his-world-record.html</guid>
<media:thumbnail url= "http://www.bcci.tv/media/images/Placeholder_Images/ind_au_2008.jpg"/>
</item>
<item>
<title>Interview with Ponting - Day5</title>
<link>http://www.bcci.tv/Interview-with-Ponting.html</link>
<description>India - Australia 2nd Test, Mohali</description>
<media:credit role="author">Cricket.com</media:credit>
<media:content url="rtmp://*******************BCCI/Ind_Aus_2008/2nd_Test/Day5/TEST2_IND_AUS_PRESENTATION_PONTING.flv" type="video/x-flv" duration=""/>
<guid>http://www.bcci.tv/Interview-with-Ponting.html</guid>
<media:thumbnail url= "http://www.bcci.tv/media/images/Placeholder_Images/ind_au_2008.jpg"/>
</item>
</channel>
</rss>
This is the code I'm using for my player:
var so = new SWFObject('http://www.bcci.tv/assets/templates/js/mediaplayer.swf','mpl','450','480','9');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('file','http://www.bcci.tv/index.php?id=10091');
so.addVariable('fullscreen', 'true')
so.addVariable('playlist', 'bottom')
so.addParam("wmode","transparent");
so.addParam("allowScriptAccess", "always");
so.addParam("allownetworking", "all");
so.addVariable("channel", "2519");
so.addVariable("plugins", "ltas");
so.addVariable("streamer","rtmp://******************BCCI/");
so.addVariable('abouttext', 'Board of Control for Cricket in India');
so.addVariable('stretching', 'exactfit');
so.addParam('bgcolor', '#ffffff');
so.addVariable('skin', 'http://www.bcci.tv/assets/templates/ftKxEWFw.swf');
so.addVariable('playlistsize', '180');
so.addVariable('aboutlink', 'http://www.thebcci.com');
so.addVariable("repeat","list");
so.addVariable("plugins",'googlytics-1,viral-1');
so.addVariable("viral.functions",'link,recommendations');
so.addVariable("viral.recommendations",'http://www.bcci.tv/index.php?id=10681');
so.addVariable("viral.onPause",'true');
so.write("mediaspace");
Any thoughts? Would be highly appreciated!
This thread describes a related issue http://www.jeroenwijering.com/?thread=13646.
You should change your code from
so.addVariable("viral.functions",'link,recommendations');toso.addVariable("viral.functions",'link,recommendation');