Skip to main content

Why aren’t my images and videos displaying in Studio?

Fix missing previews caused by CORS, blocked access or missing files.

Written by Derk Zomer

If a clip appears blank or shows a preview warning, Studio may be unable to access the file.

Check the media URL

Open the URL in a private or incognito browser tab.

  • If it doesn’t load: check the URL and file permissions. A 403 means access was denied; a 404 means the file wasn’t found. If you use an expiring URL, check that it’s still valid.

  • If it loads but Studio can’t preview it: the host may not permit cross-origin access (CORS).

What is CORS?

CORS is a browser security rule. The website hosting your media must give the website running Studio permission to access it.

This is why a file can play directly in your browser but fail in Studio. The rendering API isn’t subject to browser CORS rules, so a CORS error alone won’t prevent rendering.

Studio supports external media URLs when their hosts allow this access.

How to fix it

Use Shotstack hosting

Upload your media through the Ingest API and use the returned source URL. Shotstack hosting already allows cross-origin access.

Configure your existing host

Ask your hosting provider to allow cross-origin access for the website running Studio, including GET and HEAD requests.

For Amazon S3, open Permissions → Cross-origin resource sharing (CORS) and add this rule alongside any existing rules:

[
{
"AllowedOrigins": ["https://*.shotstack.io"],
"AllowedMethods": ["GET", "HEAD"],
"AllowedHeaders": ["*"]
}
]

If you’ve embedded the Studio SDK in your own app, replace https://*.shotstack.io with your app’s origin, such as https://editor.example.com.

CORS settings don’t make a private file accessible. The URL must also allow access without logging in.

After updating your hosting settings, reload Studio and try again.

Can this affect Dynamic Sources / Merge Fields?

Yes. Studio checks the default URL before saving it. If that check is blocked, the default may not save and the toggle may switch off.

After fixing access, enter the default URL again.

Did this answer your question?