• Resolved uiop86

    (@uiop86)


    Hello,

    I really like your plug-in! I tested Polylang twice before thisplug-in, I gave up each time. With TranslatePress things are really easy and quick, it’s a pleasure to use.

    I only have a small problem: I can’t find how to use the shortcode you gave as an example to change an embed video on my website. I would like a Vimeo video in the French version, and a YouTube one in the English version.

    I tried to copy this code in my page after having written the links for both videos, but without success.

    With the “div style” code or the simple Vimeo link, it doesn’t work.

    <div style=”padding:56.25% 0 0 0;position:relative;”><iframe src=”https://player.vimeo.com/video/292107676?color=ffffff&byline=0&portrait=0&#8243; style=”position:absolute;top:0;left:0;width:100%;height:100%;” frameborder=”0″ webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></div><script src=”https://player.vimeo.com/api/player.js”></script&gt;

    [trp_language language=“fr_FR”]

    [/trp_language]

    [trp_language language=”en_GB”]
    https://youtu.be/MiaKpRgSNQg
    [/trp_language]

    Could you please help me?

    Thank you very much!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Different embed video depending on languages’ is closed to new replies.