RahmanStudio Posted October 11 Posted October 11 Hello everyone ! I want to add a link around my videos, but i'm not sure i will be able to that easily with the code injection. Let me show you what I would like : Can you see the orange square around the first video ? I would like my link to be here, for each video, and to still be responsive Do you think that this is possible to do and to maintain when i would add other videos ? Thank you in advance for your response ! Have a good day :)
KwameAndCo Posted October 12 Posted October 12 You need to share the website and details of the blocks/sections you're using. It will require custom code if those are actually videos. But yes, perfectly possible. Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩
RahmanStudio Posted October 13 Author Posted October 13 Hello, Thank you for your answer @KwameAndCo ! Here's my website : https://rahmanabdoul.squarespace.com/ I would like to add a link around each of my video that you can find in my homepage. With custom code, I have 2 ideas on how to do that : 1) Should I use javascript to listen to the click on each videos and redirect the user 2) Or can I access the html of my videos and put an anchor <a href="/link"></a> around my videos ? Can one of those 2 solutions work ? Or is there an easier way to do that ? Thank you !
KwameAndCo Posted October 14 Posted October 14 Gotcha @RahmanStudio So since they're video blocks, yeah, you'd need to use JS. The issue is where you want the link to point to as you'd need to manually select by block. I have a plugin I was developing for this but haven't released yet - if you want to beta-test it in return for a review I'd be happy to share. Otherwise, yeah, you need JS to add the link and set the URL as there's no native way to add it in the editor. It's a bit of a headache. Work With Me 🖥️💻📱 Please remember to tag me so that I get a notification and respond to your help requests. If my answers have helped you, please drop a like and mark my answer as best to help other users find solutions quickly. You can also thank me or make requests by buying me a coffee ☕. (Caffeine fuels me to take more requests) For Squarespace Tips & Tricks, visit @squareskills (Youtube 📺 Tutorials) For Premium and FREE plugins, visit Squareskills (Plugin Store) 🧩 For Custom Plugins email me 🧩
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment