M3l Posted March 7, 2023 Share Posted March 7, 2023 Hi Everyone, I built a website(linked) last year and used a lot of custom HTML blocks. The site requires videos to be displayed on a page, autoplayed, and open up a new window with the video when it is clicked. Because of the design I wanted, I found it easier to make the pages using custom HTML to style, so I was embedding the videos using a <video> tag, and the src for the tag I got by putting a video on a test page with a video block, and then using Inspect tools (Chrome) to look at the file path. This is an example of how the video tags look right now: <video id="" width="" autoplay="autoplay" loop muted playsinline> <source src="https://video.squarespace-cdn.com/content/v1/6c97962-fc2e-4ce8-88e6-0f6804fd2fd0/mp4-h264-aac-1920:1080" type="video/mp4"> </video> It seems like these urls no longer work (nothing shows up in a new browser), and when I try to find updated urls, the src shows up as: blob:https://blackbird-accordion-54pe.squarespace.com/6dacaf09-8622-407c-8833-7b37575bf8ec There is a url that looks like the ones I used in the video src with the /thumbnail at the end to show the poster, but if I use that url with the /thumbnail removed it also doesn't work, and leads to a page not found if i try to look at it in a browser tab. Oddly, I used the same method to add images, and all the images are still showing up on the site. ex of img path: <img src="https://images.squarespace-cdn.com/content/v1/628033218ff18c23840bf32a/5d12e2a7-0722-4404-942c-0dc58aa7859a/sarah.jpeg?format=500w" /> Does anyone have any idea of what I can do here. I would really prefer not having to redo every page with new blocks or having to use the SquareSpace video blocks as I find them harder to customize with css after the fact to look/act the way I want them to. Thanks! Link to comment
tuanphan Posted March 11, 2023 Share Posted March 11, 2023 The blog url won't work with video tag. You need to upload video to Squarespace, follow this guide, then you can get new url. Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
M3l Posted March 11, 2023 Author Share Posted March 11, 2023 Thanks @tuanphan. Thats what I did before, but the url it gives me is the blog url now when I check it with inspect. There's no way for me to file the correct file path anymore to put in the source option. Do you know how to get the source url I need? The guide you linked only explains how to upload files, but not get their src information. Link to comment
M3l Posted March 11, 2023 Author Share Posted March 11, 2023 As you can see in my original post, I was able to find a source link such as: "https://video.squarespace-cdn.com/content/v1/6c97962-fc2e-4ce8-88e6-0f6804fd2fd0/mp4-h264-aac-1920:1080" by uploading it, putting it on a page with the video block, and then using developer inspect tools on the video block to find the file information. But that does not provide the correct info anymore @tuanphan Link to comment
nich-z Posted March 17, 2023 Share Posted March 17, 2023 (edited) Hi M3I I had the same problem. I think the squarespace video urls have changed without telling us... I solved the problem by uploading the videos to another server. Then i put some links from squarespace custom html blocks to my new video-urls. Now it's working again. Have you tried to upload the videos to squarespace again and linking them new? If that's not working you need to upload them to another server like i did. Edited March 17, 2023 by nich-z Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment