Firefox 49: set default HTML5 video volume - gHacks Tech News

Firefox 49: set default HTML5 video volume

Mozilla has added a new feature to Firefox 49 -- currently available if you run Firefox Nightly -- that allows you to set a default HTML5 video volume in the browser.

While it is usually possible to change the volume of audio or video content using an interface that is provided on sites, browsers usually don't provide you with options to change the default volume.

Other options may be available, for instance on Windows where you can change the volume of Firefox or whichever browser you are using to adjust the volume of audio this way.

Some sites may remember the volume setting and use it from that moment on automatically (until you clear cookies or whichever system they are using to store the information).

One of the issues with web audio, and it is the same with audio on TV, is that different shows, movies or advertisement may use different noise levels.

Advertisement is usually louder than other content, but if you look at a site like YouTube, you will encounter videos that are louder or quieter than others.

Setting the default HTML5 video volume in Firefox

firefox default volume

Firefox 49 ships with a new setting that allows you to adjust the default volume of HTML5 videos in the browser.

Please note that this may not work on all sites using HTML to stream video content to your device. It has no effect on YouTube for instance currently while it works fine when HTML 5 videos are played directly in Firefox without custom player interface.

To change the default volume in Firefox, do the following:

  1. Load about:config in the browser's address bar.
  2. Confirm that you will be careful if this is the first time you open the configuration screen.
  3. Search for the preference media.default_volume.
  4. It's default value is 1.0 which equates 100% volume.
  5. Double-click on the line and a prompt should appear.
  6. Use it to change the value using the same system, e.g. 0.1 for 10%, or 0.6 for 60%.

Firefox will use the new default volume for HTML5 videos on all supported pages from now on. You can test this by opening a video page like this one to see the result right there.

It is unclear right now whether Mozilla will implement an option to change the volume on Firefox's options page, or if the preference will be the only option to change the volume. If the latter is the case, it probably will remain a good kept secret that barely anyone knows about. (via Sören)

Now You: What's your take on the volume of web video?

Summary
Firefox 49: set default HTML5 video volum
Article Name
Firefox 49: set default HTML5 video volum
Description
Mozilla has added a new feature to Firefox 49 -- currently available if you run Firefox Nightly -- that allows you to set a default HTML5 video volume in the browser.
Author
Publisher
Ghacks Technology News
Logo
Advertisement

We need your help

Advertising revenue is falling fast across the Internet, and independently-run sites like Ghacks are hit hardest by it. The advertising model in its current form is coming to an end, and we have to find other ways to continue operating this site.

We are committed to keeping our content free and independent, which means no paywalls, no sponsored posts, no annoying ad formats or subscription fees.

If you like our content, and would like to help, please consider making a contribution:


Previous Post: «
Next Post: »

Comments

  1. slowpoke said on June 4, 2016 at 7:49 pm
    Reply

    several years after tag was introduced, mozilla corp. finally adds such unbelievable feature that took thousands lines of code to implement!
    oh, i’m so exited to use such awesome app!

  2. Mark Hazard said on June 4, 2016 at 8:29 pm
    Reply

    I am happy that I can turn the sound off on those auto-play HTML5 videos in Firefox. They used to drive me crazy.
    I am still on Firefox 46, so it will be some time before I will get this new feature, but I look forward to it. I don’t like using beta software, as borne out with my recent experience with Vivaldi 1.2 64 bit. I stay on the stable channel.

    I can control the volume of YouTube videos with my mouse wheel on Opera with the “Magic Actions for YouTube Video” extension. I couldn’t find this extension on Firefox.

    1. nobody said on June 5, 2016 at 8:43 am
      Reply

      On Firefox you can use https://addons.mozilla.org/en-US/firefox/addon/youtube-plus/ which can control the volume with mouse and can do a lot more.

  3. drop said on June 4, 2016 at 9:11 pm
    Reply

    don’t all firefox have volume control on the default player? if I need to change volume the just reduce it manually.
    if you change the volume, it will be saved the next time you load a video(becomes default volume).
    works on youtube player and default player.

    1. Dave said on June 6, 2016 at 1:02 pm
      Reply

      Videos are created at different volumes, and therefore playback at unpredictable volumes. Volume setting 1 for one video can be the same as volume setting 9 for another. I’m not even going to bother explaining why normalised volume is better that the chaos that we have had up until now.

  4. Sylvio Haas said on January 20, 2017 at 8:54 pm
    Reply

    Hello, Martin!
    Happy 2017!

    Ref. item 6. Use it to change the value using the same system, e.g. 0.1 for 10%, or 0.6 for 60%.
    I’m not sure I understood it well. Does this mean that if I want a 50% volume increase I have to change the prompt from the actual 1.0 to 1.5?
    (My browser is Firefox 50.1.0)

    Thank you

    1. Martin Brinkmann said on January 21, 2017 at 7:32 am
      Reply

      Yes that is correct Sylvio.

      1. Sylvio Haas said on January 21, 2017 at 12:24 pm
        Reply

        Thank you!!

Leave a Reply

Check the box to consent to your data being stored in line with the guidelines set out in our privacy policy

Please note that your comment may not appear immediately after you post it.