5

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.

swolfish
  • 771
  • 1
  • 9
  • 25

1 Answers1

4

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

CBroe
  • 91,630
  • 14
  • 92
  • 150
  • 6
    Yeah, it works by forwarding `--autoplay-policy=no-user-gesture-required` command line switch. – swolfish Apr 19 '18 at 11:23
  • 1
    lifesaver man! that policy is necessary to prevent abuse, but kiosk applications are a different sport – rupps Aug 01 '18 at 10:27
  • 1
    This flag was removed from settings in Chrome 76. For now the only solution seem to be the `--autoplay-policy=no-user-gesture-required` command. – Milan Švehla Aug 19 '19 at 22:02
  • @MilanŠvehla but how do you pass this in andorid then? – M.C. Feb 08 '23 at 08:34
  • 1
    @M.C. not sure that is at all possible. The original context of this question was a "kiosk" application using the desktop version of the browser. Those flags are passed to the executable via the command line, I doubt there even is any equivalent for that on Android. – CBroe Feb 08 '23 at 08:55