Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
Close_Notes

Lower Autoplay Video Volume

Question

I am embedding a video on my page and using autoplay feature, however, I want to be sure the volume is automatically lowered. I know there is probable a CSS code that does this. I found the following code but I need to use my block ID and can't figure out how.

#block-yui_3_17_2_1_1590117024504_74511

/* video volume on auto */
{var video=document.getElementById(#block-yui_3_17_2_1_1590117024504_74511);
  video.volume=0.1;}

Share this post


Link to post

2 answers to this question

Recommended Posts

  • 0

The block ID is: #block-yui_3_17_2_1_1590117024504_74511

I inserted it in the snippet of code I pasted but it looks like it's searching for an element ID.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...