Jump to content

Style video tag with CSS


Recommended Posts

How do I style the video tag when it comes to 'control', 'preload' and 'autoplay'.

I have tried this:


figure video { box-shadow: 6px 6px 3px Gray; /* #888888 */ border: 1px solid Gray; padding: 6px; margin: 6px; allowfullscreen: true; controls: true; preload: auto; autoplay: false;}


Controls, preload and autoplay don't work. Have I used the wrong format?



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...