diff --git a/fp-plugins/bbcode/plugin.bbcode.php b/fp-plugins/bbcode/plugin.bbcode.php
index cef360f..a00b655 100644
--- a/fp-plugins/bbcode/plugin.bbcode.php
+++ b/fp-plugins/bbcode/plugin.bbcode.php
@@ -346,7 +346,7 @@ function do_bbcode_video($action, $attr, $content, $params, $node_object) {
// Check the [video] element's attributes width, height and float
$width = isset($attr ['width']) ? $attr ['width'] : '560';
$height = isset($attr ['height']) ? $attr ['height'] : '315';
- $float = isset($attr ['float']) ? 'align="' . $attr ['float'] . '" ' : 'style="margin: 0 auto; display:block;" ';
+ $float = isset($attr ['float']) ? 'id="' . $attr ['float'] . '" ' : 'style="margin: 0 auto; display:block;" ';
$query = utils_kexplode($vurl ['query'], '=&');
$output = null;
@@ -355,12 +355,12 @@ function do_bbcode_video($action, $attr, $content, $params, $node_object) {
switch ($type) {
// YouTube
case 'youtube':
- $output = '';
+ $output = '';
break;
// Vimeo
case 'vimeo':
$vid = isset($query ['sec']) ? $query ['sec'] : str_replace('/', '', $vurl ['path']);
- $output = '';
+ $output = '';
break;
// Facebook
case 'facebook':
diff --git a/fp-plugins/bbcode/res/bbcode.css b/fp-plugins/bbcode/res/bbcode.css
index b1c5266..a2653e9 100755
--- a/fp-plugins/bbcode/res/bbcode.css
+++ b/fp-plugins/bbcode/res/bbcode.css
@@ -6,4 +6,14 @@ img.floatleft {
img.floatright {
float:right;
padding-left:10px;
-}
\ No newline at end of file
+}
+
+#right.bbcode_video {
+ float:right;
+ border:0px;
+}
+
+#left.bbcode_video {
+ float:left;
+ border:0px;
+}