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
  • Created
  • Last Reply

Can you share link to page where you use video?

or use this tool to find block id. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.