Jump to content

Lower Autoplay Video Volume

Recommended Posts

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;}

Link to comment
  • Replies 2
  • Views 322
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.