Jump to content

Adding tooltip or other custom rollover effects to SoundCloud or embed block

Recommended Posts

Site URL: https://scotmoriarty.squarespace.com/work

site password: Scooter2021
https://scotmoriarty.squarespace.com/work

My client is an audio engineer who would like examples of his work embedded directly from SoundCloud, with a hover or rollover effect for each block that would display the appropriate credits in text ("Mixed and mastered by me", "Recorded by me" etc).  Is it possible to use code to create an opacity+text effect on an Embed or SoundCloud block similar to what is already available for image captions?  Or even just a simple tooltip?

I have tried playing around with the HTML provided when you embed an audio track directly from SoundCloud using the embed block, but have not had luck yet.

This is an example the client sent me, which I realize is built on WP so probably has completely different functionality: http://www.magnuslindberg.com/

Thanks in advance!

Edited by killjeats
Link to comment
58 minutes ago, killjeats said:

Site URL: https://scotmoriarty.squarespace.com/work

site password: Scooter2021
https://scotmoriarty.squarespace.com/work

My client is an audio engineer who would like examples of his work embedded directly from SoundCloud, with a hover or rollover effect for each block that would display the appropriate credits in text ("Mixed and mastered by me", "Recorded by me" etc).  Is it possible to use code to create an opacity+text effect on an Embed or SoundCloud block similar to what is already available for image captions?  Or even just a simple tooltip?

I have tried playing around with the HTML provided when you embed an audio track directly from SoundCloud using the embed block, but have not had luck yet.

This is an example the client sent me, which I realize is built on WP so probably has completely different functionality: http://www.magnuslindberg.com/

Thanks in advance!

Normally we can use Soundcloud API to fetch track metadata but Soundcloud did not accept new API Token application sadly. So I guess you should take advantage of embed block and bring something like below manually and use js/css to enable the tooltip.

Btw, the wordpress link you send is just a grid of image with tooltips, it's not the soundcloud embed grid

<iframe></iframe>

<div class="track-info"></div>

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

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.