Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    The size of embedded <iframe> videos in carousel are wrong

    General Discussion
    2
    4
    261
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      prazzo101 last edited by prazzo101

      Hello!

      I tried to create a carousel with embedded vimeo videos, so I followed the instructions I found in this thread:
      http://laythemeforum.com:4567/topic/1964/iframe-carousel

      Creating the vimeo gallery works, I add new text containers to carousel, paste in the embed-code from Vimeo and add "?background=1" to the URL to make them autoplay and hide the controls.

      But now I can’t control the size of the videos, they are all way too small, they look like thumbnails. I added the CSS from the thread I’ve linked to which is supposed to make the embedded videos the same size as the container to my custom CSS , but it doesn’t work.

      I don’t know what I’m doing wrong, is there something I have to change in the embed-code?

      Thank you very much!

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @piero101
        can you post a link to your website?

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • P
          prazzo101 last edited by

          Hello Marius, thanks for your reply.
          I found a way to fix it, I added this custom CSS:

          .lay-carousel .slide-text {
          padding-left: 0;
          padding-right: 0; }

          For some reason that fixed it and I am very happy :)

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Dear @piero101
            great! Thank you for posting your solution!

            Best!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Before you post

            Use the Search Feature. Maybe there is already a solution to your issue.

            1. Update Lay Theme and all Lay Theme Addons
            2. Disable all Plugins
            3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
            4. Now see if your problem solved itself
            5. Go here, see if your problem is listed here:
            Troubleshooting

            When you post:
            1. Post a link to where the problem is
            2. If the problem is difficult to explain, post screenshots / link to a video to explain it

            Thanks!

            Online Users

            P

            Recent Topics

            • C

              image carousel bugging out

            • N

              help needed with cleaning up and optimising lay theme portfolio website

            • R

              Html5 Video Player issue

            laytheme.com