搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

CORS request is missing the required Access-Control-Allow-Origin

  • 3 回覆
  • 1 有這個問題
  • 3 次檢視
  • 最近回覆由 cor-el

more options

On the ifunny page, can't get the videos to play on site. Not the First site I had same issue with java play button

Video memes IqHXxcFS6 by Zephrym: 1.7K comments - iFunny :) https://ifunny.co/video/IqHXxcFS6

I mouse over the play button to see "javascript:;" bottom right on screen, I click on play button to see load button for a micro second and play button is right back.


<a class="media__control media__control_play js-media-playcontrol js-dwhcollector-action" data-dwhon="click" data-dwhevent="Video Tapped" data-dwhevent-props="feedName=fun;contentId=IqHXxcFS6;contentType=video_clip" href="javascript:;" title="Play">Play </a>


Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://img.ifcdn.com/videos/d1e5e0a35ef28907bf443e7eee0377724d3893d287e2abaaca6d07e2d77c703c_1.mp4. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).[Learn More]


I tried the "a temporary workaround for this until a general fix is in place would be switching security.tls.version.max in about:config to 3. "

It was a no go.

On the ifunny page, can't get the videos to play on site. Not the First site I had same issue with java play button Video memes IqHXxcFS6 by Zephrym: 1.7K comments - iFunny :) https://ifunny.co/video/IqHXxcFS6 I mouse over the play button to see "javascript:;" bottom right on screen, I click on play button to see load button for a micro second and play button is right back. <a class="media__control media__control_play js-media-playcontrol js-dwhcollector-action" data-dwhon="click" data-dwhevent="Video Tapped" data-dwhevent-props="feedName=fun;contentId=IqHXxcFS6;contentType=video_clip" href="javascript:;" title="Play"><img class="media__icon media__icon_play_large" src="/images/icons/video-big.svg" alt="Play"> </a> Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://img.ifcdn.com/videos/d1e5e0a35ef28907bf443e7eee0377724d3893d287e2abaaca6d07e2d77c703c_1.mp4. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).[Learn More] I tried the "a temporary workaround for this until a general fix is in place would be switching security.tls.version.max in about:config to 3. " It was a no go.

所有回覆 (3)

more options

Click on your first link and went to the site and had no playback issues. Are you sure your java or adblocker or security software is causing the problem.

more options

If you are in the main page, I can't get them to work. They play for some reason on separate page if you click on video image which goes to the individual Post on site.


https://ifunny.co/

with Ad blockers off I still get (when I get the Play button) >

"Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://img.ifcdn.com/videos/05dce7ea86b14297b1beb3ed23893a6d08bf6d145759e1ed37291a0ef2a55b71_1.mp4. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing)."

yes even after off and refreshed the page also.

more options

Make sure that you do not block cookies. As a test you can try to enable third-party cookies temporarily to see if that has effect.