The best Responsive Web Design - Video (Video) Tutorial In 2024, In this tutorial you can learn Use the width attribute,Examples,Using max-width property,Examples,Adding video page,Examples,
If the width attribute is set to 100%, the video player will be automatically adjusted in proportion to the screen size:
Note that in the above example, the video player is automatically adjusted in proportion to the size of the screen and can be larger than the original size. More often we can use the max-width property instead.
If the max-width property is set to 100%, the video player will be automatically adjusted in proportion to the screen, but no more than its original size:
We can add a video in a web page. The following examples and video is automatically adjusted according to the region occupies the entire div div area size: