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.

http://prntscr.com/5sf93

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

patoshi’s picture

i 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;

patoshi’s picture

still problematic... video does not show up at all.

jec006’s picture

Are 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?

jec006’s picture

Status: Active » Fixed

Marking fixed as no reply

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

..