How to enable CORS
Audio overview
When the browser blocks media access
Locate CORS configuration at the storage provider rather than guessing one Vault setting.
AI-generated voices · 1:01 · Adapted from this article
Chapters
Playback highlights and scrolls to the current section when topics change, not every detail. Continue below for setup and limitations.
- My media is not loading in the day overview page on Hub
- How do I enable CORS?
Answer
Enabling CORS for Vault depends on the storage provider you are using. Each storage provider has its own method for configuring CORS:
- GCP (Google Cloud Storage): Use the
gsutil cors setcommand or configure through Cloud Console - AWS (S3): Configure CORS rules in the bucket permissions settings
- Azure (Blob Storage): Set CORS rules via Azure Portal or Azure CLI
- MinIO: Configure CORS using the MinIO client or API
Refer to your specific storage provider’s documentation for detailed CORS configuration steps.