Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sprice
Level 7

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/
0 Kudos
10 REPLIES 10\
TheEndless
Level 9

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

The Roku does not currently support HTML5.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
sprice
Level 7

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

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.
0 Kudos
javak
Level 7

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

"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.
0 Kudos
stefanb
Level 7

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

this is "simply" a JavaScript framework they've built.

anyone figured out, how they use this on ROKU?
0 Kudos
RokuJoel
Roku Employee
Roku Employee

Re: How can I interface my HTML5 Smart TV app with 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
0 Kudos
stefanb
Level 7

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

Hi Joel,

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

Thanks
0 Kudos
RokuJoel
Roku Employee
Roku Employee

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

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
0 Kudos
RokuJoel
Roku Employee
Roku Employee

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

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

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

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