I have this client, who for reasons that only he could understand, recorded thousands of videos and saved them with strange extensions, ending in .ts
, .mp3
, .mp4
, .mpg
, .blib
.reuniao
, .banco
, .manut
, etc ...
Being that all are actually .mpg
video files.
Again, for reasons only he can understand I can not change anything in the files.
Now he needs to make everything available on his site as he sees the lessons ... naturally I tried to use the basics in HTML5:
<video id="video1" src="https://www.someSite.com/someVideo.blib" >
</video>
But of course it did not play, even that file being .mpg
normal ... Detail: If I change the extension of files .blib
to .mpg
, the videos run!
I tried configuring the .htaccess on the server to tell the browser the video format but I was not very happy ...
#Vídeo
AddType video/mp4 .mp4 .m4v
AddType video/mpg .mpg
AddType video/ts .ts
AddType video/blib .blib
AddType video/reuniao .reuniao
AddType video/banco .banco
AddType video/manut .manut
Now, my question ..
How can I make html5-video play the video file with different extensions?