I
I
illooill2020-09-25 17:46:51
YouTube
illooill, 2020-09-25 17:46:51

How to play a YouTube video on a button using js?

Here is an example of a link , but when you click, the autoplay works and immediately stops. Works correctly only in Mozilla. Thanks for any answer!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Y
Yuri, 2020-09-25
@illooill

YouTube iframe API

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question