Hendre Page
09/17/2024, 7:14 PMHans van Dodewaard
09/17/2024, 7:18 PMAlbert Chang
09/18/2024, 3:08 AMHendre Page
09/18/2024, 2:43 PMOliver.O
09/18/2024, 6:27 PMCompose multi-platform only supports WasmJs for the web.Not true, you can use Compose Web on the JS target instead of Wasm: https://kotlinlang.slack.com/archives/C01F2HV7868/p1717017795372079?thread_ts=1716859498.581779&cid=C01F2HV7868 If a cross platform media player is meant to work like other Composables on Mobile, Compose HTML is not an option. It has an entirely different API. Best starting point to explore it are the examples: https://github.com/JetBrains/compose-multiplatform/tree/master/examples/html The well known multiplatform Compose (sometimes referred to as "Compose UI" to distinguish it from Compose HTML) in the browser is Compose Web. It renders its stuff into an HTML canvas element. Theoretically, you could create a Composable that layouts a placeholder area in Compose Web, then place a carefully positioned HTML overlay on top of that, but it's probably not going to be easy.
Oliver.O
09/18/2024, 6:43 PMHendre Page
09/19/2024, 8:47 AM