M
M
Maxim Ivanov2020-11-30 20:56:44
css
Maxim Ivanov, 2020-11-30 20:56:44

What is the best way to make such a block with a video?

5fc532689bbbc411739087.png

Let's say that the person did not say how the video block will work, then what is the best way to do it?
The first option:
When you click on the "Play" button, the button itself and the blackout on the video are removed, and only then the video starts to go.
Second option:
When you click on the "Play" button, the background (rgba) is darkened and the block with the video is enlarged to almost full screen and then it is played.

Or is it no longer a concern for the front-end developer, but simply to make a block + a button?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex, 2020-11-30
@Kozack

In my opinion, spontaneously increasing the video without the user's request is a bad decision. Let the user decide whether to increase or not

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question