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. 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 68 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 Offline
    R Offline
    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 Offline
      R Offline
      runebrink
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • mariusjopenM Offline
        mariusjopenM Offline
        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 Offline
          R Offline
          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
          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
          L
          luzmayo
          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