How can I interface my HTML5 Smart TV app with Roku?

I have a HTML5 web app that does device detection to optimize for different TV’s and STB’s.

Can I use BrightScript to build a widget that loads up and displays the web app?

I’ve read in a few places [1] that Roku supports HTML5, but I haven’t figured out how to do it.

[1] http://gigaom.com/2010/11/09/is-html5-t … f-tv-apps/

The Roku does not currently support HTML5.

As I understand [1], the BBC uses their HTML5 framework TAL[2] to deploy their iPlayer Roku app.

[1] https://twitter.com/TALOpenSource/statu … 6308849664
[2] http://fmtvp.github.io/tal/getting-star … g-tal.html

I’m really curious how they achieve this.

“sprice” wrote:
As I understand [1], the BBC uses their HTML5 framework TAL[2] to deploy their iPlayer Roku app.

I’ve not downloaded TAL, but if you look at the documentation – particularly the application structure – it looks like there’s no actual HTML. I may be wrong, but from the documentation alone, TAL looks a little like GWT: a JavaScript library that builds the UI using widget classes (a la GTK, Swing, Qt…) without any declarative language, with CSS for basic styling. If there’s any declarative stuff going on, it’s probably in the form of JSON, rather than HTML.

So TAL on Roku may be nothing more than a JavaScript engine and a small library of widgets that conform to a generic API; on a webkit/browser platform the TAL widgets would be rendered using HTML, and on Roku they would be drawn using native graphics commands.

this is “simply” a JavaScript framework they’ve built.

anyone figured out, how they use this on ROKU?

If you want it on Roku, port it to Brightscript in its entirety, or apply for our NDK program, and if accepted, port it to c++

  • Joel

Hi Joel,

thanks. What is the NDK program?
So this means, BBC ported TAL entirely to BS? Is this even possible?

Thanks

The 2D APIs make it possible to roll your own GUI in Brightscript, I should think you would be able to create a much nicer user interface than the BBC iPlayer, using Brightscript, with the 2D API components.

If you are in UK, Check out the NowTV channel - all Brightscript, all 2D APIs.

  • Joel

One more thing that might be of interest to you:
http://www.roku.com/developer-marmalade

Does anyone have any information about the HTML browser environment that the BBC uses? https://github.com/fmtvp/tal/issues/57# … t-21482232

“RokuJoel” wrote:
One more thing that might be of interest to you:
http://www.roku.com/developer-marmalade

from a first look this indeed looks interesting.

does this just make development easier, or does this also give features that are possible with brightscript? do they support DRM etc?