+ linkDestXPath: '//div[@id="silverlightControlHost" or @id="SilverlightPlayer"]',
+ },
+ {
+ locationRegexp: /^http:\/\/soundcloud.com\/.*$/,
+ urlContainerXPath: '//div[@id="main-content-inner"]',
+ urlRegexp: /"streamUrl":"([^"]*)"/,
+ linkDestXPath: '//div[@id="main-content-inner"]',
+ },
+ {
+ locationRegexp: /^http:\/\/www\.telecinco.es\/.*$/,
+ urlContainerXPath: '//video[@class="video-js"]',
+ urlRegexp: /src="([^"]*)"/,
+ linkDestXPath: '//div[@class="pg-bd"]',
+ },
+ {
+ locationRegexp: /^http:\/\/(www\.|)slideshare.net\/.*$/,
+ urlContainerXPath: '//script[@id="page-json"]',
+ urlRegexp: /"ppt_location":"([^"]*)"/,
+ processURL: function(site, object_id) {
+ var URL = 'http://s3.amazonaws.com/slideshare/' + object_id + '.xml';
+ var evt = document.createEvent('Event');
+ evt.initEvent('UrlFetched', true, true);
+ evt.site = site;
+ evt.URL = URL;
+ document.dispatchEvent(evt);
+ return;
+ },
+ linkDestXPath: '//div[@class="playerWrapper"]',