Skip Navigation

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

Problem:
You are using the Divi Theme on your website and have embedded a YouTube video using a shortcode module. While the video displays correctly in the Greek version, it does not appear in the English version, showing only empty space.
Solution:
Revise the original content.
The issue was related to excessive whitespace in the original iframe markup, which has been corrected. The video should now display correctly when translating with the WPML Translation Editor.

If this solution does not apply to your case, or if it seems outdated, 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 issues persist, please open a new support ticket.

0% of people find this useful.

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 0 replies, has 0 voices.

Last updated by Andreas W. 1 month, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
November 12, 2024 at 1:41 pm

evangelosB

Background of the issue:
I am using the Divi Theme for my website and have embedded a YouTube video with specific parameters through the shortcode module. The video displays correctly on the Greek version of the website, but in the English version, all I see is empty space where the video should be.

Symptoms:
The embedded YouTube video does not appear on the English version of my website when using the Divi Theme.

Questions:
How can I get the YouTube video to display correctly on the English version of my site?

November 12, 2024 at 2:24 pm
November 12, 2024 at 2:29 pm #16393282

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey,

While I check the issue with the video, can you please list the other 2 issues you mentioned you had?

November 13, 2024 at 3:01 pm #16398234

Lucas Vidal de Andrade
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

After further testing, I noticed that WPML is not parsing the HTML inserted correctly. As a workaround, please do as follows. Make a backup first.

1. Visit the WordPress editor for the original page;
2. Select "WP Editor" in the language options in the sidebar;
3. Click to edit the translation;

This way, you'll be able to use Divi to create the translations. Please save your translated content before hand, so you don't lose it. You can copy the content from the original and replace the texts. This way, you should have no issue with the video. In case you need, here are more details:

https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Let me know if you have any questions or comments.

November 18, 2024 at 1:04 pm #16414901

evangelosB

Hello there,

Not every option on the guide you sent are showing in my WordPress editor.

Do you have anything else to suggest in order to fix this issue?

Many thanks!

November 18, 2024 at 4:42 pm #16415963

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

My colleague Lucas is today on national holiday.

The original iframe had too much whitespace. I have fixed the original markup now and it is working as expected when translating with the WPML Translation Editor.

Best regards
Andreas