Dropbox embed stopped working

Hi,

I have used this code embed with dropbox links for years now and last week it stopped working. Strange thing is, there is one in all the site that still works in the Sennheiser project page.

Anyone has any idea how to solve this?

Read only link: Webflow - David Fiz

Thank you,


Hi there,

When embedded content stops working, there are several common causes to check:

Your custom code should be free of any , , or tags, as these can conflict with Webflow’s structure. Since one embed is still working, compare its code with the non-working embeds to spot potential differences in formatting or structure. Also ensure all necessary opening and closing tags are present and properly matched.

For larger scripts, verify they don’t exceed the 50,000 character limit. If they do, consider hosting them on an external server and referencing them instead.

Hopefully this helps! If you still need assistance, please reply here so somebody from the community can help.

I don’t use dropbox for hosting however IIRC the share links typically include a token, which is probably the ?rlkey request link key here.

It may have expired, so basically you need to re-generate the shared link, and then change the URLs in your site.

I haven’t seen ?raw=1 in a long time either, I think that was changed to ?dl=1 a few years ago when you want the file directly served.

Thanks for the reply! Unfortunately I don’t think that is the issue as the links do still work. I tried updating them to new ones as well as keeping it to dl=1 instead of raw=1 but still don’t work. Any idea what else could it be?

It’s not because of Webflow. It’s an issue with Dropbox and or your account. That you can test by deploying your code somewhere else. I did. That is how I know.

The links do work so I don’t see how it would be a dropbox issue. Does anyone have a good hosting alternative method I could try?

Not working. Maybe when you are using a browser already logged into Dropbox with permissions.

I recommend BunnyCDN for ease of use and cost. I have many others.

1 Like

You’d have to ask Dropbox. Dropbox isn’t supporting the required CORS headers for media files, so it could be intentional, or perhaps that’s only a restriction on free plans, or with the URL format you’re using.

You can see the origin rule blocking here.

There are lots of good options-

If you’re hosting only vids, you could use Vidzflow or Vimeo.

Thanks Michael. I see Cloudflare R2 could be an option since it is free for small storage. I wondered if you knew how I would go about using the same format as I had but with cloudfare? Sorry I am not too good with code!

I managed to solve it with chatgpt, it needed a clean up on the code for it to work. For some bizarre reason webflow stopped rendering that code. Thanks!

You can host any file type you want on CF R2, but you’d need to move your DNS there first. I generally setup a subdomain like files.mysite.com against an R2 bucket for storing videos, PDFs and other large files that I don’t want consuming my WF hosting bandwidth.

Here’s part 1 if you go in that direction.