Jump to content

Need code to embed a web page onto my site

Go to solution Solved by Ziggy,

Recommended Posts

  • Solution

I'm not sure exactly what you want to achieve, but you probably need to use an iframe, and put the URL in as the src:

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • 3 months later...

I'm having the exact same issue embedding a URL link to Mixcloud. It's coming up as "Successfully Located", but the block remains empty with an error icon "!". I don't know how to implement code - can you/someone help? Squarespace support says embed blocks fall "outside their scope of support". Chat transcript below for more info. Thanks!

-CHAT TRANSCRIPT-

System (Squarespace) 

Dec 12, 2023, 2:26 PM EST 

(2:12:51 PM) : Hello! A member of our team will respond as soon as possible.
(2:12:51 PM) : Please briefly describe what you need help with.
(2:12:51 PM) : 
(2:13:23 PM) Web User 5b2a645ea4f0026bfa5162c5: Site URL: 
https://soybean-brass-9tj9.squarespace.com/config/pages
Issue Description: I need to embed a Mixcloud player
(2:13:25 PM) : View Queue Status
(2:17:39 PM) Blair C.: Hi there, thanks for reaching out! What can I help you with today?
(2:19:49 PM) Web User 5b2a645ea4f0026bfa5162c5: Hi - I need to embed a Mixcloud player into my site. I created an Embed block, plugged in the URL and it was "Successfully Located". However the block is appearing blank and with an error "!". How do I fix this?
(2:21:02 PM) Blair C.: Gotcha! So we do have a guide on troubleshooting embed blocks here: 
https://support.squarespace.com/hc/en-us/articles/206543617-Embed-blocks#toc-troubleshooting
(2:21:23 PM) Blair C.: But outside of this, although you're welcome to use custom code to modify your site, please note that we're unable to offer assistance or troubleshooting for such modifications or additions, due to their complex nature. It is not something we're trained on, as it is outside of our scope of support here at Squarespace. We can only troubleshoot the built-in features of Squarespace.
(2:21:37 PM) Blair C.: With that said, this guide goes further into adding code overall:

https://support.squarespace.com/hc/articles/205815928
(2:21:51 PM) Blair C.: But I *highly* recommend reaching out to the Squarespace Forum for coding support, if needed. It is a great resource for code-related questions:

http://forum.squarespace.com
(2:22:06 PM) Blair C.: The Squarespace Forum is an online community of Squarespace users who help each other with code-related solutions. If you can't find an existing post that answers your question exactly, I'd recommend creating an account and posting your question.
(2:22:26 PM) Web User 5b2a645ea4f0026bfa5162c5: Yes I already read that article, and don't plan to use custom code. The issue is I entered a valid URL or code, and the "Successfully Located" message displays, but the box appears empty and with an error.
(2:22:43 PM) Web User 5b2a645ea4f0026bfa5162c5: if it successfully loaded, why isn't my content showing?
(2:23:10 PM) Web User 5b2a645ea4f0026bfa5162c5: I checked Forum and there are no answers to this
(2:23:18 PM) Blair C.: This would tell me the code or URL is not correct.
(2:23:31 PM) Web User 5b2a645ea4f0026bfa5162c5: right - but it's saying it's correct. here is the URL
(2:23:40 PM) Web User 5b2a645ea4f0026bfa5162c5: 
https://www.mixcloud.com/gabriel-palomo/
(2:24:02 PM) Web User 5b2a645ea4f0026bfa5162c5: I've successfully embedded Mixcloud players on other sites, but it's not working with this current Squarespace version 
(2:24:10 PM) Blair C.: I do understand but we cannot troubleshoot this as it's not within the scope of out support.
(2:24:34 PM) Web User 5b2a645ea4f0026bfa5162c5: It's not code, it's a link. The block isn't working properly - that's gotta be in your scope.
(2:24:53 PM) Web User 5b2a645ea4f0026bfa5162c5: Is there someone else ic an speak with on the phone?
(2:25:00 PM) Blair C.: Using an embed block is outside of our scope. Custom code can interfere with your site's behavior or stop working at any time, even if it previously worked or wasn't interfering. Because of this, we can't ensure that any code will be compatible with the platform. To learn more, visit our guide:

https://support.squarespace.com/hc/articles/205815928
(2:25:22 PM) Blair C.: We state this specifically here in the emed block guide: https://support.squarespace.com/hc/en-us/articles/206543617-Embed-blocks#toc-troubleshooting:~:text=code%20for%20help.-,Note,-Code%2Dbased%20customization
(2:25:47 PM) Blair C.: At this time, we don't offer help by phone, and I do wish there was more we can do, but we cannot troubleshoot embed blocks.
(2:26:01 PM) Web User 5b2a645ea4f0026bfa5162c5: Again, I'm not using code. I am using a link - "Enter a valid embed URL" should fall in your scope to help.
(2:26:20 PM) Web User 5b2a645ea4f0026bfa5162c5: ok
(2:26:20 PM) Blair C.: The embed block falls under custom code.
(2:26:29 PM) Blair C.: I would post your question in the forum.
(2:26:34 PM) Web User 5b2a645ea4f0026bfa5162c5: got it. Guess I'll figure it out on my own.
(2:26:44 PM) Blair C.: I know this is not what you were looking to hear today, but please do not hesitate to reach back out in the future and we're happy to help.

Link to comment

@Elenadisabato I don't think the link is embeddable, it's not a Squarespace issue, but after doing some research there is a way to generate an embeddable code for your profile via MixCloud, follow this guide:

https://help.mixcloud.com/hc/en-us/articles/360004054519-How-do-I-embed-my-profile-on-another-platform-

Then you can use an embed or code block to add this to your page.

Let me know how you get on and if you want any further help can you share the page that you are embedding the code on? Good luck!

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

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

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.