htmlgeckorokubrightscript

How to display HTML page using BrightScript


I would like to display a single HTML web page on a Roku channel. I have no need to follow hyperlinks, but the page does have periodic updates.

Is it possible to write a BrightScript application that uses Gecko to render the page, or would I have to draw the page myself?

I see plenty of information as well as examples in the Roku SDK that describe how to provide user navigation and play video on a Roku box using BrightScript, but I can't find any information about displaying a single HTML page on a Roku channel.


Solution

  • You can not use html code in roku app.

    If you want to create something like web page in Roku app then use the roScreen in brightscript code and to show data you can use API.