Ever want to listen to a mix on the internet with a friend, and keep having to do things like "OK, hit play in 5
3" or "What timestamp are you at?"?
Then this plugin is for you!
For YouTube, MixCloud, and SoundCloud, a button will show up in the URL bar, which will create a URL and put it in your clipboard. You can then paste this URL to your friend and they will get redirected in such a way that they will sync up with you. Well, give or take a second or two, depending on how long the page takes for them to load.
Note: make sure your clock is synced! If your clock is off, it will affect how well your friends will sync up.
Note 2: Currently MixCloud isn't quite working yet, because they don't support having a timestamp in the URL, but I hope to fix that by serving a page with a widget in the near future.
How it works: when you hit the button, the URL of the currently playing video/audio is extracted, along with the current timestamp. The plugin then calculates a "zero" time by subtracting the current timestamp from the current time according to your clock. That zero time and the URL are encoded into the URL you can share. When someone clicks on the URL, the server will subtract the zero time from the current time, and append to the URL the difference so that the music will start playing at that offset.
- Gheibh an leudachadh seo cothrom air do chuid dàta air cuid a làraichean-lìn.
- This extension can write data into the clipboard.
- Gheibh an leudachadh seo cothrom air na tabaichean agad is na bhrabhsaicheas tu.