Jump to content

Add icon with CSS that plays pronunciation clip when clicked

Recommended Posts

Posted (edited)

I am building a site for an organization with an Indigenous name and I would like to add a speaker icon in line  with a word and that plays once whenever clicked -- exactly like Google's pronunciation feature. I attached an image to show how I would like it to look. Ideally, I would add a code block and drop in code with an area to drop in the link to an uploaded audio file. 

PW: wacanga2024

@tuanphan Would love your help if you have any ideas! 

SS Forum Speaker.png

Edited by latrell_hopamountain
Grammar
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

Posted

You may be able to use a standard audio block and then use a little CSS to hide elements of it.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Create an account or sign in to comment

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


×
×
  • 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.