Jump to content

As the title suggests, I created a userscript to implement resuming a video where I left off. Why? I re-opened my browser and had to re-find my current progress on the WAN show a few too many times, and got annoyed at myself enough to do this. It's an extremely hacky implementation and has only one purpose; work well enough until the new player is live. (Knowing my luck, that will be tomorrow).

 

Enough preamble.

First things first

DISCLAIMER: Never download any unknown scripts, especially from non-trusted sources. They can be extremely malicious, and you will put your device and data at an increased risk of being destroyed, stolen, and/or corrupted. I am not responsible for what you do with any userscripts, extensions or other software that you acquire.

How to get it:

Read all steps before doing anything.

1. To run the script, you will need an extension like Tampermonkey. Once again, userscripts are inherently dangerous, be on your guard. https://www.tampermonkey.net/

2. Read all the info on the page and look through the code in the Code menu option: https://greasyfork.org/en/scripts/453235-floatplane-resume

3. If you deem the risk worth it, press the "Install this script" button.

 

Why is there a bunch of warnings throughout this text?

Userscripts are extremely powerful tools but should be treated with respect as they can be used for a lot of bad. Just like downloaded executables and random websites should be treated with caution, so is the case for extensions and userscripts.

 

Known Limitations and bugs

  •     The resume occasionally doesn't work. - No idea why this happens, but I added a text just above the video title that shows what time the resume was attempted at, so you can do it manually if the button fails.
  •     No cross browser/device tracking. - This would take a lot of time and is out of scope for this quick hack.
  •     Clicking the resume button or the trash can will remove the tracked data permanently - Once again, this is a quick and dirty hack and not a permanent solution.

 

Example of the resume button at the top left of the player.

Two buttons added to the top left of the floatplane.com video player. One saying Resume from 00:02:49 and the other has a trashcan symbol on it.

 

When resumed, a text will be added below the player as a backup in case the player fails to start.

A video playing on Floatplane.com with a text added above the video title that says: Resumed at 00:02:49

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×