E
E
Ekaterina2021-07-10 14:14:46
JavaScript
Ekaterina, 2021-07-10 14:14:46

Fansybox4 how to set up youtube video in js?

Hello. As I understand it, a new fansybox4 has been released and it is based on regular JS. The third was on jQuery, but now it has changed and I'm at a dead end.
I added a video from youtube to the site, I want to set it up so that the video starts automatically as soon as you click the link. From what I understand, this should be the default. But I don't.
The question is what is wrong in my code, most likely in the JS part, that I cannot change any video settings, such as automatic playback, remove the play bar at the bottom, and the like.
I didn’t download the picture with the icon on the link, but the video itself loaded. https://jsfiddle.net/sp5t8f6w/

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question