The HTMLMediaElement (

The HTMLMediaElement (Mainly <video> and <audio>) contains a “volume” property.
This property is set by the browser and seems to have a default value of max (1.0).
This “volume” property can be modified via JavaScript, by simply set a valid value between 0 and 1.
It seems that it is sometimes altered on videos such as in YouTube adverts.
The reason for this is described in the AI conversation I shared below. To summarize, advert owners seem to have the ability to change the volume.


The following is an AI chat conversation regarding the topic stated in the title.
Depending on the quality of the conversation, modifications may have been made. Modifications may or may not be stated in this page.


There is a “volume” property on HTMLMediaElement elements. It can be modified. When playing a YouTube video, I checked the value, and it was 0.4415704270182424. Is this value the default value? Can this value be changed at a browser or browser extension level? Can this value be changed at an OS level? Why is this valued used, and not a max value of 1?

No, the value you observed (0.4415704270182424) is not the default value for the volume property on HTMLMediaElement elements. The default value is 1.0, which represents the maximum volume.

Here’s a breakdown of your questions:

Can this value be changed at a browser or browser extension level?

  • Yes, the volume property can be changed through both browser settings and browser extensions. Browsers usually have volume controls built-in, and many extensions offer additional functionalities like volume normalization or specific volume adjustments for certain websites.

Can this value be changed at an OS level?

  • Yes, most operating systems have system-wide volume controls that apply to all applications, including web browsers. Adjusting the system volume will also affect the volume of HTML media elements.

Why is this value used, and not a max value of 1?

There are a few reasons why the specific value you encountered might not be 1.0:

  • Initial volume setting: Some websites or video players might have a different initial volume setting than the browser default.
  • User interaction: The user might have previously adjusted the volume using the browser controls, an extension, or the system volume, resulting in the value you observed.
  • Automatic volume adjustments: Certain browser extensions or system settings might automatically adjust the volume based on various factors like ambient noise level or user preferences.

It’s important to note that while the volume property technically allows values between 0 (muted) and 1 (maximum), some browsers or extensions might use a different scale or apply additional logic, potentially leading to non-intuitive values like the one you observed.


The value was that when viewing an advert on YouTube. Was the value that because of being on YouTube, or the advert?

The observed value (0.4415704270182424) for the volume property in your case is likely not directly caused by being on YouTube itself, but rather due to the specific advertisement you were watching or previous user interaction. Here’s why:

  1. YouTube doesn’t automatically adjust volume: While some websites might have their own initial volume settings, YouTube itself doesn’t have a known feature that automatically adjusts the volume for specific content like advertisements.

  2. Advertisers control their content: Advertisements on YouTube are uploaded by individual companies or agencies. These entities have control over the audio levels within their ads, which could explain the specific volume level you observed.

  3. Past user interaction: As mentioned earlier, the volume property could have been previously adjusted through browser controls, extensions, or system settings, impacting the value you saw even during the ad.

Therefore, the specific value you encountered is more likely a combination of:

  • The volume level set within the advertisement itself.
  • Any previous volume adjustments you or your system made.

It’s important to note that while there are no regulations directly mandating specific volume levels for online advertisements, many users find sudden changes in volume disruptive. YouTube itself offers a feature called “Stable volume” that aims to reduce volume fluctuations between videos and ads. However, it’s ultimately left to individual advertisers to be mindful of their ad’s audio levels to create a positive user experience.

When using Ebay.com, how can I promote my own webpage/business?

I asked Bard AI, and got the following interesting response:


There are a few ways to promote your own webpage/business when using eBay.com:

  • Include a link to your website in your “About Me” page. This is the most important place to include a link to your website, as it is the most likely place that potential customers will look for more information about you and your business.
  • Mention your website in your listings. You can do this in the description of your listings, or in the Q&A section. Be sure to explain why potential customers should visit your website, such as to view more products, get better deals, or learn more about your company.
  • Use eBay Promoted Listings. This is a paid advertising program that allows you to promote your listings to a wider audience. You can target your ads to specific keywords or demographics, and you can set a daily budget.
  • Offer discounts or promotions to eBay buyers who visit your website. This is a great way to incentivize buyers to leave eBay and visit your website, where you can offer them a better deal or a wider selection of products.

Here are some additional tips for promoting your webpage/business on eBay:

  • Make sure your website is well-designed and easy to navigate.
  • Offer competitive prices and shipping rates.
  • Provide excellent customer service.
  • Respond to buyer inquiries promptly and professionally.
  • Get positive feedback from buyers.
  • Be active in the eBay community. Participate in forums and answer questions from other buyers.

By following these tips, you can use eBay to promote your own webpage/business and reach a wider audience of potential customers.

Here are some things to keep in mind when promoting your webpage/business on eBay:

  • eBay does not allow you to include links to your website in your listing titles or descriptions. However, you are allowed to mention your website in the Q&A section of your listings.
  • You are not allowed to advertise your website in a way that is misleading or deceptive. For example, you cannot claim that your website is the “official” website for a particular brand or product.
  • You are not allowed to spam eBay buyers with messages about your website.

If you have any questions about eBay’s policies on promoting your website, you can contact eBay customer support for assistance.


The following really sticks out as useful:

  • Promotion in “About me” page.
  • Mention website in Q&A section of listings.
  • Don’t mention website elsewhere.