embed
embed copied to clipboard
How to embed videos with content security policy?
Examples:
https://stripe.com/docs/security/guide#content-security-policy
https://docs.hcaptcha.com/#content-security-policy-settings
Maybe add some docs or a section somewhere of how to embed dtube videos with CSP.
Video I used for the embed:
https://d.tube/#!/v/techcoderx/04mhfe0o
I tried 'https://emb.d.tube' inside of Frame SRC and i got:
Bad video JSON SyntaxError: Unexpected end of JSON input
at JSON.parse (<anonymous>)
at Object.decode (dtube.min.js:17)
at startup (dtube.min.js:28)
at HTMLDocument.<anonymous> (dtube.min.js:28)