问题
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.
回答1:
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.
来源:https://stackoverflow.com/questions/31090024/how-to-display-html-page-using-brightscript