Rip your player's face off
summary
Argues for ripping a monolithic player into a separable UI and media element, showing concrete demos: Web Components + ES6 expose a video-tag‑compatible API, a media controller mediates between UI and media, and dumb components like a media-play-button emit events rather than touch media directly. Implements hls-js and a YouTube wrapper as interchangeable media elements, and a media-chrome component library and media-ui-extensions repo host the work. Demos run and swap elements successfully, proving the architecture is practical not just theoretical.
AI-written summary · about
chapters (5)
related talks
24mIt's time to rebuild your player with web components
22mNo More Player: Reinventing Video.js for the Next 15 Years (Sorry, Plugins!)
40mScalable JavaScript architecture
16mHow to be a Player (on the Internet). The making of Yahoos universal JS media player.
25mChoosing the Wrong Abstraction (And What It Cost Us)
19mAudio, Video, and Elm - Best Practices for Multimedia
35mHTML5 APIs - The New Frontier
14mReusable UI Components in a Framework Multiverse
