M
M
MFNIK2019-02-21 13:52:58
YouTube
MFNIK, 2019-02-21 13:52:58

How to put a YouTube video on a website?

How to place a video from YouTube in such a way that before starting the video playback, there would be a splash screen from a certain frame, but as soon as you start watching, the video was shown from the beginning?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2019-02-21
@MFNIK

If you want to show videos from your channel, then the answer was written above.
If not, you can enable player control via API, put your own div with a picture on top of the iframe, hide it on click and play the video
https://developers.google.com/youtube/player_parameters (enablejsapi)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question