videospeed icon indicating copy to clipboard operation
videospeed copied to clipboard

Video Speed Controller (VSC) icon appearing in center of video instead of corner

Open Gitoffthelawn opened this issue 4 years ago • 15 comments

For some videos, VSC's icon appears right smack in the middle of the video!

Here's a good example:
https://old.reddit.com/r/aww/comments/rc2w4g/disabled_mother_trained_her_dog_to_pick_up_her/

VSC 0.6.3.3 in Firefox 95.0.0

Gitoffthelawn avatar Dec 09 '21 02:12 Gitoffthelawn

I think it only occur in firefox 95, does not appear on my edge and safari.

ACryingMan avatar Dec 09 '21 11:12 ACryingMan

Additionally, cannot drag the controller. It happens anywhere on old reddit it seems. Does it happen on other websites?

magnus-ISU avatar Dec 16 '21 15:12 magnus-ISU

In inject.js line 276, we set top and left variables, I think debugging there will reveal more about why this happens. Also, unrelated to this bug but at line 350 www.reddit.com should match all reddits

magnus-ISU avatar Dec 16 '21 15:12 magnus-ISU

As far as I can tell, hardcoding those values to 0px instead of performing any calculation results in the correct behavior. It doesn't break anything on odysee, youtube, facebook, Crunchyroll. Twitter didn't work before or after (EDIT: works after, forgot to disable the blocklist when I tested). So I have absolutely no idea why it was like that before. @codebicycle you were the last person to edit that, what was the reasoning/need for it?

magnus-ISU avatar Dec 16 '21 16:12 magnus-ISU

Screenshot 2021-12-17 at 20 18 30

Hi sir, as you can see it still appear in the middle of the screen in netflix on firefox 95. I have uninstall and reinstall the extension.

ACryingMan avatar Dec 17 '21 12:12 ACryingMan

Here is another site that can be used as an example of this issue: https://www.epicgames.com/store/p/antstream-arcade

Gitoffthelawn avatar Dec 17 '21 13:12 Gitoffthelawn

@ACryingMan my apologies for not being clear. I finished work on the extension yesterday, but did not publish it until now for various reasons. In about 24 hours (once mozilla approves it), you should be able to go to https://addons.mozilla.org/en-US/firefox/addon/videospeed-magnus-fork/ to install my version of the addon, which has this fixed as you can see for example with @Gitoffthelawn's site:

image

It has some other changes as well. I have submitted these to the upstream chromium extension, but that hasn't been changed in 2 months. This firefox version hasn't been updated for 8 months. So I expect it will take a long time for the current, popular version of the extension to see the improvements I have created.

Like I said though, you should be able to install from the link I gave there and have it fixed tomorrow.

magnus-ISU avatar Dec 17 '21 20:12 magnus-ISU

@magnus-ISU Thanks for publishing on AMO. Not available yet, but likely in the next 12-15 hours. I didn't realize they were requiring approval of addons again. Probably a good thing, because they were getting a whole bunch of spam addons.

For those interested, here is a link to the GitHub fork created by Magnus: https://github.com/magnus-ISU/videospeed

Gitoffthelawn avatar Dec 18 '21 06:12 Gitoffthelawn

@Gitoffthelawn @ACryingMan It is listed, so you can go download it. Please if it doesn't work as expected on any sites open an issue on my repo, I will see if I can deal with it. The way I fixed this issue is different from the way the chromium upstream did it.

magnus-ISU avatar Dec 18 '21 22:12 magnus-ISU

@magnus-ISU Thank you. I'm hoping to take a look at it when I have a little time.

Gitoffthelawn avatar Dec 19 '21 02:12 Gitoffthelawn

@magnus-ISU It appears you have the issue reporter disabled in your repo.

Gitoffthelawn avatar Dec 19 '21 16:12 Gitoffthelawn

@Gitoffthelawn Thanks, sorry. Fixed.

magnus-ISU avatar Dec 19 '21 16:12 magnus-ISU

@magnus-ISU Hi sir, thank you so much for the update. Its been working perfectly as intended. Appreciate it

ACryingMan avatar Dec 20 '21 07:12 ACryingMan

I believe the issue appears again.

However, it only takes place when I open a Netflix video by using Firefox 96.0.3. With Google Chrome, it works fine.

Blagor1990 avatar Feb 06 '22 01:02 Blagor1990

yeah, It's in the middle for me too on netflix. Can't drag it off the screen. 91.8.0esr (64-bit)

deadpahn avatar Apr 26 '22 00:04 deadpahn