Giter Club home page Giter Club logo

globalspeed's Introduction

Global Speed

Web extension that sets a default speed for HTML media elements (video and audio).

Install the Chrome, Firefox, or Edge extension.

Speed Control

  • Compatible with nearly all video and audio streaming sites including Youtube, Netflix, Twitch, Spotify, podcast sites, etc.
  • If pinned, tabs can have their own playback rate.
  • URL rules to automatically set a custom playback rate depending on the website.
  • Optional shortcut keys to control speed.

Media Hotkeys

  • Rewinding/forwarding, frame by frame analysis, adjusting volume, set mark, go to mark, AB repeating, and more.
  • Select what video/audio you want prioritized for media hotkeys.
  • Hotkeys can be in global mode, which allows you to control background music or PiP videos while using another program. [Chromium only]

Filters

  • Apply filters (invert, grayscale, brightness, contrast, mirroring etc) on videos or even the entire page.
  • Optionals hotkeys to toggle invert/grayscale, adjust brightness/contrast, and more.

Audio Effects [Chromium Only]

  • Effects including pitch shifting, volume boosting, EQ, and more.
  • Reverse audio to listen to backmasked messages.
  • You can delay audio to fix sync issues.
  • Configure hotkeys to adjust pitch, volume boost, and more.

Build

  1. npm install to install required dependencies.
  2. npm run build:dev build unpacked version.
  3. Load the unpacked folder
    1. Chrome: open extensions page, enable dev mode, load unpacked.
    2. Edge: open extensions page, load unpacked.

globalspeed's People

Contributors

albertopasqualetto avatar dependabot[bot] avatar describedas avatar foofapp avatar hydro63 avatar liangjiancang avatar nathan60107 avatar non-bin avatar polywock avatar zeref-dragneel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

globalspeed's Issues

[Feature Request] Change speed only on opened tab (by default) | Set specified speed on specified website

I am in love with this add-on.
I am using Firefox 72.0.2 (64bit).
Right now there is an option to pin the speed to certain tab. The only problem is that user must click add-on icon and then pin, in order to link the speed to certain tab.
I would rather have this as the default behavior, so user wouldn't have to click the pin on every page to set custom speed. It would be better like that, because right now, when multiple tabs are opened, speed is changed in all of them, rather than on the specific one, we are browsing at the time.

It would be also cool if we could set default speed per specific page or domain.
For example:

Even though we have specified the speed on the domain, the speed set for the url (on that domain) has higher priority than speed set for domain, so the video on that specific url is played at the speed of 0.5, but all of the other videos on that domain will be played at speed of 1.5.

Support for negative delay

Would be useful for misaligned video/audio of a mp4 source.

I don't immediately see an alternative to a delayNode that would make this immediately possible, since delay nodes themselves enforce positive delays. But I also don't know much about the web audio api.

Is there any way to delay the video instead of the audio of a video element? Can you seek both directions in the audio stream to mimic the delay node as a more general audio shift? Or is this extension entirely on the tab-level and it only uses the audio output of the tab as a source and can't really do anything about this problem.

Just thought I'd ask! Awesome extension by the way. Thanks!

Suggestion: Pause without showing youtube controllers

Hello! First, I'd like to say that this is the best extension I have installed so far! I installed it thinking that it would be just a regular simple extension that was just going to configure the default playback speed for all videos played after installation (because this was how I understood the description in Edge Store). But, man, I was SO WRONG! This is a very complete, complex and very well made extension with a lot more options that I could think! Thanks for your work 😊

I have a suggestion!
PROBLEM: When pausing a video in youtube, there is no way to see the frozen frame without the youtube controllers occupying a critical amount of space at the bottom of the image. This causes an issue when I want to take a print screen of that frame and there is some info in this bottom part. So, instead, I have to take a print screen while playing the video and try to get the exact moment to press the keys.

SUGGESTION: Add an option in the shortcut editor for a CLEAN PAUSE of the video.

Kind regards,

Rewinding and forwarding broken on Amazon Prime video

Rewinding and forwarding are broken (recently) on amazon prime video

Behavior:

For the first usage on the page load only rewind works, and rewinding after skipping intro doesn't work but rewinding already played video and forwarding works fine

(Essentially only part of the video which is already played once works)

By doesn't work, I mean the jump to the duration happens, after that video gets "stuck" (not paused) which can be fixed by pausing and unpausing.

Dark theme blanks out the dropdown window's text

When the dark theme is activated, the dropdown window's text gets blanked out, and you can only read the text of the option you're hovering over. Included a screenshot of the issue!

