Jump to content

Hover over portfolio tile to play audio

Recommended Posts

Is there any code I can inject that would enable me to hover over any one of my portfolio tiles and an audio file specific to that tile plays automatically? I would like each tile to play a different audio file. I know this would not be applied to Mobile and I want my title and description to be kept there and not replaced by this hover effect.

Thanks!

Link to comment
  • Replies 10
  • Views 1.2k
  • Created
  • Last Reply
7 minutes ago, ace_voices said:

Hi @bangank36 Any luck with this code? Thanks!

Sorry I was busy at the moment, you  can look for help in the facebook group mentioned above or fiverr

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
4 hours ago, ace_voices said:

Hi @bangank36 I have found some code that could work to this effect - what do you think? https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_audio_all how can I access where to inject this code into the portfolio tiles body html?

I just sent a DM

Regarding to the question, you can inject custom code to each page, you may find this document helpful

Adding custom code to your site – Squarespace Help

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

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.