Is there any way to do this?
Alternatively, I have been using a user script to do this, but, as of this week it no longer works. (Code below). Can anyone update it for me, or at least point me in a direction of a forum where someone may be able to?
Code is as follows...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<title>BBC Live Streams</title>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/swfobject.js"></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/embed.js"></script>
<!-- please do not include any scripts below this line in public bbc.co.uk pages. -->
<link type="text/css" rel="stylesheet" href="SyntaxHighlighter.css" />
<link href="style.css" rel="stylesheet" type="text/css" media="all" />
<script type="text/javascript" src="http://www.bbc.co.uk/cs/jst/mod/1/jst_c ... "></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/shCore.js"></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/shBr ... "></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/prot ... "></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/scri ... "></script>
</head>
<body>
<div id="emp1" class="player" style="float:left">
<p>In order to see this content you need to have both <a href="http://www.bbc.co.uk/webwise/askbruce/a ... va_1.shtml" title="BBC Webwise article about enabling javascript">Javascript</a> enabled and <a href="http://www.bbc.co.uk/webwise/askbruce/a ... er_1.shtml" title="BBC Webwise article about downloading">Flash</a> installed. Visit <a href="http://www.bbc.co.uk/webwise/">BBC Webwise</a> for full instructions</p>
</div>
<script type="text/javascript">
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('<pre name="code" class="js:nogutter" id="embedCode"></pre>');
$('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");
</script>
</body>
</html>