Skip to content
FunnelGuard

Fix guide by FunnelsGuard

YouTube or Vimeo embed shows 'Video unavailable': how to fix it

PRF-105Medium impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

An embed is a small player from YouTube or Vimeo placed on your page inside an iframe (a window onto another site). When the host will not serve the video there, the player still loads but shows a grey or black box with a message such as 'Video unavailable' or 'This video is unavailable'.

The page itself loads fine, so nothing looks broken to your server or most uptime tools. Only the video area is dead.

Typical causes:

Common causes of 'Video unavailable' in embeds
CauseWhere it is setWhat you see
Embedding turned offYouTube Studio > video > Show more > Allow embedding. Vimeo > Settings > Privacy > Where can this video be embedded?Message in the player; works on the video's own page
Video private, unlisted by mistake or deletedVideo host dashboardUnavailable everywhere, even on youtube.com or vimeo.com
Domain-level privacy excludes your siteVimeo privacy settings (whitelist of domains)Works on one domain, fails on another, such as staging vs live
Wrong embed URLYour page codeUsing a watch URL instead of /embed/, a missing video ID, or a typo
Age or region restriction, or copyright blockVideo hostUnavailable for some visitors or countries only
Missing referrer informationPage or plugin settings such as a strict Referrer-PolicyPlayer error on some embeds, often with an error code

Why it costs you leads or sales

Videos often sit at the point where a visitor decides: a product demo, a testimonial, an explainer above a form. A dead player removes that proof and makes the page look neglected. Visitors who wanted to watch before they buy or enquire may leave instead.

Where a dead video breaks the funnel
  1. Ad or search clickVisitor lands on the page
  2. Video embedShows 'Video unavailable'
  3. Trust and interestThe demo or testimonial is never seen
  4. Form or checkoutFewer visitors reach it

The visitor reaches the page, but the video that was meant to convince them never plays.

Possible effect on conversionsExample numbers
Possible effect on conversions (example)Video plays: 4 % of visitors who submit the form; Video unavailable: 2.5 % of visitors who submit the form02342.5Video playsVideo unavailable% of visitors who submit the form

Example: illustrative numbers only. A page whose video builds trust before the form may convert better than the same page with a dead player.

How to check if your site has it

Check an embed in five minutes
  1. Open the page in a private window

    This avoids being logged in to YouTube or Vimeo, which can hide privacy problems. Scroll to the video and press play.

  2. Open the video on its own site

    Visit the youtube.com or vimeo.com link while logged out. If it fails there too, the video is private, deleted or restricted, not an embed problem.

  3. Read the exact message

    'Video unavailable', 'Watch on YouTube' or an error code points to different causes. Note it down.

  4. Inspect the iframe

    Right-click the player, choose Inspect and find the iframe. The src should look like https://www.youtube.com/embed/VIDEO_ID or https://player.vimeo.com/video/VIDEO_ID.

  5. Test on every domain and device

    Try the live site, any staging or alternate domain, and mobile. Vimeo domain whitelists often cause failures on only one of them.

How to fix it

Fix the video setting or the embed code
  1. YouTube: allow embedding

    In YouTube Studio open the video, choose Show more (under Details) and tick Allow embedding. Save. Make sure visibility is Public or Unlisted, not Private.

  2. Vimeo: set where it can be embedded

    In the video's Settings > Privacy, set 'Where can this video be embedded?' to Anywhere, or add your exact domains (live and staging) to the allowed list. Check the video itself is not set to private.

  3. Use the correct embed URL

    Use the host's Share > Embed code rather than copying the browser address. A youtube.com/watch?v= link in an iframe will not play.

  4. Check for restrictions

    Look at the video's age restriction, region limits and any copyright notice in the video dashboard. Replace or re-upload the video if it is blocked.

  5. Review your referrer policy

    If a plugin or header sets Referrer-Policy: no-referrer, YouTube may refuse to play. Use strict-origin-when-cross-origin instead.

Fix the embed on your platform
  1. Re-insert the video

    In the block editor, delete the broken block and add a YouTube or Vimeo block (or paste the plain video URL on its own line). Update the page.

  2. Check plugins

    If you use a lazy-load, privacy or cookie-consent plugin, turn it off for a moment to see if the video returns. Then check its video settings.

Standard YouTube embed (replace VIDEO_ID)html
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>

How to confirm it's fixed

Confirmation checklist
  • The video plays in a private window on desktop
  • It plays on mobile over cellular or a different network
  • It plays on every domain that shows it, including www and non-www
  • The iframe src uses the /embed/ or player.vimeo.com URL
  • No 'Video unavailable' text appears after a hard refresh
  • The video is public or unlisted and embedding is allowed

How to prevent it happening again

Most breakages come from someone changing a setting on the video host, deleting a video, or moving the site to a new domain. A few habits help:

Prevention habits
  • Keep important videos in an account your team controls, not a personal one
  • Do not change privacy settings on a video without searching your site for it first
  • Add new domains to Vimeo's allowed list before launching a migration
  • Keep a list of pages that carry key videos and review them after site changes
  • Do not delete or replace a video file without updating the embed

How FunnelGuard handles this

FunnelGuard detects this issue only partly. A FunnelGuard check can look at a page and flag it when a piece of text is absent or present, if you configure it. So you can set it to alert you if the words 'Video unavailable' appear on a page you care about, and it will do so as part of the scheduled journey, from the EU or the US, with a screenshot and a likely cause.

What it does not do: it does not play the video, it does not read your YouTube or Vimeo privacy settings, and it will not catch a player that fails with a different message or a blank box. It also cannot see restrictions that apply only to certain countries or ages.

To cover the rest by hand, play each key video in a private window after any site change, check the video host's embed and privacy settings, and test on every domain. The Free plan includes 1 site and 2 journeys with daily checks and no card needed, and paid plans have a 3-day free trial.

Questions people ask

Why does my YouTube embed say 'Video unavailable'?

The most common reasons are that embedding is switched off for the video, the video is private or deleted, or it has an age, region or copyright restriction. Open the video on youtube.com while logged out to tell the difference. If it plays there but not on your page, check Allow embedding in YouTube Studio and the embed URL.

How do I allow embedding on a YouTube video?

Open YouTube Studio, select the video and choose Show more under Details. Tick Allow embedding and save. Also make sure the video visibility is Public or Unlisted.

Why is my Vimeo video not showing on my website?

Vimeo can restrict embedding to certain domains. Open the video's Settings > Privacy and check 'Where can this video be embedded?'. Set it to Anywhere or add your exact domain, including any staging site.

Why does the video work on one domain but not another?

That points to a domain whitelist on the video host, most often on Vimeo. Add every domain that shows the video to the allowed list. Also check that the embed code is identical on both sites.

Can a plugin or cookie banner cause 'Video unavailable'?

Yes, though it more often shows a blocked or empty box. Lazy-load, privacy and consent plugins can change the embed URL or block the iframe. Turn the plugin off briefly to test, then adjust its video settings.

Does a referrer policy affect YouTube embeds?

It can. A strict Referrer-Policy such as no-referrer can stop YouTube from accepting the embed on some pages. Using strict-origin-when-cross-origin is a safe setting that usually fixes it.

Can FunnelGuard detect a 'Video unavailable' embed?

Partly. If you configure a text check, FunnelGuard can alert you when 'Video unavailable' appears on a page. It does not play videos or read host settings, so check those by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: text_absent if configured.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.