Developers

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sprice
Visitor

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/
Tags (1)
0 Kudos
10 REPLIES 10
TheEndless
Channel Surfer

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)
Tags (1)
0 Kudos
sprice
Visitor

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.
Tags (1)
0 Kudos
javak
Visitor

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.
Tags (1)
0 Kudos
stefanb
Visitor

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?
Tags (1)
0 Kudos
RokuJoel
Binge Watcher

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
Tags (1)
0 Kudos
stefanb
Visitor

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
Tags (1)
0 Kudos
RokuJoel
Binge Watcher

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
Tags (1)
0 Kudos
RokuJoel
Binge Watcher

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
Tags (1)
0 Kudos
sprice
Visitor

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
Tags (1)
0 Kudos
Community is Being Upgraded!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 19th and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

We're sorry for this disruption — we’re excited to share what’s next!