0

Why video autoplay not working in some browsers?

video autoplay is not working in internet explorer & safari browser

9th Nov 2016, 7:26 AM
Haresh Suralkar
Haresh Suralkar - avatar
1 Antwort
0
Often you'll encounter HTML features that won't be read by every browser, this is to be expected, and that's because people developing browsers and people developing HTML are not the same team, so before a new feature gets implemented everywhere we'll have to wait a bit. Now if people don't update their browser to the latest version, they obviously won't be able to get the newest features working. First thing you need to do is to check compatibility of the desired feature on the different browser, a good tool for that is http://caniuse.com then you may want to use fallbacks (property that is supported by older browser put before the newer property, so older browser will get the first property and ignore the second while the newer browser will overwrite the first property with the second) and polyfills (javascripts that will work like the property you want to use). BUT specifically with videos, you want to be sure the video format is supported on the different browser, and you better put several formats with the fallback approach. All of this may be pretty obscure right as I'm very synthetic here, so you better do your google with the key words I gave you (browser compatibility, fallbacks, polyfills, web video formats).
9th Nov 2016, 8:45 AM
Sleuvin S
Sleuvin S - avatar