Skip to main content

Player can't load

Update: Thank you JF now the issue fixed.

change "header('Referrer-Policy: same-origin');". to "header('Referrer-Policy: strict-origin-when-cross-origin');" maybe can help people with similar problem.

Is anyone else in the EU/Germany experiencing the same issue? If I add a YouTube video via the media library, the player can’t load. If I insert the video directly into a post, the original YouTube player is shown after a few seconds, although I have already enabled the option “Play Embedded Videos With FluentPlayer.”

Peng Xie

Screenshot: The player can't load. The console has no errors.

Shahjahan Jewel

You can use the FluentPlayer Block.

Peng Xie

Shahjahan Jewel thx for quick reply. As the screenshot shows, if I use block, also add a media via media list (admin.php?page=fluent-player), the player can't load too. So I want to know it is the player bug, or maybe the limit from youtube for EU users?

Shahjahan Jewel

Peng Xie Maybe some kind of conflict. Would you please open a support ticket,

JF

Hi Peng Xie I had a similar issue with YT videos. In my case it was a security setting blocking it: "header('Referrer-Policy: same-origin');". So, I changed it to "header('Referrer-Policy: strict-origin-when-cross-origin');" and it's working now. Maybe check your security plugin and rules. Good luck!

Peng Xie

JF thx for the support, maybe you can help me, how can I change the header, in wordpress or in server setting?🌹

JF

Peng Xie You have to check if this security rule is set on your site first. If it's not set, then maybe that's not the problem. Check your .htaccess file on the server, your WP security plugin or any PHP snippet.