Jump to content

How can I specify width/height <video controls > ?


vmars316

Recommended Posts

 

Hello & Thanks ;

                     <video  controls >
                      <source src="./Html-Color-Names-Tutorial-Files/Html-Color-Names-Tutorial.html.mp4" type="video/mp4">
                      <source src="../Html-Color-Names-Tutorial-Files/Html-Color-Names-Tutorial.html.ogg" type="video/ogg">
                    Your browser does not support the video tag.
                    </video> 

This video is so wide that I can not see it all without moving bottom bar .

How can I specify width/height ?

I see no such option in video controls .

Thanks

 

Link to comment
Share on other sites

Ah yes ,

<style type="text/css">
#video1{
  object-fit: initial;
  width: 800px;
  height: 600px;
}
</style>

Works great !  THANKS 

 

PS: Here's what I am working on: 

http://vmars.us/freeware/HtmlCodeAssist/Html-Color-Names-Tutorial.html

A friend asked me to help with an Acrobat prob :

There is apparently no pdf-editor 'known to mankind'  

that can convert 'highlighted .pdf TEXT' 

into  'highlighted .html TEXT' ,  properly .

Most turn text into images . 

Anyways , my little program HtmlCodeAssist.exe 

makes that task easier .

As Always , Thanks for your help .

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...