Why is a YouTube video or map still blocked after consent?
Our YouTube embed is correctly blocked before consent, but sometimes it does not load after the visitor allows marketing. How should I troubleshoot this?
Our YouTube embed is correctly blocked before consent, but sometimes it does not load after the visitor allows marketing. How should I troubleshoot this?
Confirm that the iframe is assigned to the same category the visitor granted and that the latest inventory is published. Then watch the iframe-blocked and iframe-unblocked events to see whether the runtime reevaluates the element.
If a framework replaces the iframe during client-side navigation, make sure the new element is created after OptinStack initializes and retains the expected source and category information. For a custom experience, you can provide blocked-iframe placeholder HTML and let visitors open preferences from the placeholder.
Documentation: Blocking events and Blocked iframe placeholders.