If "Enable clickjack protection for customer Visualforce pages with headers disabled" is enabled in Setup > Session Settings, the preview is not displayed in the ofcHtml component. Follow the steps below to add the Lightning domain of your org to "Trusted Domains for Inline Frames".
Settings for "Trusted Domains for Inline Frames"
From Setup > Session Settings, click the "Add Domain" button in "Trusted Domains for Inline Frames". Enter the following values and click the "Save" button. Domain Name: The Lightning domain of your org (the part of the URL shown in the browser's address bar, from "https://" to ".com"). e.g. https://mycompany.lightning.force.com IFrame Type: Visualforce Pages *This setting is not required for custom buttons and Lightning component buttons, because they display the preview in a new browser tab.
Instruction manual