Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • 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 1.3k Views
  • 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 Offline
    S Offline
    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 Offline
      mariusjopenM Offline
      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 Offline
        S Offline
        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 Offline
          S Offline
          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 Offline
            mariusjopenM Offline
            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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            I also code custom websites or custom Lay features.
            💿 Email me here: 💿
            info@laytheme.com

            Before you post:
            1. When using a WordPress Cache plugin, disable it or clear your cache.
            2. Update Lay Theme and all Lay Theme Addons
            3. Disable all Plugins
            4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

            This often solves issues you might run into

            When you post:
            1. Post a link to where the problem is
            2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
            3. If the problem is difficult to explain, post screenshots / link to a video to explain it
            Online Users
            N
            NAS
            R
            robsdonatini
            dafvD
            dafv
            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