Overview
You may face the issue where you're trying to embed inside an iframe (videos, google slides, docs, calendar, excel sheet) but the dimensions do not appear properly and when you try to change them by code, the change is not seen.
Information
Please note that this issue was escalated to our development team and they applied a permanent fix in February 2022. Therefore you shouldn't encounter it anymore.
In case you do, please open a support ticket and attach a screenshot of the issue, the link to the page where you see it.
In the meantime, you can use this workaround to fix it by adding an additional CSS in the custom CSS section of the Code Editor:
.sl-cms2-custom-html-source__iframe {
height:600px;
}
This will effectively increase the height and you can adjust the height to meet your requirements by decreasing or increasing the 600px value as you find suitable.
<supportagent>
If you face a similar issue check if there is already an open JIRA for it and inform the customer.
</supportagent>