Does this work with media:YouTube content?

Comments

justafish’s picture

Title: Video » Add YouTube Support

Not yet, that would be a nice feature though. The YouTube video would just need a div wrapper around it with the following CSS:

.responsive-video {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.responsive-video iframe,
.responsive-video object,
.responsive-video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
justafish’s picture

Assigned: Unassigned » justafish

Although this might cause issues with the overlay

Nigeria’s picture

Any chance of an Alpha2 version with this in it?

bryancasler’s picture

Not exactly the same, but give this module a try http://drupal.org/project/fitvids

mxt’s picture

#4 is a good suggestion: fitvids works very well

justafish’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)