Is it necessary to write both mp4 and ogg. Can't we can have just one?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it necessary to write both mp4 and ogg. Can't we can have just one??

14th May 2017, 7:18 AM
Kundan Kumar
Kundan Kumar - avatar
4 Answers
+ 8
You can write just one, but I reccomend using both incase the browser of the user doesnt support .mp4 or .ogg
14th May 2017, 7:19 AM
Complex
Complex - avatar
+ 1
Due to IE
14th May 2017, 7:23 AM
Calviղ
Calviղ - avatar
+ 1
you can, but your browser might not support one of them, so it is recommended
16th May 2017, 8:31 PM
Michael.d3v
Michael.d3v - avatar
0
Your code must be able to compatible with all browsers. If not, then you must specify what browsers are supported for your application.
15th May 2017, 3:43 PM
George
George - avatar