WordPress.org

Support

Support » Themes and Templates » Magazine Basic » responsive video

responsive video

  • Is there a responsive video option for this theme? If so, can I use it for embedding YouTube videos?

    If there’s not, it sounds like I need to add a videowrapper div tag to my CSS. (However, I would like to avoid having to mess with that.)

    Something like this:

    .videoWrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    padding-top: 25px;
    height: 0;
    }
    .videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘responsive video’ is closed to new replies.
Skip to toolbar