With so many different video file formats on the web it may be confusing which one to use. Different browsers and devices often support different video formats ( audio/video codecs/containers ) so we can’t just put any file format on website and expect it to play everywhere.
Some of the most common file containers are:
This is just an overview of video formats, for detailed list of support audio and video codecs refer to this page. Video playback may further depend on video player which you are using from within the theme.
From the list above, we can see that the best choice is MP4 video. If your videos are not already in MP4 format you can use some of the free programs to convert them. One of the popular converters is Miro Video Converter.
To improve file support you may need to set MIME type on server to be sent with HTTP request when users are viewing videos. For Apache, following should be added to .htaccess file:
AddType video/ogg .ogv AddType video/mp4 .mp4 AddType video/webm .webm
For IIS, you can follow instructions on how to add MIME type from here
Copyright © 2022 | VideoBoard WordPress Theme