1
I have this client, who for reasons only he could understand, recorded thousands of videos and saved them with weird extensions, ending in .ts
, .mp3
, .mp4
, .mpg
, .blib
, .reuniao
, .banco
, .manut
, etc....
All of which are actually video files .mpg
.
AGAIN, For reasons that only he can understand I can not modify anything in the files.
Now he needs to make everything available on his website as he sees lessons... naturally I tried to use the basics in HTML5:
<video id="video1" src="https://www.someSite.com/someVideo.blib" >
</video>
But of course you didn’t, even though that file was .mpg
normal... Detail: change the file extension .blib
for .mpg
, the videos run!
I tried to configure . htaccess on the server to inform the browser the video format but 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 I ask you..
How can I make Html5-video play the video file with different extensions?
What @Lucasbarroso answered makes sense, see: https://media.giphy.com/media/3ohze06NBH8AQbVvS8/giphy.gif
– MarceloBoni
Most likely your problem is the video codecs
– MarceloBoni
If the edition has changed the meaning of the question, you can revert to the previous state... :)
– MarceloBoni
Explain what you wanted to know then, in my understanding it was precisely the file extension :) If it is not that, your question can be closed as unclear...
– MarceloBoni
Agora ele precisa disponibilizar tudo no site dele como vide-o aulas
This is why he did what he did. This is an uncle. And Murphy’s uncertainty principle says that the more ancient the user, the more wrong he’ll do when he has access to a computer.– Oralista de Sistemas
Hello @Renan, I like philosophy! Thanks for your input. But the question seems simpler to me. The client wants? (YES) ... He’ll pay for it? (YES) Some people can do it? (YES) The client will use it. His way? (YES) I’ll have to use that (No, use whoever you want) we can insist on him using how we found the right ?? (I don’t know, everyone spends their time as they please) Worth convincing the client? (sei la... he’s going to wear it inside his room, within four walls, with his student) then, ta solved. It’s not my money, so.
– Camila Yamamoto