Set HTML5 media player volume

Script to set the volume of <video> and <audio> elements to reduced value (defaults to 50%), with a menu item to change for the current page.

< Відгуки до Set HTML5 media player volume

Відгук: OK - script works, but has bugs

H K
§
Опубліковано: 11.04.2019

This only works after refreshing the page

As you enter the youtube homepage and click on one of the videos the script would not be ran. It would only be ran when you reload the page

Jefferson ScherАвтор
§
Опубліковано: 12.04.2019

Hi H K, sorry, I haven't kept up with Google's player for a long time now.

I think there is some kind of timing issue. Either YouTube is updating the volume after the script runs, or Firefox isn't ready for the script to set the volume yet so it is ignored. I can't find a quick fix, so this probably will stay broken. Hopefully you can find another one that works with the current YouTube design.

Опублікувати відповідь

Sign in to post a reply.