diff -up --strip-trailing-cr original/fblikebutton.admin.inc neu/fblikebutton.admin.inc
--- fblikebutton.admin.inc	2012-07-09 00:34:59.000000000 +0200
+++ fblikebutton.admin.inc	2012-07-22 08:05:26.144625000 +0200
@@ -45,6 +45,13 @@ function fblikebutton_dynamic_settings()
     '#title' => t('Appearance settings'),
     '#collapsible' => FALSE,
   );
+  $form['fblikebutton_dynamic_appearance']['fblikebutton_format'] = array(
+    '#type' => 'select',
+    '#title' => t('Output format'),
+    '#options' => array('iframe' => t('Iframe'), 'html5' => t('HTML5')),
+    '#default_value' => variable_get('fblikebutton_format', 'iframe'),
+    '#description' => t('Determines which output format to use'),
+  );
   $form['fblikebutton_dynamic_appearance']['fblikebutton_iframe_width'] = array(
     '#type' => 'textfield',
     '#title' => t('Width of the iframe (px)'),
@@ -153,6 +160,13 @@ function fblikebutton_static_settings()
     '#title' => t('Button appearance'),
     '#collapsible' => FALSE,
   );
+  $form['fblikebutton_static_block_appearance']['fblikebutton_bl_format'] = array(
+    '#type' => 'select',
+    '#title' => t('Output format'),
+    '#options' => array('iframe' => t('Iframe'), 'html5' => t('HTML5')),
+    '#default_value' => variable_get('fblikebutton_bl_format', 'iframe'),
+    '#description' => t('Determines which output format to use'),
+  );
   $form['fblikebutton_static_block_appearance']['fblikebutton_bl_layout'] = array(
     '#type' => 'select',
     '#title' => t('Layout style'),
diff -up --strip-trailing-cr original/fblikebutton.install neu/fblikebutton.install
--- fblikebutton.install	2012-07-09 00:34:59.000000000 +0200
+++ fblikebutton.install	2012-07-13 07:33:19.635250000 +0200
@@ -20,6 +20,7 @@ function fblikebutton_uninstall() {
   variable_del('fblikebutton_bl_iframe_css');
   variable_del('fblikebutton_node_types');
   variable_del('fblikebutton_show_faces');
+  variable_del('fblikebutton_format');  
   variable_del('fblikebutton_layout');
   variable_del('fblikebutton_color_scheme');
   variable_del('fblikebutton_iframe_height');
@@ -32,7 +33,7 @@ function fblikebutton_uninstall() {
   variable_del('fblikebutton_teaser_display');
   variable_del('fblikebutton_xfbml');
   variable_del('fblikebutton_appid');
-  variable_del('fblikebutton_bl_layout');
+  variable_del('fblikebutton_bl_format');
   variable_del('fblikebutton_bl_layout');
   variable_del('fblikebutton_bl_show_faces');
   variable_del('fblikebutton_bl_action');
diff -up --strip-trailing-cr original/fblikebutton.module neu/fblikebutton.module
--- fblikebutton.module	2012-07-09 00:34:59.000000000 +0200
+++ fblikebutton.module	2012-07-22 12:25:38.225785300 +0200
@@ -61,6 +61,7 @@ function fblikebutton_node_view($node, $
   $webpage_to_like = url("node/$node->nid", array('absolute' => TRUE));
   $likebutton_weight = variable_get('fblikebutton_weight', '0');
   $conf = array(
+    'format' => variable_get('fblikebutton_format', "iframe"),
     'layout' => variable_get('fblikebutton_layout', 'standard'),
     'action' => variable_get('fblikebutton_action', 'like'),
     'color_scheme' => variable_get('fblikebutton_color_scheme', 'light'),
@@ -177,6 +178,7 @@ function fblikebutton_block_view($delta
       if ($show && $fullnodedisplay == 1) {
         $webpage_to_like = url("node/$node->nid", array('absolute' => TRUE));
         $conf = array(
+          'format' => variable_get('fblikebutton_format', "iframe"),
           'layout' => variable_get('fblikebutton_layout', 'standard'),
           'action' => variable_get('fblikebutton_action', 'like'),
           'color_scheme' => variable_get('fblikebutton_color_scheme', 'light'),
@@ -194,6 +196,7 @@ function fblikebutton_block_view($delta
     case 'fblikebutton_static_block':
       $addr = variable_get('fblikebutton_block_url', $base_url);
       $conf = array(
+        'format' => variable_get('fblikebutton_bl_format', "iframe"),
         'layout' => variable_get('fblikebutton_bl_layout', "standard"),
         'action' => variable_get('fblikebutton_bl_action', "like"),
         'color_scheme' => variable_get('fblikebutton_bl_color_scheme', "light"),
@@ -220,10 +223,17 @@ function _fblikebutton_field($webpage_to
   $show_faces = $conf['show_faces'] ? 'true' : 'false';
   $font = $conf['font'];
 //  $send = $conf['send'];
+  $send = FALSE;
   $other_css = $conf['other_css'];
   $language = ($conf['language']) ? '&locale=' . $conf['language'] : '';
   $params = "href={$webpage_to_like}&layout={$layout}&show_faces={$show_faces}&width={$width}&font={$font}&height={$height}&action={$action}&colorscheme={$colorscheme}{$language}&send=false";
   $src = htmlentities($params);
-  $output = '<iframe src="https://www.facebook.com/plugins/like.php?' . $src . '" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: ' . $width . 'px; height: ' . $height . 'px;' . $other_css . '" allowTransparency="true"></iframe>';
-  return $output;
+  if ($conf['format'] == 'iframe') {
+    $output = '<iframe src="https://www.facebook.com/plugins/like.php?' . $src . '" scrolling="no" frameborder="0" style="border: none; overflow: hidden; width: ' . $width . 'px; height: ' . $height . 'px;' . $other_css . '" allowTransparency="true"></iframe>';
+  }
+  else {
+    drupal_add_js(drupal_get_path('module', 'fblikebutton') . '/fblikebutton_html5.js');
+    $output = '<div class="fb-like" data-send="' . $send . '" data-width="' . $width . '" data-show-faces="' . $show_faces .'" data-layout="' . $layout .'" data-action="'. $action .'" data-colorscheme="'. $colorscheme .'" data-font="'. $font .'"></div>';
+  }
+ return $output;
 }
Nur in neu: fblikebutton_html5.js.
