If you don’t have access to your server’s. htaccess file and add the following for audio support: AddType audio/ogg ogg AddType audio/ogg oga AddType audio/wav wav AddType audio/mpeg mp3 AddType audio/mp4 mp4 AddType audio/mp4 mpaĪnd similarily for video support: AddType video/webm webm AddType video/mp4 mp4 AddType video/ogg ogg AddType video/ogg ogv If you’re using something akin to Apache and you know your stuff, head to the. MIME types tell the server how to handle the different file types. For example: Įven if you have the correct media file for the browser, it’s possible that your server doesn’t have the correct MIME type set up. In order to support all of the browsers mentioned above, you should serve your video file in both WebM and MP4 using the source element. Internet Explorer 9+ supports MP4 and WebM (requires a plugin).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |