I want to embed tiktok on my website.
Unfortunately, when I follow this guide (), I get an error.
Error:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'report-sample' 'unsafe-eval' apis.google c.paypal cdn.ampproject cdnjs.cloudflare client-api.arkoselabs code.jquery connect.facebook developers.kakao googleads.g.doubleclick interactives.ap js-cdn.music.apple/musickit/v3/musickit.js js.hcaptcha js.hsforms lf16-cdn-tos.tiktokcdn-us/obj/static-tx/bric-captcha/core-captcha/ pay.google recaptcha.google s20.tiktokcdn s3.amazonaws sf16-website-login.neutral.tiktokcdn-eu sf16-website-login.neutral.ttwstatic sf16-website.neutral.tiktokcdn-eu sf16-website.neutral.ttwstatic sf16m-website-login.neutral.ttwstatic ssl.bing static.captchami tiktok.captchami tx41v.arkoselabs unpkg vimeo www.google www.googleadservices www.googleapis www.googletagmanager www.gstatic www.vimeo". Either the 'unsafe-inline' keyword, a hash ('sha256-Rh1yD1vybhPJYDImLfN6osJk66wUwzS2EFGJ64u93gA='), or a nonce ('nonce-...') is required to enable inline execution.
Has this guide been outdated and this method no longer works?
My code:
<head></head>
<body>
<iframe height="300" width="400"
src="?&music_info=1&description=1" allow="fullscreen"
title="test"></iframe>
</body>
</html>