L.Adlon Posted June 27, 2014 Share Posted June 27, 2014 And hello again.... Could someone outline for me a pretty airtight (but simple) method to have an embedded video, but ensure that it falls back to a still image if it fails? For my purposes, it's not so important that the video plays on ALL platforms, as long as it falls back on the still image. This is for a splash page... which, ideally, I want to have animating (loop)... but not at the cost of lots of code and multiple formats and such... As long as it works on 'most current browsers/systems', and gracefully falls back to a still image, that would be great. I'm thinking maybe using the <video> tag . But, that means I have to do the page as HTML5, which MAY exclude some people.... although I was surprised to see how many of the browsers my friends have (who I have testing things out for me) are seemingly HTML5 compatible already. Link to comment Share on other sites More sharing options...
newseed Posted June 28, 2014 Share Posted June 28, 2014 You can use the video tag. Google it. It will show you how to apply a text stating that the browser does not support it. You could then try replacing the text with your fallback image. 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