YouTube embed: How to enable *non-muted* autoplay in Chrome for Android

梦想的初衷 提交于 2019-12-19 10:47:51

问题


This question is basically the same as this one which has a solution for HLTML5 videos, except that changing the chrome://flags to set gesture requirement for media playback to disabled has no influence on a YouTube embedded player.

I have built a webapp I use to learn music, and loop specific parts of Youtube music videos to learn how to play the song. Here is an example. This works fine on a computer, but using Chrome (59) on Android (7.1.1) I have to tap the video each time it starts again to put the sound back on. Not handy when trying to use my hands to learn playing the music ;)

The code I'm using to embed the player and interact via Javascript can be found here.

来源:https://stackoverflow.com/questions/45264838/youtube-embed-how-to-enable-non-muted-autoplay-in-chrome-for-android

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!