Streaming BBC news

  • 3 Replies
  • 9312 Views

0 Members and 1 Guest are viewing this topic.

*

Offline manick

  • Newbie
  • *
  • 5
  • 0
Streaming BBC news
« on: March 21, 2012, 10:40:36 AM »
HI,

I am at present streaming BBC news on one of our screens, however, every 20-30 seconds it starts buffering for around 30 seconds. This is not a problem when streaming through the internet to a normal screen and is unique to magicinfo, this therefore suggests that it is the way it is streamed (as the same problem occurs on the magicinfo preview on the authoring software on the server). We are using Magicinfo-I standard 1006 on the server.

We are using a HTML page the body of which is contained in the next post. Does anybody know of a better way to do this, or is there another setting that I could change to overcome this problem?

Many thanks

Nick

*

Offline manick

  • Newbie
  • *
  • 5
  • 0
Re: Streaming BBC news
« Reply #1 on: March 21, 2012, 10:49:23 AM »
<!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_core.v1.2.js"></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/shBrushJScript.js"></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/prototype.js"></script>
<script type="text/javascript" src="http://www.bbc.co.uk/emp/simulcast/scriptaculous.js?load=effects"></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/articles/browse/java_1.shtml" title="BBC Webwise article about enabling javascript">Javascript</a> enabled and <a href="http://www.bbc.co.uk/webwise/askbruce/articles/download/howdoidownloadflashplayer_1.shtml" title="BBC Webwise article about downloading">Flash</a> installed. Visit <a href="http://www.bbc.co.uk/webwise/">BBC&nbsp;Webwise</a> for full instructions</p>
</div>


*

Offline manick

  • Newbie
  • *
  • 5
  • 0
Re: Streaming BBC news
« Reply #2 on: March 21, 2012, 10:55:01 AM »
<script type="text/javascript">

  dp.SyntaxHighlighter.HighlightAll('onceCode');
  var width= 640;
  var height= 395;   
  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_news24");
</script>
</body>
</html>

*

Offline Bill Coral

  • SuperHero & MegaGuru
  • ******
  • 379
  • 87
Re: Streaming BBC news
« Reply #3 on: June 14, 2012, 09:53:26 PM »
This is all good stuff Nick. It has taught me few things. Do you think this is a Javascript and Flash issues?

Bill