38d8c03f17
Adds real video playback to the bskyembed iframe embed system: - Lazy-load the video player using preact/compat lazy/Suspense so hls.js and all player code are in a separate chunk, keeping the default bundle small - Full video controls: play/pause, scrubber, volume, fullscreen, time display - HLS.js integration with bandwidth estimation and error handling - GIF presentation support with simplified controls - Thumbnail + play button shown until user clicks to activate the player - Ported patterns from the main app's web video player, adapted for Preact + Tailwind (no React Native, no ALF, no Lingui) https://claude.ai/code/session_01Mva57VZnFgdaQ7LPPoVNsP
Run / Test
Install dependencies:
cd bskyembed
yarn
Run the dev server:
yarn dev
You can see the embed homepage at http://localhost:5173
Testbed
In another terminal window, run the snippet dev script:
yarn dev-snippet
You can then see the testbed page at http://localhost:5173/test