calzoneman / sync

Node.JS Server and JavaScript/HTML Client for synchronizing online media
Other
1.47k stars 232 forks source link

Support for mp4 links not ending in mp4 #440

Closed newusernamenotme closed 9 years ago

newusernamenotme commented 9 years ago

When adding a link like this that does not end in .mp4, the software refuses it. It still has the MIME type of mp4, though, and should be able to play. Is there a way to have the software detect MIME types instead of extentions, or a way to edit the link so the software will still handle it?

calzoneman commented 9 years ago

The particular link that you gave as an example looks like the links you get from Google Docs or Google+ photo albums. Those are both supported by CyTube without the need to add the direct video link.

For google docs, add the http://docs.google.com/file/d/(file id)/edit link.

For google+, right click the preview on the post and copy the link.

calzoneman commented 9 years ago

It turns out that you can actually do this thanks to a recent change.

Add your link as fi:http://link/to/file and it won't complain about the file extension.