Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

CORS error - Captivate HTML5 output in an iframe

New Here ,
Jan 31, 2018 Jan 31, 2018

Hi,

When I tried to place @agile_connoisseur0D44 HTML5 output in an iframe.(Deployed on AWS s3), I see a spinning loading icon

We don't have any CORS error for all another html files from the same bucket(CORS policy has set up properly for s3 bucket.).I can see spinner of video.

Only CPM.js and CPXHRLoader.js having this issue.

Uncaught DOMException: Blocked a frame with origin "null" from accessing a cross-origin frame.

    at Function.cp.DoCPInit (https://MyDomainName.com/assets/js/CPM.js:41904:347)

    at cpInit (https://MyDomainName.com/ index.html:45:6)

    at initializeCP (https://MyDomainName.com/ /index.html:54:3)

    at constructDIVs (https://MyDomainName.com/ /index.html:104:9)

    at https://MyDomainName.com/ index.html:115:8

    at b (https://MyDomainName.com/ assets/js/CPXHRLoader.js:106:27)

    at XMLHttpRequest.<anonymous> (https://MyDomainName.com/ assets/js/CPXHRLoader.js:112

Any advice or things to try would be appreciated!

793
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 31, 2018 Jan 31, 2018
LATEST

Is the server set up to allows JSON mimetype?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources