Chrome Autoplay Policy - Chrome 76

后端 未结 3 1078
-上瘾入骨i
-上瘾入骨i 2020-12-28 17:13

I\'m building a kiosk media which runs on Chrome that plays video with audio. I know that chrome by default only allows autoplay for videos with muted props.

And i k

3条回答
  •  南方客
    南方客 (楼主)
    2020-12-28 17:56

    You can use command line code to execute chrome in kiosk mode with no-user-gesture-required:

    google-chrome-stable --kiosk http://google.com/ --new-window --start-maximized --incognito  --autoplay-policy=no-user-gesture-required --disable-features=PreloadMediaEngagementData,AutoplayIgnoreWebAudio,MediaEngagementBypassAutoplayPolicies &
    

提交回复
热议问题