• See use of Content Switcher at top of page. I’m needing to display a different video in each tab, so using a simple iframe based embed code. When I’m in the Elementor editor, this displays each video and embedded player as expected. But on the live site only the primary or default tab will display. I tried setting all of them to Active = On, but that flag seems to just be to indicate which of the tab to default to on page load. Please advise what I should do.

    Here’s the video embed code that is saved in each tab:

    Tab 1:
    <iframe src=”https://www.youtube.com/embed/7xY6Kjm7Ggc?autoplay=1&#8243; width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

    Tab 2:
    <div><iframe src=”https://www.youtube.com/embed/aXPOJftVU3g&#8221; width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe></div>

    Tab 3:
    <iframe src=”https://www.youtube.com/embed/H4i6jxBS-kc&#8221; width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

    Tab 4:
    <iframe src=”https://www.youtube.com/embed/KRlAZn9L-UE&#8221; width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Hardik Sharma

    (@hardiksharma)

    Hi @ofijoshua,
    I have checked the URL on which are getting the issue, it seems that some other scripts override the height of the iframe. You can see this in the Attachment.
    So check this after disabling the plugin one by one.
    If you want to embed a youtube video in Content Switcher, You can also use the video widget of Elementor.

    For this you have to create a section in Elementor, please refer our doc on this.
    Documentation

    Thread Starter ofijoshua

    (@ofijoshua)

    Hi Hardik,

    Thank you for the suggestion of using the video widget. I created a Saved Section with a single video widget and used the saved section approach in each tab content setting and its working to display all of them. However the 2nd, 3rd and 4th tabs display the video widget skewed to the right …almost like the Position setting is to the right, but its not. Please take a look.

    Thanks,
    joshua

    Plugin Contributor Hardik Sharma

    (@hardiksharma)

    Hi @ofijoshua,
    I have checked the page. it seems that some other settings apply position on the section see in Attachment. Or Video is not visible on the page I think you made some mistakes while adding a link to the video widget.
    I have created this scenario it works fine on our end. you can see it in the attachment. Play Video

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Content Switcher Not Displaying Content on Non Default Tabs’ is closed to new replies.