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. 1 px black lines on Vimeo embed videos

1 px black lines on Vimeo embed videos

Scheduled Pinned Locked Moved General Discussion
5 Posts 2 Posters 2.0k 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.
  • S
    S
    strk
    wrote on last edited by
    #1

    Hi @Armin-Unruh !
    We have embed Vimeo videos in a container that is 100% width & height that displays a 1px black line. We've checked Vimeo forums and Vimeo claims that they are not the problem but the CMS we are using.
    For example: http://www.querida.si/solange-seventy-states/

    This si the code we are using
    <style>
    .embed-container { overflow: hidden; position: relative; padding-bottom: 63.15%; height: 0; overflow: hidden; max-width: 100%; }
    .embed-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -100;
    -ms-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    background-size: cover;
    }
    </style>
    <div class='embed-container'><iframe src='https://player.vimeo.com/video/248458987?autoplay=1&loop=1&autopause=0 frameborder=‘0’ mute='true' webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe></div>

    Any ideas as to how I can fix this?
    Thanks!

    1 Reply Last reply
    0
    • mariusjopenM
      mariusjopenM
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Hi @strk

      can you insert your custom CSS in the Custom CSS section?

      Then it is easier to edit and inspect. Not as an inline code it is rather messy.

      Thank you!

      Marius

      www.mariusjopen.world

      S 2 Replies Last reply
      0
      • mariusjopenM mariusjopen

        Hi @strk

        can you insert your custom CSS in the Custom CSS section?

        Then it is easier to edit and inspect. Not as an inline code it is rather messy.

        Thank you!

        Marius

        S
        S
        strk
        wrote on last edited by
        #3

        @mariusjopen Done!
        If the code is in the CSS custom section, do we place the videos by using the +Video button or +HTML?
        Thanks!

        1 Reply Last reply
        0
        • mariusjopenM mariusjopen

          Hi @strk

          can you insert your custom CSS in the Custom CSS section?

          Then it is easier to edit and inspect. Not as an inline code it is rather messy.

          Thank you!

          Marius

          S
          S
          strk
          wrote on last edited by
          #4

          @mariusjopen Actually, don't worry, we'll try do it in a different way. Thank you anyway!

          1 Reply Last reply
          0
          • mariusjopenM
            mariusjopenM
            mariusjopen
            Global Moderator
            wrote on last edited by
            #5

            Hi @strk

            all good!

            Let me know when you need help with that then…

            Merry Christmas!

            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
            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