Wrong youtube embed with WPML

Hi,
I have built a website with x theme and WPML.
I have done this often before, but now there is a strange behavior:
I have embedded a youtube video on the home page, on the german and on the english one.
In cornerstone I can see the right embed code and the right preview.
But in the front-end I always get the german video on the english page.
I send you a link in a private note.
Hope you can find the cause.
Thank you!

Hi @salilou,

Thank you for writing in, I see that you use the Classic Embedded Video element, would you mind replacing that with a (v2) Video element. We’ve received some reports that Classic elements are not translating with WPML, rest assured our Dev Team are working hard to find the root of this issue.

Cheers!

I have replaced it, but the problem is still there.

Hey @salilou,

I see you’re using Yoast SEO too. There’s currently a known conflict between WPML and Yoast SEO which affects the output of Cornerstone. Would you mind deactivating Yoast SEO to test if this fixes for you too.

I’d also recommend temporarily deactivating all third-party plugins to test if there are more conflicts with WPML.

Thanks.

The WPML Support tested it, but with no success.
They did another trick, and that one did it.


So it is solved now - thank you!

Hi, Glad things sorted out on your end and thank you for sharing the solution.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.