# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
--- W:\www\sites\accelerated-evolution-2.dev\sites\all\modules\video_filter\video_filter.codecs.inc.old
+++ W:\www\sites\accelerated-evolution-2.dev\sites\all\modules\video_filter\video_filter.codecs.inc
@@ -198,7 +198,7 @@
     'autoplay' => $video['autoplay'] ? 'autoplay=1' : 'autoplay=0',
   );
   $url = $video['codec']['matches'][1] . '?' . "wmode=transparent&amp;" . implode('&amp;', $attributes);
-  $html = '<iframe src="http://www.youtube.com/embed/'.$url.'" width="'.$video['width'].'" height="'.$video['height'].'" frameborder="0"></iframe>';
+  $html = '<iframe src="http://www.youtube.com/embed/'.$url.'" width="'.$video['width'].'" height="'.$video['height'].'" frameborder="0"' . ( $video['align'] ? ' style="float:' . $video['align'] . '"' : '' ) . '></iframe>';
 
   return $html;
 }
@@ -228,7 +228,7 @@
 }
 
 function video_filter_vimeo_html5($video) {
-  $html = '<iframe src="http://player.vimeo.com/video/'.$video['codec']['matches'][1].($video['autoplay'] ? '?autoplay=1' : '').'" width="'.$video['width'].'" height="'.$video['height'].'" frameborder="0"></iframe>';
+  $html = '<iframe src="http://player.vimeo.com/video/'.$video['codec']['matches'][1].($video['autoplay'] ? '?autoplay=1' : '').'" width="'.$video['width'].'" height="'.$video['height'].'" frameborder="0"' . ( $video['align'] ? ' style="float:' . $video['align'] . '"' : '' ) . '></iframe>';
 
   return $html;
 }
