I am using the CKEditor iFrame module to get content in an iframe in CKEditor. Installed using Composer and followed all configuration steps.

Inside the CKEditor — and when viewing the content — the iframe is not loading. Getting this error in console:

Refused to display '{{link to youtube video}}' in a frame because it set 'X-Frame-Options' to 'sameorigin'. I tried adding $conf['x_frame_options'] = ''; in settings.php file but no success. Any idea?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.