What of HTML5 and the Browser DOM is supported in Chromecast

感情迁移 提交于 2019-12-10 21:21:50

问题


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?

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


回答1:


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.

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.




回答2:


This answer has that list you're looking for. I also self answered the question with some of the weird quirks I've run into that might affect the type of tech you decide on using.



来源:https://stackoverflow.com/questions/20083327/what-of-html5-and-the-browser-dom-is-supported-in-chromecast

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