balvinderz/video_player_web_hls

Player not displayed when inside a Dialog or ModalBottomSheet

fvisticot opened this issue · 1 comments

I have no issue to display the VideoPlayer in a Web page.

When I tried to display the same player inside a Modal dialog (with showDialog) or from an ActionSheet (with showModalBottomSheet) the video is not displayed nor played.

For information the controller is corrected initialized (I get the video duration)

Not really useful exactly in your case, when the video doesn't even play, nor to video_player_web_hls package itself. But for those who struggling with making player display in dialogs, modals, on top of other things, etc., that maybe because of how canvaskit web renderer works. Try with html renderer. That solved a lot of problems for me on web, especially with different transition effects, layer transparency and blur filters over video element