如何使用 BrightScript 显示 HTML 页面 [英] How to display HTML page using BrightScript

查看:27
本文介绍了如何使用 BrightScript 显示 HTML 页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在 Roku 频道上显示单个 HTML 网页.我不需要关注超链接,但该页面确实会定期更新.

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.

是否可以编写使用 Gecko 呈现页面的 BrightScript 应用程序,或者我必须自己绘制页面?

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

我在 Roku SDK 中看到了大量信息和示例,这些信息和示例描述了如何使用 BrightScript 在 Roku 框上提供用户导航和播放视频,但我找不到有关在 Roku 上显示单个 HTML 页面的任何信息频道.

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.

推荐答案

您不能在 roku 应用程序中使用 html 代码.

You can not use html code in roku app.

如果您想在 Roku 应用程序中创建类似网页的内容,请在 Brightscript 代码中使用 roScreen 并显示您可以使用 API 的数据.

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.

这篇关于如何使用 BrightScript 显示 HTML 页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