4 ms·
It seems like it's very specific to YouTube needs. It supports very few HTML elements and CSS properties [1]. If you think HTML5 subset implies something like H
by pointlessone 2y ago
It seems like it's very specific to YouTube needs. It supports very few HTML elements and CSS properties [1]. If you think HTML5 subset implies something like HTML4 than you're going to be disappointed. It's very much specialised for div-soup-style apps.
[1]: https://developers.google.com/youtube/cobalt/docs/development/reference/supported-features https://developers.google.com/youtube/cobalt/docs/developmen...
- pennomi 2y agoYeah, looks like there’s no input or img tags. Very limited!
- jsnell 2y agoYou'd obviously need images for implementing a YouTube app (e.g. for thumbnails, icons, avatars), and the HTML subset reference[0] lists jpeg, png and webp as supported formats. Is it possible that images are to be shown using the video tag? [0] https://developers.google.com/youtube/cobalt/docs/development/reference/supported-features https://developers.google.com/youtube/cobalt/docs/developmen...
- ramesh31 2y agoIt could just be CSS backgrounds
- spdustin 2y agoI suspect that list isn't exhaustive. Searching the Cobalt repo shows support for more tags, including <img>. It also supports an on-screen keyboard (likely the platform-specific implementation) as well as game controllers and tilt sensors, so there is support for collecting user input. It is certainly meant to be a constrained platform for apps. Think of it as a subset of electron, intended for "six foot views" (i.e. television).