4 ms·
HTML5 has every one of those features (DRM not so much, though it's possible with binary XHR Blob buffers, but there's no point to do that as users could easily
by Sephr 16y ago
HTML5 has every one of those features (DRM not so much, though it's possible with binary XHR Blob buffers, but there's no point to do that as users could easily steal video data from the decoded output canvas).
Webcams and microphones can be accessed via the HTML5 <device> API, cross-domain requests can be done with HTTP Cross-Origin Resource Sharing (CORS), which is arguably much nicer than Flash's cross-origin policy XML file solution, and multithreading can be done with web workers.
- kj12345 16y agoCool, didn't know CORS was implemented so widely, and its true about WebWorkers. But Chrome doesn't support <device> yet, or DRM. (I only mention DRM since the Youtube team says its one reason they can't fully move off Flash).
- Sephr 16y agoI thought the only reason YouTube hasn't isn't fully supporting HTML5 was ads. Afaik, YouTube doesn't use any DRM whatsoever.
- kj12345 16y agoApparently they use it for movies and other proprietary content: http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html http://apiblog.youtube.com/2010/06/flash-and-html5-tag.html