Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Broken embedded video on sales page: how to find and fix it

PRF-286High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Most sales pages load their video from another service, such as YouTube, Vimeo, Wistia or Loom. The page holds a small piece of code called an iframe (a window that shows another site's content inside your page). If the video behind that window is gone or blocked, the window stays but the video does not play.

Typical symptoms are a message like "Video unavailable", "This video is private" or "refused to connect", a black or grey box, a spinning loader that never ends, or an empty gap where the video should be.

Why it costs you leads or sales

On a video sales letter or a product page, the video is often the main pitch and sits right above the buy button. If it does not play, visitors lose the explanation, the proof and the push to act. Many will leave rather than guess what you sell. An error box also makes the page look neglected, which hurts trust at the moment you ask for money.

Where a broken video breaks the funnel
  1. Ad or email clickVisitor reaches the sales page
  2. Video pitchEmbed shows an error or blank box
  3. Buy buttonVisitor is not convinced
  4. CheckoutNever reached

The visitor lands fine, but the pitch never plays, so the steps after it are lost.

Sales page conversion with and without a working videoExample numbers
Sales page conversion with and without a working video (example)Video working: 3 % of visitors who buy; Video broken: 0.8 % of visitors who buy01230.8Video workingVideo broken% of visitors who buy

Example: illustrative numbers only. A page that relies on its video can lose most of its sales when the video stops playing.

How to check if your site has it

Do not trust your own browser alone. You may be logged in to YouTube or Vimeo, which lets you see private videos that visitors cannot. Test like a stranger.

Check your video like a visitor
  1. Open the page in a private window

    Use an incognito or private window so you are logged out of video accounts and have no cached data.

  2. Press play

    Do not just look at the thumbnail. Play it, check that sound works, and test on a phone as well as a desktop.

  3. Open the video link on its own

    Copy the video URL from the embed code and open it in a new private tab. If it says private, removed or unavailable, that is the cause.

  4. Check the browser console

    Press F12, open the Console and Network tabs, reload, and look for red errors such as 'Refused to display in a frame', 403, 404 or blocked by Content Security Policy.

Common messages and what they usually mean
What you seeLikely cause
Video unavailable / This video is privateVideo deleted, private, or the account was closed
Refused to connectEmbedding blocked by the site, or your page's security policy blocks the video host
Video only plays on some domainsDomain restriction set on Vimeo or Wistia and your domain is not on the list
Blank box, no errorEmbed code stripped by the editor, script blocked, or consent tool hiding it
Spinner never endsAd blocker, slow script, or blocked third-party request

How to fix it

General fix for any video host
  1. Confirm the video still exists

    Log in to the video host and find the file. If it was deleted, upload it again.

  2. Fix the privacy setting

    YouTube: set to Public or Unlisted and turn on 'Allow embedding'. Vimeo: under Privacy, set where it can be embedded to 'Anywhere' or add your domain. Wistia: add your domain under the domain restrictions setting.

  3. Copy a fresh embed code

    Use the host's Share or Embed option and paste the new code in place of the old one.

  4. Check consent and security rules

    If a cookie banner hides the video until consent, make sure a placeholder with a clear 'Accept to watch' button shows. If you use a Content Security Policy, allow the video host in the frame-src rule.

  5. Add a fallback

    Place a link to the video and a short text summary below the player so visitors still get the message if it fails.

Where to replace the embed
  1. Edit the page

    Open the page in the block editor and select the video block or Custom HTML block.

  2. Paste the new URL or code

    For YouTube or Vimeo, paste the plain URL into an Embed block. For other hosts use a Custom HTML block with the iframe code.

  3. Check plugins

    If the video vanishes for visitors only, test with caching, security and consent plugins paused one at a time.

Example YouTube embed with a fallback linkhtml
<iframe width="560" height="315" src="https://www.youtube.com/embed/VIDEO_ID" title="Product demo" loading="lazy" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<p>Video not playing? <a href="https://www.youtube.com/watch?v=VIDEO_ID">Watch it on YouTube</a>.</p>
Content Security Policy: allow video hosts to be framedtext
Content-Security-Policy: frame-src 'self' https://www.youtube.com https://www.youtube-nocookie.com https://player.vimeo.com https://fast.wistia.net;
Sales page video before and after the fix

Broken

  • Grey box saying 'Video unavailable'
  • No fallback link or summary
  • Only works when you are logged in

Fixed

  • Video plays for logged-out visitors on desktop and mobile
  • Domain allowed in the host's settings
  • Fallback link and text summary below the player
A video that fails to load

The page loads, the embed requests the video, and the host refuses it.

How to confirm it's fixed

Confirmation checklist
  • Video plays in a private window while logged out of the host
  • Video plays on a real phone over mobile data
  • Sound works and the play button responds
  • Console shows no red errors about frames, 403 or 404
  • Plays after you accept cookies, and a clear placeholder shows before
  • Fallback link opens the video
  • Buy button below the video still works

How to prevent it happening again

Prevention habits
  • Keep videos on an account you control, not a personal or ex-employee login
  • Set a calendar reminder to play your sales page video every week
  • Re-test the page after changing a theme, plugin, cookie banner or security policy
  • Keep a copy of every video file and its embed code
  • Re-check domain restrictions whenever you move to a new domain or add a subdomain
  • Add a text summary or link so the page still sells when the player fails

How FunnelGuard handles this

FunnelGuard detects this issue only partly. A robot visitor loads your sales page on a schedule and checks for failed resources, meaning requests for the video that return an error, and for error text on the page, such as 'Video unavailable' or 'This video is private'. If one shows up, a failure is re-checked from a second region before one alert goes out with a screenshot and a likely cause.

What it does not do: it does not watch the video, so it cannot tell that playback stalls, that sound is missing, or that the wrong video plays. It will also miss a broken player that shows no error text and makes no failed request, such as a blank box caused by a stripped embed. Videos that only play after a click or consent may not be tested in full either.

To cover the rest by hand, play the video in a private window on desktop and phone after every change and once a week, and use the checklist above. You can start with the Free plan (1 site, 2 journeys, daily checks, no card), and paid plans have a 3-day free trial. A free read-only website audit is also available.

Questions people ask

Why is my embedded video not showing on my sales page?

The most common causes are that the video was deleted or set to private, embedding is turned off, or your domain is not on the host's allowed list. A security policy, cookie banner or editor that strips the embed code can also hide it. Open the page in a private window and check the browser console to see which applies.

Why does my video work for me but not for visitors?

You are probably logged in to YouTube, Vimeo or Wistia, which lets you see private or restricted videos. Visitors are not logged in, so they get an error. Test in an incognito window to see what they see.

How do I fix 'refused to connect' on an embedded video?

This means the video host or your own page blocked the frame. Turn on embedding for the video, add your domain to the host's allowed domains, and make sure your Content Security Policy lists the host under frame-src. Then use a fresh embed code.

How do I fix a Vimeo video that says it can't be played on this domain?

In Vimeo, open the video settings, go to Privacy and change where it can be embedded. Choose Anywhere, or add your exact domain, including any subdomain you use for the sales page. Save and reload the page in a private window.

Can a cookie banner break my embedded video?

Yes. Some consent tools block third-party content like YouTube until the visitor accepts, leaving a blank box. Make sure a visible placeholder with an accept button shows, or use a privacy-friendly embed such as youtube-nocookie.com where it suits your consent rules.

How often should I check my sales page video?

Check it after any change to the page, theme, plugins or cookie tool, and at least once a week for pages that get paid traffic. A monitor can catch error messages and failed requests between checks, but a manual play test covers what it cannot.

Can FunnelGuard tell me if my embedded video is broken?

Partly. It checks for failed resource requests and error text on the page, such as 'Video unavailable'. It does not play the video, so you still need to test playback by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

How: text_absent / failed resource.

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.