WordPress.org

Ready to get started?Download WordPress

Forums

Magazine Basic
responsive video (3 posts)

  1. ndowney
    Member
    Posted 10 months ago #

    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%;
    }

  2. ndowney
    Member
    Posted 10 months ago #

    Update: I just noticed that it works in Chrome.

  3. ndowney
    Member
    Posted 10 months ago #

    Wrong thread. Disregard second message.

Reply

You must log in to post.

About this Theme

About this Topic