Alex Styl
02/19/2025, 6:19 PM<video>
from inside of compose without overlaying html.
From the hack I was able to play a video from Compose Resources in 60fps into a Compose Web app (WASM) directly without manipulating the DOM
This allows for overlaying other composables on top of it
Full code and explanation at the HTML Interop issue
EDIT: Should be possible to render any <canvas>
directly inside of compose tooSergey Y.
02/19/2025, 6:47 PMאליהו הדס
02/19/2025, 6:47 PMAlex Styl
02/19/2025, 7:02 PMAlex Styl
02/19/2025, 7:04 PMSergey Y.
02/19/2025, 7:09 PMAlex Styl
02/19/2025, 7:14 PMAlex Styl
02/19/2025, 8:18 PM<video>
ontop of the compose app, which doesnt work great (ie can't place other composables ontop and a bunch of other issues people mentioned in the HTML interop issue linked).
notice how in the attached video I shared the play/pause buttons are on in front of the video player. the compose app itself does the video rendering instead of placing a <video> on top of the appאליהו הדס
02/19/2025, 9:35 PMAlex Styl
02/19/2025, 11:01 PMAlex Styl
02/19/2025, 11:32 PMSergey Y.
02/19/2025, 11:32 PMSkaldebane
02/21/2025, 3:59 AMSkaldebane
02/21/2025, 4:05 AMAlex Styl
02/21/2025, 4:46 AM