G
G
Gagatyn2018-08-06 17:12:48
YouTube
Gagatyn, 2018-08-06 17:12:48

How to fit youtube poster to width and height?

Hello! How to adjust the image (poster) to the width and height of the block. When you change the scale, the picture becomes in the center and dark stripes appear on top, respectively. I tried using media queries to change the height, but this is probably not an option. Tell me please.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hesrun, 2018-08-06
@hesrun

https://iandevlin.com/blog/2013/03/html5/html5-vid...
Here is an article on this topic... There is also an example

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question