Flexible Video On screen Via HTML Responsive

The HTML draft specification introduced the video element for the purpose of playing videos or movies,partially replacing the object element. HTML video is intended by its creators to become the new standard way to show video on the web without plugins.

 

Source Code

 

source
image-2504

CSS

Here I consider the total width as 700px;

 

css1
image-2505

So, Initially screen shot browser- Zoom 75%

zoom-75
image-2506

Where as – Zoom 100%

 

zoom-100
image-2507

 

Here the code for responsive, lets check it,

 

css2
image-2508

 

and screen shot – zoom 150%

zoom-150
image-2509

Here the video wrapper to 600px which is fixed for 800px initially,

 

css3
image-2510

In browser – Zoom 400%

zoom-400
image-2511

Finally both the fixed videos are at the same width(600px).

No comments yet.

Leave a comment

Request a Free SEO Quote