[Resolved] Issue with embeded video link from Gumlet -
This thread is resolved. Here is a description of the problem and solution.
Problem: You are using the Gumlet service to embed a video link on a page with the Divi builder. The video displays correctly in the default language but not in the English version. After translating the page, the video shows just an empty block. This issue might be related to WPML adding comment tags in the translation editor, which could be disrupting the video display. Solution: First, ensure that the code for the video embed does not contain unnecessary extra spaces or line breaks. Proper formatting is crucial as shown in the example from W3Schools. Next, avoid translating the code via the WPML editor as it can break the code upon saving the translation. Instead, update the content in the default language and resend it for translation. We have addressed this issue on our side, so please make sure to update your WPML plugins and check if the problem persists.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 problems continue, please open a new support ticket.
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.
Background of the issue:
I am trying to use the Gumlet service to embed a video link on a page using the Divi builder. I use the Code module to add the code generated by Gumlet. The video displays correctly in the default language, but not in the English version. When I manually add the code in the English version, it works until I translate the page. I noticed that WPML adds some comments tags in the translation editor, which might be causing the issue. Link to a page where the issue can be seen: hidden link
Symptoms:
The video is not displayed in the English version of the page, showing just an empty block. Manually adding the code works until the page is translated.
Questions:
Why does the video not display in the English version of the page?
Do WPML comment tags in the translation editor affect the video display?
As far I understand, code should not be translated via WPML editor, since it does show there it breaks the code on saving translation so that is why it does not work.
I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons, and themes.
You can access the WordPress dashboard using the link below:
- hidden link
Please try to replicate the issue with a simple example page.
This will help us to report the probable issue to the compatibility team and solve the possible problem faster.
I checked and it seems your code had some space and line breaks inside it so it caused an issue with translation. I have removed it, so your code looks like this: