Index: video_filter.module =================================================================== --- video_filter.module (revision 199) +++ video_filter.module (working copy) @@ -101,9 +101,9 @@ // Codec found if ($video['codec']) { // Override default attributes - if ($matches_code[3][$ci] && preg_match_all('/\s+([a-z]+)\:([^\s]+)/i', $matches_code[3][$ci], $matches_attributes)) { + if ($matches_code[3][$ci] && preg_match_all('/\s+([a-z]+)\:("([^\"]*)"|([^\s]+))/i', $matches_code[3][$ci], $matches_attributes)) { foreach ($matches_attributes[0] as $ai => $attribute) { - $video[$matches_attributes[1][$ai]] = $matches_attributes[2][$ai]; + $video[$matches_attributes[1][$ai]] = $matches_attributes[3][$ai]; } }