Love the implementation of the dark theme though, just a small oversight with the dropdown window's text and background!

image

Change permissions to `activeTab` rather than all sites.

I don't want to give this plugin access to read/write to every site I visit for security reasons, but I do want to be able to use it. The easiest way to accomplish this is to use the activeTab permission rather than https://*/* permission. This way the plugin will only inject into pages when I click the icon rather than auto-injecting into every page I visit.

[Bug] Indicator missing when in full screen

When I go to a website and full screen the video the indicator will occasionally not show up. I do not have problems with this feature on YouTube but seems not to work on other websites. Since all my classes have moved online I have been using your add-on to speed up lectures. These videos are usually just an mp4 file that is hosted online, nothing fancy. The rest of the add-on works: The videos speed changes, keyboard shortcuts are recognized, the indicator in the browser bar updates. When the videos are not full screened the indicator that is overloaded on the website shows up. It is only when it is full screened that is is not present.

Love the work that you have done with this extension!
@polywock

High CPU usage if there are iframes on the page

I was experiencing high CPU usage in my browser (in browser task manager it shows around 100% CPU usage). After long investigation I narrowed it down to Global Speed extension. It happens on all Chromium browsers (Chrome, Opera, Edge(ium), etc), where this extension is enabled. Disabling this extension - CPU gets back to normal.
image

For me it's really useful extension, even though there are a lot of similar extensions, but I find this one as the most suitable and with well-though options and user experience. So it would be really appreciated if it could be looked at.
One other possible option is to add filter by page where you could configure where this extension could be disabled.

一些论坛的登录和回复按钮点击无反应

具体表现为:输入账号密码后点击登录按钮没有任何反应,刷新页面后已经登录了,以及回帖时点击回复无反应。
例如:bbs.pcbeta.com bbs.kafan.cn

另外有一个建议,希望支持关闭页面后重置播放速度为1.0。

最后感谢您的付出!

Feature request : playback quality fix

Since I use more than 3.5x speed,
Youtube just change every video played to low resolution.
My bandwidth is enough, So could it be possible to make quality fix?

Do not force the speed always to be same as extension setting

For example, the website has its own speed control (0.2x-2.0x), I just want to use globalSpeed when I need speed > 2.0x.
But now, when I set the speed by website setting, the speed will change back to globalSpeed setting. Offer a option to stop fixing speed.

And I think there is a bug here, because SOMETIMES the speed will not change back. I don't know how to reproduce it.

Change default hotkeys to standard

Most video control extensions have these as standard hotkeys:
Increase speed - D
Decrease Speed - S
Adjust/Switch Speed (between normal and last used speed) - R
Seek Forward - X
Seek Backward - Z

The last 2 were already set. Would be great if you could set these new. Of course not necessary but it would be great if implemented since all other video control extensions I have used before have the same key bindings.

Issue with the latest Edge browser

Sometimes the video just rushes to the end of the buffer and stuck, while the audio plays at the target speed normally.

x3 can reproduce this frequently, more often than x2.

Both Youtube and Bilibili video play suffer.

Don't know if videos on other sites suffer.

Old speeds?

Why did you delete 3x and others. I am using them :/

Broken on MS Edge browser

I updated MS Edge browser this morning to Version 80.0.361.111 (Official build) (64-bit), and now Global Speed inverts all screen colours within any browser window. The extension worked perfectly until today, I have proven it is this extension by turning it off and refreshing the window. I've repeated this with all other extensions I'm running but this is the only one with the problem.

I hope this report is useful as I really liked this extension and would like to use it again in the future.

Bug with latest update.

The new update published on Chrome/Firefox had a bug that broke the extension for some users.

To fix:

Update to the fixed version >2.6.9 or reinstall. (warning: reinstalling doesn't preserve your settings)

Speed multiplier gets reset on Spotify

Spotify web player on open.spotify.com works temporarily, whenever the song shifts, the speed multiplier gets reset.

(Still shows right multiplier in the UI)

Requires manual speed setting for each song. (switching back and forth makes it work again for one song)

Localize indicator to the HTML5 video frame

Would be great if it were possible for the indicator to show the speed within the frame of the HTML5 video that is controlled by this extension, rather than on the top left of the page itself!

Apart from that, great job with the versatility of the extension! Love the recent updates to it as well with the feedback sound :)

Shortcut key problem

Every time I press the volume up the video pauses or unpauses.
Here are all my shortcut keys:
112
This does not happen when my pause is not B.

