搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Background Vimeo video will only load in private window

  • 17 回覆
  • 1 有這個問題
  • 70 次檢視
  • 最近回覆由 raffjones

more options

I have looked through all "Fix common audio and video issues" posts to no avail.

I have a Vimeo video file which is loaded into the background of a web page as a simple HTML video element with all inline properties set to allow it to run - muted, playsline, autoplay.

It works fine on all other browsers, and even on a private window in Firefox (72.0.1) but absolutely will not load in a normal Firefox window. It fails with a 403 HTTP error, and I just cannot see why.

The URL is https://dancersvscancer.co.uk/ - it's a simple website for charity event in February.

Any ideas? I'd be grateful for the help.

由 raffjones 於 修改

所有回覆 (17)

more options

It appears to load properly for me. I get the page with an embedded Vimeo window that says This event hasn't started yet.

I do see that there's a <video> element on the page that produces a 410 error code because the file it's linked to no longer exists, but that happens in any browser that I've tested it with.

Perhaps I'm not fully understanding the issue that you are having, but all looks good to me.

more options

Hi Wesley - thanks for the reply first and foremost, and for taking the time to look.

To explain the 410 error - I found yesterday that the Vimeo link to the file actually resolves to something else, so I changed the video src to that and it worked, but I've realised since your post that this is obviously a time-limited/hash-verified URL and thus doing that is not a solution.

For example., the original permalink to the file from Vimeo: https://player.vimeo.com/external/383320811.sd.mp4?s=eb41f8a9ba375790bb9e3d9e1238fa6e931ef9a8&profile_id=165 resolves to: https://vod-progressive.akamaized.net/exp=1578841109~acl=%2A%2F1610040407.mp4%2A~hmac=1b46f12a85dff0e69e9b5a28deb854ba21cf375211b5378ce4c58456688aa10f/vimeo-prod-skyfire-std-us/01/1664/15/383320811/1610040407.mp4 - but this might just be for today

Both of these will load directly in the browser.

But you should see that when used as a background video on https://dancersvscancer.co.uk/ it does not load, failing with a 403 unless you are in a private window:

HTTP load failed with status 403. Load of media resource https://player.vimeo.com/external/383320811.sd.mp4?s=eb41f8a9ba375790bb9e3d9e1238fa6e931ef9a8&profile_id=165 failed.

由 raffjones 於 修改

more options

I have tried both in regular mode and private mode and the video won't play in either for me. That's because it's blocked by Enhanced Tracking Protection (ETP) as a Cross-Site Tracking Cookie.

When I reloaded with ETP disabled, it loaded properly.

more options

Thanks again.

I used exactly the same technique on this site: https://smarts.agency/ - yet these videos play perfectly in both regular and private windows on Firefox.

So I'm pretty confused as to why the other one won't play. And I can definitely get it to work on a private window - not sure why that isn't working for you.

more options

Even more bizarre - I have not made any configuration changes to either the website or Vimeo but the background video appears to be working for me now. Very odd.

more options

I see Ghostery in your System Details list.

If you use extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) that can block content (Adblock Plus, NoScript, Disconnect, Ghostery, Privacy Badger, uBlock Origin) always make sure such extensions do not block content.

Firefox shows an highlighted shield icon at the left end of the location/address bar in case Tracking Protection is blocking content.

  • click the shield icon for more details and possibly disable the protection

You can check the Web Console what content is blocked.

more options

Thanks cor-el

I have checked my settings and everything is default - no content is being blocked.

As I mentioned before, it is very confusing as with no change to either the website or Vimeo, the background video is now playing perfectly.

Thanks to you and Wesley for taking the time to help.

more options

Yeah, that's an odd one. I can also play the website fine with ETP enabled. Must have been an issue on Vimeo's end.

Glad it's working now!

more options

It was short-lived. It's not working again. Very strange issue.

I don't believe it's at the Vimeo end since it works on all other browsers.

I must admit I'm completely foxed by this.

more options

It works when I click the icon to allow auto play.

more options

Thanks - I don't think that is the issue.

As Wesley confirmed, the background video was working fine yesterday with no changes to Firefox settings.

I built this website - it uses an identical approach to the video: https://smarts.agency/ - yet these videos play without a problem, without changing any settings.

This is why I'm finding this so confusing - it's very inconsistent and I cannot see a reason for it. Also the background video plays fine for me on https://dancersvscancer.co.uk/ if launched in a private window.

more options

Did you check the Web Console for medai related messages ?

more options

Yes, I posted them in a previous post:

HTTP load failed with status 403. Load of media resource https://player.vimeo.com/external/383320811.sd.mp4?s=eb41f8a9ba375790bb9e3d9e1238fa6e931ef9a8&profile_id=165 failed.

Video loads fine if accessed directly.

more options

Are you possibly using containers or container related extensions ?

more options

I have absolutely no changes to the defaults of Firefox as it is shipped.

Here are the facts to summarise once more:

  1. The background video loads if launched directly: https://player.vimeo.com/external/383320811.sd.mp4?s=eb41f8a9ba375790bb9e3d9e1238fa6e931ef9a8&profile_id=165
  2. It loads on Firefox mobile
  3. It works in a private Firefox window
  4. It works intermittently (all day yesterday, for example, there was not an issue)
  5. It works on other browsers
  6. An identical background video embed technique using the same Vimeo account with identical privacy and embed settings works fine on https://smarts.agency (I built that site too)

Error is: HTTP load failed with status 403. Load of media resource https://player.vimeo.com/external/383320811.sd.mp4?s=eb41f8a9ba375790bb9e3d9e1238fa6e931ef9a8&profile_id=165 failed.

more options

Did you try to clear the Vimeo cookies?

You can remove all data stored in Firefox for a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History -> Show All History" or "View -> Sidebar -> History").

Using "Forget About This Site" will remove all data stored in Firefox for this domain like history and cookies and passwords and exceptions and cache, so be cautious. If you have a password or other data for that domain that you do not want to lose then make sure to backup this data or make a note.

You can't recover from this 'forget' unless you have a backup of involved files.

If you revisit a 'forgotten' website then data for that website will be saved once again.

more options

Hi cor-el - thanks for continuing to help with this issue.

I tried that, but to no avail. I ran the "Forget about this site" and restarted Firefox, but the problem persists. The only way I can get the video to load as normal is to use a private window.