问题
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