Index: youtube_api.module =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/youtube_api/youtube_api.module,v retrieving revision 1.13 diff -u -r1.13 youtube_api.module --- youtube_api.module 23 Jul 2008 05:04:01 -0000 1.13 +++ youtube_api.module 24 Feb 2009 18:43:46 -0000 @@ -523,7 +523,11 @@ foreach ($attrs as $key => $val) { $video->statistics[$key] = (string) $val; } - } + } + + //get + $video->embed = ($yt->noembed ? 0 : 1); + // get node for video ratings $gd = $entry->children('http://schemas.google.com/g/2005'); $attrs = $gd->rating->attributes();