Home>

The mp4 video is embedded in the html as follows.

<video src = "shared/video/top_video.mp4" autoplay = "" loop = "" poster = ""></video>

When I load the page, it plays automatically.
At this time, there was a request to play at "low volume".

Instead of adjusting with the video controller or the volume button on your PC
It seems that he wants to play at "low volume" when it is played automatically.
For example, it is an image that I want to play at a volume of about 40% from the maximum volume.

Is it possible to do that in the first place?
I did not find a hit when I looked it up (although it may be wrong)
In the first place, we do not know whether it can be implemented or not.

If anyone knows how to implement it, I would appreciate it if you could let me know.
I can't do it in the first place. I would appreciate it if you could let me know.

  • Answer # 1

    I don't know what browser I'm trying with, but in Chrome, autoplay doesn't work unless it's muted, so the volume during autoplay is 0.

    Why not play () after setting volume to 0.4 with javascript instead of autoplay attribute?

  • Answer # 2

    When thinking about whether something can be implemented, I think we should consider whether there is something in the world that has such a function.
    If you don't think of it right away, you can think of it as something that isn't feasible or very difficult.

Related articles