How to display HTML page using BrightScript

回眸只為那壹抹淺笑 提交于 2019-12-14 02:38:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!