hcccs Posted March 31, 2015 Share Posted March 31, 2015 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 More sharing options...
dsonesuk Posted March 31, 2015 Share Posted March 31, 2015 You have to create inputs outside the video tag itself, and use javascript to control playback, pause etc by these inputs and disable the video default controls, unless javascript is disabled.You can then style these inputs as required, check outhttp://www.creativebloq.com/html5/build-custom-html5-video-player-9134473 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now