GithubHelp home page GithubHelp logo

puddingspudding / persistent-video-volume Goto Github PK

View Code? Open in Web Editor NEW
22.0 5.0 5.0 215 KB

saves video/audio volume

License: MIT License

JavaScript 57.39% HTML 32.35% Shell 10.25%
volume-control persistent 9gag facebook chrome-extension volume

persistent-video-volume's Introduction

Persistent Video/Audio Volume

Features

  • ✔️ Saves volume settings for each website and applies saved volume on every visit
  • ✔️ Or limit volume to a set maximum
  • ✔️ Privacy - Does not track any activity

Use cases

  • ✔️ Facebook.com
  • ✔️ 9gag.com
  • ✔️ Bandcamp.com
  • ✔️ ... and many more

Credits

Build

Dependencies

# ./docker-build-dep.sh MATERIAL_COMPONENTS_WEB_VERSION 
./docker-build-dep.sh 7.0.0

Package Extension

# ./build.sh MATERIAL_COMPONENTS_WEB_VERSION PACKAGE_VERSION 
./build.sh 7.0.0 0.11.0

persistent-video-volume's People

Contributors

gitoffthelawn avatar puddingspudding avatar thomasdecavele avatar

Stargazers

 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

persistent-video-volume's Issues

disable sound

Hi, for all the websites I visit or hear sound for first time the sound is disable until I choose enable the volume from the addon menu (and then yes keep as intented) and then can only change (using the control from menu addon works in pause and playing) the volume using the audio/video control volume if the content is playing if not is reset to the previous state.

[Suggestion] Per Site Config

Being disabled by default, and if enabled for a particular site, keep the volume level only for that site. Ex: 100% always(disabled), Facebook 75%, Youtube 80%, Tumblr 50%. etc. without having to change it everytime. That would be very nice, especially for site where audio playback have no volume control, like Tumblr and gaming webpage where you can only turn it on/off.

Does not work

It totally does not work on Ubuntu 18.04 and newest FF. Volume settings in extension are completely ignored

Very low volume, possible bug on Firefox 66.0b3, Windows 10

Hello, on Windows 10 and Firefox 66.0b3 64bit (beta) i have 0.9.1 version of the plugin and i see youtube videos play with almost no sound volume, when i move the volume slider it raise volume, but only for a second or so, then again nearly mute the volume.

When i disable this plugin/extension, this issue no longer exist.

Ability to disable auto volume adjust.

I'm sorry where in the description did it tell that the add-on will fiddle with per-site volume however it wants? Right now if I 100% Youtube video the site volume is just 55%. Same with a bunch of other sites, not to mention volume blasts that happen if you adjust volume in a separate tab of same website.

Just an option to disable it would be enough.

Can't adjust volume

I'm using this on Dailymotion and it appears to work but the problem is when it's enabled the volume on the site can't be adjusted.
I have to disable it to be able to adjust the volume with the Dailymotion slider control.

Voting

To further improve the user's experience there is a decision to make.
I'm not sure if a global audio volume (as it is right now) or a per website based volume should be implemeted.

Please vote using +1 in the comments below or suggest any other idea.

Thanks

Website Volume Randomly Changing

I have the volume for YouTube set to 1% but this will change to 21% at random, shattering my ears and crushing my dreams of being an astronaut. Hopefully this can be fixed soon ^^

Dailymotion

Unfortunately Dailymotion doesn't save the volume level after a browser restart. It defaults back to full level. I've been caught out several times with it blasting at full volume.

I like the usefulness of this extension but unfortunately disabling the native volume control makes it a bit awkward.

music.youtube.com

Frequenty bug: every few minutes
Bug:enabled website to any x %, for example 50%, then after about a few minutes it resets to 100%.

Repeatable: yes, very, very consistent

Link website where bug happens: music.youtube.com
Also:

Cross reference with other websites: i notice a sudden increase in volume then going back to pre-set volume, this happens with some other websites that are not music.youtube.com.
The difference with music.youtube.com is, that those other websites go back to the pre-set volume % again, but with music.youtube.com it will not go back, it will just jump to 100%

Seems there are 2 bugs here....

Feature request: whitelist of websites

Is it possible to make a whitelist of websites, meaning that the addon will work only for the websites in that list? I use an addon for YouTube and PVV creates a conflict with it, which is why I'd like to be able to disable PVV for YT. The easiest way for that is to have a whitelist.

Enable on temporal audio instances

Some websites don't create media(video/audio) elements on their HTML tree. They create temporal audio elements on click events.
https://soundcloud.com/
https://www.myinstants.com/

Does this code help?
(It works on both sites above)

Audio.prototype.originalPlay = Audio.prototype.play;
Audio.prototype.play = function(){
  this.volume = 0.1;
  this.originalPlay.apply(this, arguments);
}

But I couldn't figure out how to change the volume on this site:
https://poki.jp/g/drive-mad

Works on most sites except Pr0nhub ;)

The firefox version doesn't work (remember its settings) for PH on latest firefox (111.01) or earlier builds but the version for chrome works fine. Is there a fix? Tried un-installing/re-installing multiple times. Sometimes I'm browsing late at night on PH then suddenly I'm blasted by a wall of sound letting the neighbors know what I'm doing lol

Firefox freezing

The latest version 0.8.1 is still causing Firefox to freeze and then throw up various script not responding messages.

At the moment I'm having to use the videovolume extension instead of this extension.

Cannot track new windows.

I open a new window and it cannot interact with any website in that window. It is only able to interact with the first window. It opens and only recognizes my current selected tab on the first window.

Volume resets

I've noticed this issue since yesterday so it's probably been introduced with release 0.7.1 (on Firefox x64 61.0.2): after some time the volume resets to an earlier configuration (ex: originally set at 8%, manually changed to 30% then x minutes after it's back to 8%).

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.