vvvv / VL.CEF

Set of nodes to use the Chromium Embedded Framework (CEF) in vl
12 stars 1 forks source link

Does not respect autoplay in Youtube Embedded #12

Closed seltzdesign closed 1 year ago

seltzdesign commented 1 year ago

As noted here: https://discourse.vvvv.org/t/vl-cef-autoplay-youtube-video-not-working/21294/3, VL.CEF somehow blocks autoplay from working in Youtube embedded.

It works fine in other Chromium-based browsers like Brave.

Unless there is a very good technical reason, I believe it should respect autoplay and start playing an embedded video.

seltzdesign commented 1 year ago

Seems like there is a solution in this thread: https://bitbucket.org/chromiumembedded/cef/issues/2478/autoplay-policy-flag-not-respected (last comment)

seltzdesign commented 1 year ago

Note: autoplay does work with the flag mute=1 set in the URL. It would be great to be able to autoplay with sound, which would only be possible with the autoplay policy flag being set.

Thanks for considering this improvement and opening up more possibilities in VL.

azeno commented 1 year ago

You'd add that switch to VL.CEF.Renderer/WebRendererApp.cs and build this project manually. I am currently not available until next week.

azeno commented 1 year ago

Fixed in VL.CEF.0.5.0-preview.3