errors on updating to 1/19/2012 update.... none of the videos work now. seems that its not recognizing the domains for vimeo or youtube.
Notice: Undefined index: domains in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Warning: Invalid argument supplied for foreach() in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Notice: Undefined index: domains in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Warning: Invalid argument supplied for foreach() in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Notice: Undefined index: domains in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Warning: Invalid argument supplied for foreach() in _video_embed_field_get_provider_domains() (line 441 of /var/www/x.x.com/public_html/sites/all/modules/video_embed_field/video_embed_field.module).
Unsupported Video Provider
Comments
Comment #1
patoshi CreditAttribution: patoshi commentedi actually got all the errors to disappear as it seems like in the .module file on line 430:
foreach ($handler['domain'] as $domain) {
its looking for 'domains' while the $handler contains 'domain' instead. I updated that to 'domains' but that still throws an error as i just got rid of the foreach loop all together and just did this:
$domains[$handler['domain']] = $name;
Comment #2
patoshi CreditAttribution: patoshi commentedstill problematic... video does not show up at all.
Comment #3
jec006 CreditAttribution: jec006 commentedAre other people having this problem - nothing has been committed to that section of code for a while.
This was the commit where it was added: http://drupalcode.org/project/video_embed_field.git/commit/39ca7d2b495d3...
I think the purpose of the code is to create indexes in the $domains variable - the code appears correct to me.
Do you have a module providing a video provider or implementing the alter? Also - have you tried clearing cache?
Comment #4
jec006 CreditAttribution: jec006 commentedMarking fixed as no reply
Comment #5.0
(not verified) CreditAttribution: commented..