i want to embed videos from swarmify to my forum , swarmify script is added to head tag in theme section but still there code to embed video is not working
here is the script
<script data-cfasync="false">
var swarmoptions = {
swarmcdnkey: "my-key",
iframeReplacement: "iframe",
autoreplace: {
youtube: true
}
};
</script>
<script async data-cfasync="false" src="https://assets.swarmcdn.com/cross/swarmdetect.js"></script>
smarmify embed code
<smartvideo class="swarm-fluid" controls playsinline
width="1280" height="720"
src="swarmify://5bfefc57e5eab49134214a6360abc98af927d8e7bd119d013b8e1a73858d3ce3">
</smartvideo>
added allowed iframe settings to swarmify://,www.swarmify.com,https://assets.swarmcdn.com/cross/swarmdetect.js but still no luck
console csp
gtm.js?id=GTM-K7MVKZJ:197 [Report Only] Refused to execute inline script because it violates the following Content Security Policy directive: "script-src DISCOURSEFORUM/logs/ DISCOURSEFORUM/sidekiq/ DISCOURSEFORUM/mini-profiler-resources/ DISCOURSEFORUM/assets/ DISCOURSEFORUM/brotli_asset/ DISCOURSEFORUM/extra-locales/ DISCOURSEFORUM/highlight-js/ DISCOURSEFORUM/javascripts/ DISCOURSEFORUM/plugins/ DISCOURSEFORUM/theme-javascripts/ https://assets.swarmcdn.com/cross/swarmdetect.js www.swarmify.com swarmify://5b538821c113d3DKJSKDJSKJ04f66745ef289f87cf770d4a2cbdef6b0b https://assets.swarmcdn.com/cross/swarmdetect.js https://assets.swarmcdn.com https://\swarmcdn.com". Either the 'unsafe-inline' keyword, a hash ('sha256-iVfcyf2/qxsGQZGUbYG9QQfnQ0Goj7MH5Vk4yG1tcfQ='), or a nonce ('nonce-...') is required to enable inline execution.