admin管理员组文章数量:1356218
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>
本文标签: htmlHow to embed tiktok on own website using iframeStack Overflow
版权声明:本文标题:html - How to embed tiktok on own website using iframe? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743991044a2572142.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论