Jan 31, 2023 6:30 AM
Hi developers,
I have a set of files exported from Ceros platform. It contains an animated infographic created inside Ceros. Normally we publish it inside Ceros and embed the output page in HubSpot pages using iframe. Last day we've exported the whole set of files(HTML, CSS, JS etc.) and uploaded in our server and tried to embed it in the same HubSpot page. But it shows some error when opened in Chrome although it is working inside the same server. Can anybody provide a fix?
Iframe content: https://vtrio.com/highroad/ceros/LCC
HubSpot page with error: https://www.highroadsolutions.com/lifecycleconnector?hs_preview=VbvaVPOT-51419744321
Live page: https://www.highroadsolutions.com/lifecycleconnector
Thanks
Shiyon
Solved! Go to Solution.
Jan 31, 2023 3:23 PM
I'm not familiar with Ceros but your live, working iframe's src is hosted at view.ceros.com which allows cross-origin sharing (sharing between different domains) whereas your non-working iframe's src is hosted at vtrio.com which does not allow cross-origin sharing and is why the iframe is returning an error. If you're hosting the files yourself you either need to enable cross-origin resource sharing on your server (https://enable-cors.org/) or host the files on the highroadsolutions.com domain.
If this answer solved your question, please mark it as the solution!
Need custom website/integration development or help optimizing HubSpot for your organization?
Schedule a consultation with us, an award-winning HubSpot Elite Partner.
Or check out our blog to get the latest in marketing, design, integration, and HubSpot knowledge.
Jan 31, 2023 3:23 PM
I'm not familiar with Ceros but your live, working iframe's src is hosted at view.ceros.com which allows cross-origin sharing (sharing between different domains) whereas your non-working iframe's src is hosted at vtrio.com which does not allow cross-origin sharing and is why the iframe is returning an error. If you're hosting the files yourself you either need to enable cross-origin resource sharing on your server (https://enable-cors.org/) or host the files on the highroadsolutions.com domain.
If this answer solved your question, please mark it as the solution!
Need custom website/integration development or help optimizing HubSpot for your organization?
Schedule a consultation with us, an award-winning HubSpot Elite Partner.
Or check out our blog to get the latest in marketing, design, integration, and HubSpot knowledge.
3 weeks ago - last edited 3 weeks ago
Thank you @amwilie for the solution. Our support team is working on it.