Answer the question
In order to leave comments, you need to log in
What is the best way to make such a block with a video?
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
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question