calzoneman / sync

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

Googlevideo support? #586

Closed cobrafast closed 8 years ago

cobrafast commented 8 years ago

Can we get googlevideo.com support?

Adding a googlevideo.com direct video URL (à la https://...googlevideo.com/videoplayback?id=...) results in

The file you are attempting to queue does not match the supported file extensions mp4, flv, webm, ogg, ogv, mp3, mov.

Example

calzoneman commented 8 years ago
  1. Usually, googlevideo.com links will not work, because they contain a signature to ensure that only your IP address can access the video (which means CyTube wouldn't be able to query it), and an expiration timestamp that means the link no longer works after 1 hour.
  2. If you're sure that the link you have will work, you can override the UI link detection by prefixing the link with fi:, e.g. fi:https://.... The link will still be verified by the server, which will return an error if it is unable to query the video. This is a limitation of the current UI for detecting link types, which was intended for people who operate their own webservers and not random links scraped from the internet.
  3. Google Drive and Google+ videos are supported natively without needing to copy and paste such links. See the wiki.