B
B
bro-dev2019-01-30 21:15:28
YouTube
bro-dev, 2019-01-30 21:15:28

How YouTube bypasses Autoplay Policy?

How YouTube bypasses Autoplay Policy? I understand that YouTube belongs to Google, but is this one hardwired into chrome? Yes, it is written there that sites fall into a trusted group if the user sits on them a lot, but chrome will launch a video on YouTube even clean.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Somewhere Intech, 2019-01-30
@john36allTa

How about this option?

btnPlay.onclick = function(){
    videoElement.play();
}
setTimeout(btnPlay.click, 2000);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question