Symptom
Videos embedded in iframes do not display correctly after editing HTML content source in SmartEdit.
- By default SmartEdit automatically adds a 'sandbox=""' attribute to iframe elements, which cannot be removed or modified.
- The script execution is blocked due to this sandbox attribute, resulting in the following error in the browser console
"Blocked script execution in '' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.".
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
SAP Commerce Cloud
Product
Keywords
sandbox attribute, iframe, script execution blocked, CKEditor, video not displaying, iframe not loading, SmartEdit issue, wysiwyg editor, iframe configuration, CKEditor sandbox, embedded video issue, iframe JavaScript restriction, SmartEdit wysiwyg configuration, config.iframe_attributes , KBA , CEC-SCC-COM-SEDIT , SmartEdit , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview