Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. General Discussion
  3. The size of embedded <iframe> videos in carousel are wrong

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

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 945 Views 1 Watching
  • 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
    P
    prazzo101
    wrote on last edited by prazzo101
    #1

    Hello!

    I tried to create a carousel with embedded vimeo videos, so I followed the instructions I found in this thread:
    http://laythemeforum.com/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
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

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

      Best!

      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • P
        P
        prazzo101
        wrote on last edited by
        #3

        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
        0
        • mariusjopenM
          mariusjopenM
          mariusjopen
          Global Moderator
          wrote on last edited by
          #4

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

          Best!

          Marius

          www.mariusjopen.world

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          Online Users
          A
          Anna_S
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
          laytheme.com
          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Search