A
A
Arthur Levenson2021-07-17 13:00:37
css
Arthur Levenson, 2021-07-17 13:00:37

How to customize youtube player

I have a slider. Each slide has a YouTube video, which is added via the html widget. I need to customize youtube player. By changing the height of the player on a mobile device, as well as implement video switching using a swipe. Please tell me how can this be done?

code example: https://codepen.io/kiskiskit/pen/WNjjMwQ

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TheOnlyFastCoder2, 2021-07-17
@kiskiskit

There is a full-fledged API for Youtube Iframe for this. Here is the link:
https://developers.google.com/youtube/iframe_api_r...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question