Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you are using HTTPs, or a mix of HTTP and HTTPs, this module will not show the videos, because they are served over HTTP only. Even if you specify an HTTPs url for youtube, it goes to HTTP, because the module is just parsing the video ID out of the URL and discarding the rest.
The fix is to use protocol relative URLs when generating the embed address.
The attached patch fixes youtube videos, but I did not look at what other sites support serving over both HTTP and HTTPs.
(Apologies if the attached patch is in the wrong format...I'm not quite sure how to do it properly)
Comment | File | Size | Author |
---|---|---|---|
#1 | 2438439-video-filter-protocol-fix.patch | 1.46 KB | grom358 |
Comments
Comment #1
grom358 CreditAttribution: grom358 commentedSlight fix to format of patch file supplied by @grantemsley
Comment #2
grom358 CreditAttribution: grom358 commentedComment #3
Chris Gillis CreditAttribution: Chris Gillis commentedConfirm this patch works. +1 from me. :)
Comment #4
Anonymous (not verified) CreditAttribution: Anonymous commented+1
Comment #5
grom358 CreditAttribution: grom358 commentedComment #6
DamienMcKenna+1
Comment #7
blackdog CreditAttribution: blackdog as a volunteer commentedThis was fixed in #786774.