]> git.mxchange.org Git - friendica.git/blobdiff - include/text.php
update to v4.0.0; point to local host of SWF
[friendica.git] / include / text.php
index 9374e624b00d24df8e3cfb09baafdd224ec9a8a5..7b27d8b86e7a819020871c9f312fdb5f236b07e5 100644 (file)
@@ -1306,8 +1306,12 @@ function prepare_body($item,$attach = false) {
                                        if(strpos($mime, 'video') !== false) {
                                                if(!$vhead) {
                                                        $vhead = true;
-                                                       $a->page['htmlhead'] .= replace_macros(get_markup_template('videos_head.tpl'), array());
-                                                       $a->page['end'] .= replace_macros(get_markup_template('videos_end.tpl'), array());
+                                                       $a->page['htmlhead'] .= replace_macros(get_markup_template('videos_head.tpl'), array(
+                                                               '$baseurl' => $a->get_baseurl(),
+                                                       ));
+                                                       $a->page['end'] .= replace_macros(get_markup_template('videos_end.tpl'), array(
+                                                               '$baseurl' => $a->get_baseurl(),
+                                                       ));
                                                }
 
                                                $id = end(explode('/', $the_url));