B
B
bal_square2019-12-31 19:34:02
YouTube
bal_square, 2019-12-31 19:34:02

How to make iframe autoplay with sound in Chrome?

I'm making a web page that streams from youtube, how can I make the video start playing with sound when the page is launched? If I start with IFrame without the mute=1 parameter, then the video does not start, if with it, then everything works, but then in the code, when I use .unMute(), the browser swears and stops the video, because the user did not interact with it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Rublev, 2019-01-02
@dmitryrublev

If it starts with the sound off, it's still lucky. Now this is not particularly manageable - browser developers are struggling with video autoplay, and the situation is not expected to improve.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question