-1

I have a website that will involve the user uploading a video file which can then be viewed on the website, will i have to convert the file into different formats so it can be viewed in different browsers? or can i just play mp4, ogg and mov files on all browsers?

1 Answers1

0

you have few options.

  1. Restrict user to upload only known/popular video format. Such as mp4,avi,3gp

Chrome = 3gp, .avi, .mov, .mp4, .m4v, .m4a, .mp3, .mkv, .ogv, .ogm, .ogg, .oga, .webm, .wav

Firefox = mp4, WebM, Ogg.

IE = mp4, no Ogg

Safari = mp4, no Ogg.

  1. use FFmpeg converter to convert any non supportive format to mp4. Most browsers can play mp4 format.

http://www.ffmpeg.org/

Alex
  • 1,052
  • 1
  • 11
  • 22