balvinderz / video_player_web_hls

Supports hls on chrome and other browsers.
BSD 3-Clause "New" or "Revised" License
52 stars 60 forks source link

Player not displayed when inside a Dialog or ModalBottomSheet #43

Open fvisticot opened 1 year ago

fvisticot commented 1 year ago

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)

denis-ilchishin commented 1 year ago

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