This article summarises common video playback errors caused by referrer policies and outlines steps to troubleshoot them effectively.
In this article
- Common causes of referrer-related playback errors
- How to check your referrer policy
- How to find the correct domain to allow
- How to fix the issue
- Still having trouble?
This guide applies to:
- Videos with domain-level privacy enabled
- ZenVideo embeds on external websites or CMS platforms
- Sites displaying a 403 privacy error or referrer-related playback error
Common causes of referrer-related playback errors
Sometimes, you may encounter tricky domain privacy cases where everything appears to be correctly set up within the video settings. Still, the embedded player displays an error message: "Sorry. Because of its privacy settings, this video cannot be played here" on the embedded site.
Cause 1: Referrer policy conflict
Your website is preventing ZenVideo from receiving referrer information due to one of the following:
- The <meta> tag in your HTML includes this: <meta name="referrer" content="no-referrer">
- The HTTP referrer policy is set to: Referrer-Policy: same-origin
- Because player embed requests are cross-origin, these settings block the referrer from being sent, preventing ZenVideo from verifying that your domain is authorized.
Cause 2: CMS sub-domains masking the true domain
Some websites use a CMS preview or editor URL (such as preview.sitebuilder.com) instead of the actual domain name of the site. When this happens:
- The sub-domain (e.g., preview.examplecms.com) is what the ZenVideo player sees as the referrer.
- If that sub-domain is not listed in your video’s Specific Domains setting, you’ll see a privacy error, even if the main domain is allowed.
How to check your referrer policy
To check your referrer policy:
- Visit the webpage where the video is embedded.
- Right-click and choose Inspect or Inspect Element.
- Click the Network tab.
- Refresh the page.
- Locate the request for the video that displays a 403 error.
- Click on it and scroll to the Headers section.
- Under Request Headers, find the Referrer value
If the referrer is visible and accurate, your policy is likely fine. The issue may be a domain mismatch. If the referrer is missing, blank, or incorrect, your current policy is blocking the referrer.
How to find the correct domain to allow
To find the correct domain:
- Go to your website where the video is embedded.
- Right-click anywhere on the page and select Inspect or Inspect Element
- In the developer tools that appear, click on the Network tab.
- Refresh the page
- Look for the video request that shows a 403 error and click on it.
- Scroll down to the Headers section to find the Referrer information, usually under Request Headers. This Referrer will show you the actual domain your video is on.
- You’ll need to add this domain to your video’s Only allow specific domains privacy setting in ZenVideo.
Example: If your site is built with Google Sites, you may need to whitelist googleusercontent.com instead of sites.google.com.
How to fix the issue
ISSUES | FIXES |
No referrer meta tag is present <meta name="referrer" content="no-referrer"> |
Remove or replace it with: <meta name="referrer" content="origin"> Check out the Referrer policy for more information. |
HTTP header is set to Referrer-Policy: same-origin | Find information on Referrer-Policy HTTP header controls and how to correct the issue. |
CMS is masking the true domain | Use browser tools to identify the actual domain and add it to your ZenVideo video’s allowed domains |
Video is embedded on a 3rd-party site (e.g., LinkedIn). These sites may block the referrer header - domain-level privacy will not work here | Use another privacy option, like private link sharing. |
Still having trouble?
If the issue persists, feel free to contact us. Please include the following so we can assist you faster, and also check your browser extensions.
- A link to the page where the video is embedded
- A screenshot of your HTML’s <meta name="referrer"> tag
- A screenshot of your ZenVideo video’s privacy settings
- A screenshot of the referrer value from the Request Headers
Comments
0 comments
Please sign in to leave a comment.