π Just launched a Kotlin Multiplatform (KMP) library for video playback on the Web! π₯
After struggling to find a truly native and flexible way to play videos (MP4, HLS, DASH/MPD, etc.) on the web via KMP/WASM, I decided to build one myself β introducing VideoWeb-KMP π§©
π‘ Why this matters:
We have great video players on Android/iOS, but Web support in Kotlin Multiplatform is still lacking, especially when it comes to multimedia. Most solutions require manual setup, inline JS, or modifying your index.html β not ideal.
π― What VideoWeb-KMP offers:
Supports All Video, MP4, HLS (.m3u8), and DASH (.mpd), even live(although not tested) out of the box
Built on top of Video.js, but fully Kotlin-idiomatic
Works with WASM, no dynamic, no JS hacks, no global scripts
No need to touch your index.html β everything is dynamically injected & cleaned up
π Next up: Add support for Kotlin/JS targets alongside WASM
π Try it, break it, improve it:
π GitHub:
https://github.com/TheReprator/VideoWeb-KMP
π Works with Compose for Web and other Kotlin/WASM use cases.
If you're building a video-heavy KMP app targeting web, Iβd love your feedback!
#KotlinMultiplatform #WASM #VideoStreaming #ComposeForWeb #VideoJS #OpenSource #HLS #MPD #KMP #KotlinWasm #DevTools #DeveloperExperience #MediaStreaming