Skip to main content
Participant
January 31, 2018
Question

CORS error - Captivate HTML5 output in an iframe

  • January 31, 2018
  • 1 reply
  • 855 views

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!

This topic has been closed for replies.

1 reply

RodWard
Community Expert
Community Expert
January 31, 2018

Is the server set up to allows JSON mimetype?