Jump to content

Recommended Posts

Posted

I don't suppose that anyone here is using ONELAN with BBC News streams? We've just had our system installed and unfortunately we didn't get a TV card with our subscriber.

 

Does anyone know which site will let you auto play BBC News? I have found this one here - BBC Live Streams but it defaults to BBC One, is it possible to get it to default to the BBC News option?

 

 

Any help is much appreciated!

Posted

Are you using the code given when you selected the News Channel?

 

var emp = new embeddedMedia.Player();
emp.setWidth('832');
emp.setHeight('503');
emp.setPlaylist('http://www.bbc.co.uk/emp/simulcast/bbc_news24.xml');
emp.setConfig('http://www.bbc.co.uk/emp/simulcast/config_bbc_news24.xml');
emp.write();

Posted
Are you using the code given when you selected the News Channel?

 

var emp = new embeddedMedia.Player();
emp.setWidth('832');
emp.setHeight('503');
emp.setPlaylist('http://www.bbc.co.uk/emp/simulcast/bbc_news24.xml');
emp.setConfig('http://www.bbc.co.uk/emp/simulcast/config_bbc_news24.xml');
emp.write();

 

I don't believe there is anyway to get this into a zone in onelan.

  • 2 months later...
Posted

Hi Obzen,

I've had the same problem with the ONELan and BBC news stream and managed to resolve it.

Do you still need help with this?

You have to build an html page with the bbc embedded player, upload it to the box and set it show in the layout.

The settings on the ONELan need changing to show the page indefinitely and also there is an advanced setting to enable external xml.

Let me know if you want the html code.

Thanks,

Bleckfield

  • 7 months later...
Posted

Hi Bleckfield

Is the BBC news streaming still working for you?

We are desperately trying to get this working as our manager is very keenbut with no luck. We have asked one-lan but no luck

Would you be able to give us more details

Thanks

Anne

Posted

I created a bbcnews.html page with the following content:

 




BBC Live Streams












<br />
body {<br />
margin:25px 0px 0px 50px;<br />
}<br />





In order to see this content you need to have both Javascript enabled and Flash installed. Visit BBC Webwise for full instructions



640 x 395

Change Size: 832x503 / 640x395  / 512x323
Embed Code




<br />
<br />
<br />
  dp.SyntaxHighlighter.HighlightAll('onceCode'); <br />
  var width= 832;<br />
  var height= 503;   <br />
  var playlist;<br />
  var config;   <br />
  var revision;  <br />
  <br />
function updateEmp(widthEmp, heightEmp) {<br />
  width=widthEmp;<br />
  height=heightEmp;<br />
  $('bbc_emp_embed_emp1').morph({width:widthEmp+'px',height:heightEmp+'px'});<br />
  $('standardSize').update(widthEmp+' x '+heightEmp);<br />
  updateEmbed();<br />
}  <br />
<br />
<br />
function reload(url, title) {<br />
  $('title').update(title);<br />
  var emp = new embeddedMedia.Player();<br />
  emp.setWidth(width);<br />
  emp.setHeight(height);<br />
  emp.setDomId("emp1"); <br />
  emp.set("config_settings_autoPlay","true");<br />
  playlist = "http://www.bbc.co.uk/emp/simulcast/"+url+".xml";<br />
  emp.setPlaylist(playlist);<br />
  config = "http://www.bbc.co.uk/emp/simulcast/config_"+url+".xml";<br />
  emp.setConfig(config);<br />
  emp.write();  <br />
  updateEmbed();<br />
 }<br />
 <br />
 function updateEmbed() {<br />
  $('codeWrap').update('<pre name="code" class="js:nogutter" id="embedCode">');<br />
  $('embedCode').update("var emp = new embeddedMedia.Player();"+"\n"+<br />
                        "emp.setWidth('"+width+"');"+"\n"+<br />
                        "emp.setHeight('"+height+"');"+"\n"+<br />
                        "emp.setPlaylist('"+playlist+"');"+"\n"+<br />
                        "emp.setConfig('"+config+"');"+"\n"+<br />
                        "emp.write();");            <br />
  dp.SyntaxHighlighter.HighlightAll('code'); <br />
 }<br />
<br />
<br />
 reload("bbc_news24","BBC News");<br />


 

The other settings ONE LAN helped me with they just couldn't provide the code to show the stream.

Posted

Hi Bleckfield

 

If you click directly on the html file does it open to show the BBC news. Ours gives an error about needing java and flash which we have.

Thanks

Anne

  • Thanks 1
Posted
Hi Obzen,

I've had the same problem with the ONELan and BBC news stream and managed to resolve it.

Do you still need help with this?

You have to build an html page with the bbc embedded player, upload it to the box and set it show in the layout.

The settings on the ONELan need changing to show the page indefinitely and also there is an advanced setting to enable external xml.

Let me know if you want the html code.

Thanks,

Bleckfield

 

Hey Beckfield,

 

I don't need help anymore however this is very useful!

  • 1 year later...
Posted

If you click on the html file directly from your PC when you have created it, it is unlikely to play because of the browser requirements not being compatible with modern browsers.

However, the browser used within ONELAN to show the stream shouldn't have changed so will be fine.

 

With regards to where to upload the file to.

When you create the 'area' where you want the stream to show you can specify what is shown and you can upload the html file.

 

I don't have access to a box at the moment. ONELAN themselves were very helpful once I'd done the file into how to get it set to show on the device.

  • 4 months later...
Posted

trying to get this working - created bbcnews html page as above and uploaded it to onelan box - when it plays on one lan box it shows warning about java and flash - can't see how to alter anything on box to allow this.

Looking on onelan help i see:The NTB displays HTML using the WebKit browser engine for Linux. (The Apple Safari and Google Chrome browsers also use the WebKit engine.)

WebKit supports web pages including JavaScript® and Adobe Flash but not ActiveX®.

Any ideas how to get it to play?

Posted

according to onelan support - most streaming services require drivers or plugins that the Webkit browser in the NTB cannot support.

So it seems it can't be done - maybe have to investigate a TV card.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...