JTLR
2/24/2014 - 10:16 PM

Responsive video embed

Responsive video embed

.embed {
  position: relative;
  height: 0; 
  padding: 0 0 56.25% 0; // 16:9
  overflow: hidden;
  iframe,
  object,
  embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}