[Feature Request] Add import/export options button

I think adding a simple "import/export options as text" button would be a good feature to have. As the name describes, such a button would allow a user to copy the current extension options. The options could either be backed up in a file, or pasted into another browser using this extension. This would be especially convenient to chromium-based Edge users, as extension syncing is still unimplemented.

Without knowing how the settings are currently stored, (I would guess JSON), you may be able to just show a textbox connected to the file.

This isn't a huge deal, so no worries on when you can get to it. If I have some free time, I may attempt a pull request.

[Feature Request] Always pin for a domain

Feature Request

  • Allow in the configurations page for the ability to automatically pin tabs for a given domain.
  • Set default settings for the pinned domain

The main reason I think this would be a great thing to add is movie\tv websites like Netflix and Hulu that don't always buffer ahead if you have it set to a fast speed. This would let those websites be launched by default in a pinned mode, with a default speed, so that it wouldn't require the extra step every time.

@polywock Thanks for the work you have done on this project! It is fantastic.

[Feature Request] Keyboard shortcuts

Hi @polywock, I like what you are doing here. The non-intrusive speed control is a nice implementation of this concept. If i might make a suggestion on an improvement to your add on, it would be to add some configurable keyboard shortcuts.

I currently use videospeed by igigorik but I am strongly considering switching to yours going forward!

Feature Request

Keyboard Shortcuts

  • Add keyboard shortcut to increase playback speed
  • Add keyboard shortcut to decrease playback speed
  • Add keyboard shortcut to return to default playback speed

Configuration

  • Add a way to customize the keyboard shortcuts
  • Add a way to customize the default speed that the shortcut returns to

Is there a manual or something?

I am trying this add on to see if I would be able to switch completely from Chrome to Edge for good productivity.

I am exploring the features such as pin tab, state, set mark, etc and unclear on certain things like "state" and do not see any guide on this site. Thanks for this add on.

Global Speed

Global Speed doesn't work anymore on google chrome for exemple : on twitch or youtube (shortcuts and manuelly)

FirefoxExtensionProblemSince2.6.0

Hi,good tool!
But your extension for Firefox doesn't work since the version 2.6.0 released on 29th Jul 2020. On the option page of the extension, I can't see anything and the menu doesn't show when clicking the entension icon on the extension bar of firefox. And my Firefox are 67.0.4 and 72.0.2,both have the problem.

Invalid URL! (

I sometimes get this error message in youtube when i press default "S" key for set speed 1. I refresh the tab, then I can use "S" without getting any message.

yout

unable to sign in github's oauth

Hi @polywock 👋

So I've been using this extension for quite a while since I moved to the chromium-based edge. I find it pleasant to work with. I love the big icon indicators when I forward and rewind and also when I change the video speed. So thank you for making this.

Recently I discovered a weird bug, I'm trying to sign in to a repl which uses GitHub as SSO, but this extension seems to prevent it to let me sign in. If I disable the extension it works fine.

Netflix Error

Suddenly stopped working on Netflix. Functions normally on all other major streaming sites.
Happy to provide any diagnostic data.

Not sure if it will help, but I noticed that "audio rending error" is reported when trying to Youtube while a Netflix tab is open + the extension is enabled. If there is no Netflix tab, it works perfect on other sites.
Maybe Netflix pushed a change on their end?

Thanks for your help and for the great extension!

Extension does not work on Kiwi browser

The extension does not work on Kiwi browser (a chromium based android browser with extension support).
When I try to open the popup, its just a blank page.
When I try to manually navigate to the options page, its also a blank page.

Optional speed shortcut in menu

Can I set my preferred speed shortcut in menu, such as shortcut like "1.0 2.0 3.0 4.0 ". Furthermore , the step can be set as 0.5. Love this extension, hope your rely.

Feature request: audio delay on Firefox and Edge

College football season is finally here! I'm super happy to find your plugin, because I used the old (delisted) Audio Delay extension for Chrome to delay the radio game-call broadcast to match up with the cable TV broadcast.

Any chance we could get this functionality in Chromium and Edge, too?

Negative audio delay

I've added audio delay shortcuts in the settings but it won't let me bring the audio forward with negative audio delay. Would this be possible? Useful when using bluetooth speakers and there's a delay in the audio.

Firefox - State Toggle not working

I've set the state toggle hotkey to Shift+Q but when I press it, the text shows only the current state. So, if it's on, pressing Shift+Q won't toggle it to off, it keeps showing on.

I'm using Firefox 86

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.