Cannot embed iFrame into page using htmlcomponent and “posting” src to script tag. How do i go about resolving this error?
Have a look at the HTML Component and the options function.
https://www.wix.com/corvid/reference/wix-http-functions.html#options
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
Otherwise you might want to check out previous forum posts on this like here.
https://www.wix.com/corvid/forum/community-discussion/x-frame-options-to-sameorigin
https://www.wix.com/corvid/forum/community-discussion/how-do-i-change-xframe-setting
https://www.wix.com/corvid/forum/community-discussion/adding-security-headers
https://support.wix.com/en/article/request-htaccess-files
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options