Sync-Video >> Watch videos with friends >> Sugestions

0 votes

Have the server depend on the media MIME type instead of the URL extension for determining media type suggestion

I want to play back files hosted by google video and i think blogpost also. The files themselves are MP4, and the MIME type announces this, but when i try to play it on sync-video, it won't play back because the extension isn't .mp4 or .flv. It would be neat if the server could grab the file headers and determine from there the MIME type. I don't think it's more costly for the server to do it this way.
An example is

There's a chance that the URL redirects to another one, but I don't think it would be costly to server-side follow the redirect down a single level and check the MIME there.

Anonymous 2016-12-15 22:00
Report abuse

Add Comment