Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] embed video responsive not working for me

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #208828
    tracybags
    Participant

    Hi – I’ve follwed the blog post on how to make the youtube video responsive for my site but it’s not working!
    Any help please on what’s wrong with this?
    http://codepen.io/charlieapple/pen/WQoKMa

    many thanks

    #208841
    bearhead
    Participant

    The problem is that videoWrapper is an id, not a class, so change your css selector to #videoWrapper

    or better yet, make videoWrapper a class.

    #208842
    tracybags
    Participant

    THANK YOU!!!!!!!!!!!!!!!!!!! I’m not used to using the class this way, hence cutting and pasting from tutorial I thought I’d done it right, but clearly hadn’t! Thank you so much!
    While I’m here, do you know how to get rid of the black bars top and bottom of the video?
    Thanks again :)

    #208847
    bearhead
    Participant

    I’m not really sure what to do about those, it looks like they are actually part of the video…

    #208848
    tracybags
    Participant

    okay thanks very much, it’s not the end of the world, but the non-responsive certainly was!! Thanks for your help, much appreciated.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.