وردپرس

Caching pages and Youtube embeds?


When I load a post containing a youtube embed (created through the dedicated WP block), when navigating to the post from the homepage for example, it gives me this error:

Refused to frame 'https://www.youtube.com/' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.

If I refresh the page, then it works. How can I prevent this error on first load?

(had an error, this issue is a duplicate, please remove)

  • This topic was modified 3 minutes ago by julian.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا