Search code examples
javascripthtmlgoogle-chromechromiumkiosk-mode

Google Chrome 66 autoplay policy change


By newest update (v66.0) Google Chrome doesn't play audio/video automatically without user's interaction.

I'm using Chrome as desktop app in Kiosk mode without mouse/keyboard and input at all. It just displays HTML visualization page with sound included and autoplayed.

Can it be avoided somehow and played by default?

In their Autoplay Policy Changes description haven't found solution.
I was also looking for some command line switch to include it by running Chrome and also unsuccessfully.


Solution

  • Go to chrome://flags/, start typing autop in the search field, and find ...

    Autoplay policy
    Policy used when deciding if audio or video is allowed to autoplay. – Mac, Windows, Linux, Chrome OS, Android

    The option No user gesture is required sounds like it should do what you want.

    chrome://flags/#autoplay-policy