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. Bug Reports
  3. Youtube embed 4:3 when live

Youtube embed 4:3 when live

Scheduled Pinned Locked Moved Bug Reports
4 Posts 2 Posters 305 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.
  • R
    R
    runebrink
    wrote on last edited by
    #1

    Dearest laystreamers

    Im getting a strange render bug here, when embedding youtube videos in laytheme, they appear normally as 16:9, but 4:3 when its a live stream.

    If i embed the same stream traditionally trough HTML embed, it show correctly, leaving me suspicious about it being in the laytheme end?

    Heres an example:
    http://2020.pdas.dk/

    1 Reply Last reply
    0
    • R
      R
      runebrink
      wrote on last edited by
      #2

      changed the link:
      http://2020.pdas.dk/forsidetest

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

        Dear @runebrink
        yes. If it is live-stream we are not sure if everything works correctly.
        Better to use the HTML element there.
        Best!
        Marius

        www.mariusjopen.world

        R 1 Reply Last reply
        0
        • mariusjopenM mariusjopen

          Dear @runebrink
          yes. If it is live-stream we are not sure if everything works correctly.
          Better to use the HTML element there.
          Best!
          Marius

          R
          R
          runebrink
          wrote on last edited by
          #4

          @mariusjopen Thanks, i did and used a css workaround:

          <div class="container">
          <iframe src="https://www.youtube.com/embed/live_stream?channel=UCslakCvwX60o10L5pK6VgfA"
          frameborder="0" allowfullscreen class="video"></iframe>
          </div>

          .container {
          position: relative;
          width: 100%;
          height: 0;
          padding-bottom: 56.25%;
          }
          .video {
          position: absolute;
          top: 0;
          left: 0;
          width: 100%;
          height: 100%;
          }

          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