Jump to content

JanglyMark

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by JanglyMark

  1. My script for watching BBC1 live no longer works... Please can someone update it for me...the nornal 'watch live' page is uses WAY much bandwidth... Script is as follows.... "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> BBC Live Streams dp.SyntaxHighlighter.HighlightAll('onceCode'); var width= 640; var height= 395; var volume= 100; var playlist; var config; var revision; function reload(url) { var emp = new embeddedMedia.Player(); emp.setWidth(width); emp.setHeight(height); emp.setDomId("emp1"); emp.set("config_settings_autoPlay","true"); playlist = "http://www.bbc.co.uk/emp/simulcast/"+url+".xml"; emp.setPlaylist(playlist); config = "http://www.bbc.co.uk/emp/simulcast/config_"+url+".xml"; emp.setConfig(config); emp.write(); updateEmbed(); } function updateEmbed() { $('codeWrap').update(' '); $('embedCode').update("var emp = new embeddedMedia.Player();"+"\n"+ "emp.setWidth('"+width+"');"+"\n"+ "emp.setHeight('"+height+"');"+"\n"+ "emp.setPlaylist('"+playlist+"');"+"\n"+ "emp.setConfig('"+config+"');"+"\n"+ "emp.write();"); dp.SyntaxHighlighter.HighlightAll('code'); } reload("bbc_one_london");
×
×
  • Create New...