I want to let my users upload a video (and after uploading watching it). The video is saved on the server. However, to let every user watch the video with <video>
, I have to make sure I offer the video in 2 extensions, namely .ogg and .mp4 see www.w3schools.com.
how do I save the same file twice, but with different extensions, and how to convert them to the other extension in php?
I thank you for your time.