How to allow video autoplay in a Google Chrome kiosk app in version 66 or later

前端 未结 2 1915
清酒与你
清酒与你 2020-12-10 11:27

As of version 66 of Google Chrome onwards it will no longer automatically start playback of audio and video files when the playback volume is not muted.

This change

2条回答
  •  余生分开走
    2020-12-10 11:52

    It turns out that the end user will have to enable automatic video playback manually, by:

    1. upon startup pressing Ctrl+Alt+S
    2. logging in
    3. opening a Chrome browser and typing: chrome://flags/#autoplay-policy
    4. changing the "Autoplay policy" from "Default" to "No user gesture is required"
    5. pressing "relaunch"
    6. rebooting the device

    From now on autoplay works again in webview components used in your app.

    See this comment thread about this topic by Google.

提交回复
热议问题