Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where YouTube videos displayed using 'Presto Player' disappear in some languages after visitors click on 'Accept all Cookies'. This problem was identified to be associated with WPML after disabling other plugins.
Solution:
We recommend the following steps to isolate and potentially resolve the issue:
1. Ensure that the 'Video Problem Test' page is translated into all languages on your sandbox site.
2. Switch the theme on your staging site to the default WordPress theme (e.g., Twenty Twenty-Four) and deactivate all third-party plugins except for WPML, Strings Translation, 'Presto Player', and 'Real Cookie Banner'.
3. If the issue does not persist under these conditions, reactivate the original theme and then each plugin one by one. This step-by-step approach will help identify if a specific theme or plugin reintroduces the problem.

If these steps do not resolve the issue or if it appears complex, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please do not hesitate to open a new support ticket at WPML support forum for further assistance.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 12 replies, has 2 voices.

Last updated by Itamar 2 months, 3 weeks ago.

Assisted by: Itamar.

Author Posts
August 12, 2024 at 2:42 pm #16062790

pascalS-9

Background of the issue:
We are using 'Presto Player' to display our YouTube videos on the website, and 'Real Cookie Banner' to manage our GDPR & ePrivacy Cookie Consent. We have a problem with videos disappearing and being hidden after our visitors click on 'Accept all Cookies'. We have talked with both of their teams and after we came to no conclusion we started disabling plugins and it turns out the problem somehow comes from WPML. We have 10 languages, and we tested the problem and it is not the same in all the languages. To check the problem please open this page in all the languages and be sure to 'Accept all Cookies': hidden link

Symptoms:
The videos disappear in some languages and remain visible in others after visitors click on 'Accept all Cookies'.

Questions:
Why do videos disappear in some languages after clicking 'Accept all Cookies'?
How can we fix the issue of videos disappearing in certain languages?

August 12, 2024 at 3:20 pm #16062985

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

This ticket has been inactive for quite a while. I didn't get a reply from you. So, I've transformed this chat into a support ticket because you may still need our help. If you do, please reply to this ticket, and one of our supporters will continue helping you.

Can you please confirm you have read and followed the instructions of the Real Cookie Banner plugin on how to work with WPML?

hidden link

Especially take notice of this.

If you install WPML or Polylang into an existing website that already uses Real Cookie Banner, you should deactivate Real Cookie Banner briefly and then reactivate it to initialize the plugin for all languages.

So, my suggestion is to activate WPML. Then, temporarily deactivate the Real Cookie Banner plugin and activate it again.

Can you please try this?

Thanks,
Itamar.

August 12, 2024 at 3:26 pm #16063001

pascalS-9

Hi, thanks for making a ticket,
Yes, we have done it recently and before and these 3 plugins have been working for the past 2 years without any problem Something happened recently that made things stop working.

Since I have to go now I will follow this up tomorrow.
Thanks, and have a nice day

August 12, 2024 at 4:13 pm #16063181

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

OK, I'll wait for your reply.

If my suggestion does not help, it is essential to ensure that there is a compatibility issue between the WPML 'Presto Player' and the 'Real Cookie Banner' plugins. There might be another third-party plugin involved. So please check if things are working when only WPML, Strings Translation, 'Presto Player' and 'Real Cookie Banner' are active.

Thanks,
Itamar.

August 13, 2024 at 7:51 am #16064863

pascalS-9

Hello, and good day,

I have tried it and yes the problem is still there I have disabled all the unessential plugins for the page we use as our test subject (hidden link) and the problem is still there.
The enabled plugins as necessary for the page to show up normally.
I just realized that in our "Content Blocker," of the "Real Cookie Banner plugin" we just have one YouTube when we disable the WPML we have multiple other content blockers! (Look at the screenshot I attached)
Can this be the cause of the problem?

staging.bigrep.com_wp-admin_admin.php_page=real-cookie-banner-pro-component-min.png
staging.bigrep.com_wp-admin_plugins.php_plugin_status=active.png
August 13, 2024 at 8:26 am #16065211

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi, and thanks for trying my suggestions.

Too many plugins are involved, and we need to replicate this issue on a clean WordPress site with only WPML, Strings Translation, Presto Player, and the Real Cookie Banner plugins. Then, I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:

hidden link

With this link, you'll be directly logged in.

Could you please install the plugins (Presto Player, Real Cookie Banner) involved and see if the issue is replicable on a clean WordPress installation?

Please configure WPML as on your site (just the basic configurations needed to replicate the issue are enough). Please also ensure you install the latest version of the plugin. When everything is finished, and you can replicate the problem, please let us know.
Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.

You wrote:

I just realized that in our "Content Blocker," of the "Real Cookie Banner plugin" we just have one YouTube when we disable the WPML we have multiple other content blockers! (Look at the screenshot I attached)
Can this be the cause of the problem?

You probably get this behavior because once you disable WPML, all the pages become the site's default and only language.

I'm also consulting our second-tier supporters about this case. This does not look like a WPML issue. I say it because it works in some of the languages.

Regards,
Itamar.

August 13, 2024 at 9:27 am #16065420

pascalS-9

Hi again,
I have tried to create the same condition but Some features of the real cookie banner were locked because we don't have a license:

-Consent for data processing in unsecure third countries
we have it on "Enabled" on our website
-Geo-restriction
we have it on "Disabled" on our website
-Transparency and Consent Framework (TCF)
we have it on "Disabled" on our website
-Google Consent Mode
we have it on "Enabled" on our website
-Consent Forwarding
we have it on "Disabled" on our website

and more...

The problem is not showing up on the page I created!
hidden link

August 13, 2024 at 9:31 am #16065433

pascalS-9

What I realized is that some languages don't have this part in the real cookie banner setting and they are the languages that the problem is not happening to them!
Please test it on our staging and check the screenshot.
hidden link

Do you need Staging access to check for yourself?

Screenshot 2024-08-13 112941.png
August 13, 2024 at 3:42 pm #16067341

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

You didn't translate the Vide Problem Test page on the sandbox site, so I translated it into all the languages. The problem still does not occur on the sandbox site, and the Content blocker is translated into all the languages.

I still suspect another third-party plugin or the theme to be the culprit on your staging site. Please check if the issue persists when the theme is switched to the default WordPress theme Twenty Twenty-Four and all the third-party plugins are deactivated. Only leave active WPML, Strings Translation, 'Presto Player', and 'Real Cookie Banner' plugins. If the issue does not persist, then activate the theme and check and then the other plugins and check when the problem returns.

Thanks,
Itamar.

August 15, 2024 at 10:28 am #16073894

pascalS-9

Hello, and good day, I have checked more with another theme.
The problem was still visible so I have disabled more plugins, and I figured out that as soon as we get rid of font awsome the problem is solved!

August 15, 2024 at 4:48 pm #16075600

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Thanks for following my suggestion and finding the culprit plugin.

If you want me to escalate this issue to our compatibility team, please add the awesome font to the sandbox site and replicate the problem there.

hidden link

Regards,
Itamar.

August 20, 2024 at 2:21 pm #16087502

pascalS-9

Hello, I have added the font awesome and tried it, but the video loads with no problem on the sandbox, I am in touch with the presto player team to see if they have any solution or not!
Thank you

August 20, 2024 at 6:40 pm #16088106

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+02:00)

Hi,

Thanks for updating me on this.

I'll wait to hear from you if you need further help with this issue.
Otherwise, please close this ticket.

Regards,
Itamar.