Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
With using 7.x-3.x-dev and inserting a video into a paragraph, with all tags allowed in my text format and on a clean Drupal 7.34 site, I am getting the following error:
Notice: Undefined index: attributes in theme_video_filter_iframe() (line 322 of /[my-path]/sites/all/modules/contrib/video_filter/video_filter.module).
The video still shows up but with this error on saving the node. Might be related to the issue indicated (https://www.drupal.org/node/786774). Anyhow know what this error is from?
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#5 | video_filter-undefined_index-2488242-5.patch | 721 bytes | emmonsaz |
#4 | video_filter-undefined_index-2488242-4.patch | 413 bytes | mherchel |
Comments
Comment #1
joep.hendrix CreditAttribution: joep.hendrix at CompuBase Internet Solutions commentedThe problem is caused by:
This should be:
Comment #2
rajmataj CreditAttribution: rajmataj commentedComment #3
rajmataj CreditAttribution: rajmataj commented@joep.hendrix
Good catch. I tried that out and it works. Hopefully the contributors will get this into dev and then into the stable release before long. Most videos are https (from YouTube) so this module definitely needs the update to stay with the times. The last stable release was 2012. Anyhow, thanks for your sleuthing.
Comment #4
mherchelConfirmed #1 fixes the issue. Patch attached.
Comment #5
emmonsaz CreditAttribution: emmonsaz as a volunteer commentedI believe you missed one...
Comment #6
loopduplicateClosing this as a duplicate of https://www.drupal.org/node/2338423 . Both issues have the same fix and the other issue is already marked RTBC.
Cheers,
loopduplicate