Chromecast支持什么HTML5和浏览器DOM [英] What of HTML5 and the Browser DOM is supported in Chromecast

查看:69
本文介绍了Chromecast支持什么HTML5和浏览器DOM的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

该文档显示Chromecast使用的是按比例缩小版本的Chrome浏览器。
是否存在支持的HTML5标签和支持的JavaScript DOM操作的列表?

The documnentation says that Chromecast is using a "Scaled down" version of the Chrome Browser. Is there somewhere a list of supported HTML5 tags and supported JavaScript DOM actions?

我想在HTML5中为Chromecast构建UX,可以从中进行远程控制手机或桌面浏览器。在此解决方案中,视频仅是次要的。

I like to build a UX in HTML5 for Chromecast that I can remote control from a mobile phone or desktop browser. Video is only secondary in this solution

推荐答案

我不知道这样的综合列表。您需要记住,Chromecast设备适合于媒体消耗,因此那里的MediaElements有很好的支持。实际上,它具有一些其他媒体扩展,例如EME和MSE。就DOM动作而言,我建议尽量减少(或尽可能远离)任何奇特的过渡;可以支持大多数事物,但尚未进行优化,并且在该设备上缺乏使它们平滑的所需资源(即硬件/内存)。

I am not aware of a comprehensive list like that. You need to keep in mind that Chromecast devices are geared toward consumption of media, so there is a pretty good support for the MediaElements there. In fact it has some additional media extensions such as EME and MSE. In terms of the DOM actions, I suggest to minimize (or better stay away, if possible) of any fancy transitions; the support for most things is there but it is not optimized and the resources required for those to be smooth (i.e. hardware/memory) is scarce on that device.

如果您需要了解更多有关覆盖率和性能的信息,建议您编写一个简单的应用程序,该程序可以将许多javascript测试页中的任何一个都放在实际的页面中,并在实际结果中查看设备。

If you need to find more about the coverage and performance, I suggest you write a simple app that puts any of the many javascript test pages and see the result on the actual device.

这篇关于Chromecast支持什么HTML5和浏览器DOM的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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