aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/oembed_video.tpl
diff options
context:
space:
mode:
authortommy tomson <thomas.bierey@gmx.de>2012-04-22 22:31:44 +0200
committertommy tomson <thomas.bierey@gmx.de>2012-04-22 22:31:44 +0200
commitd6c8a14fb0f56825b1f5f8dc4108a89d8aa583db (patch)
tree690605cdd12a88ba82d123ae6a0a4cfb9cc710d9 /view/theme/diabook/oembed_video.tpl
parent9434b447f3302a7f3223fb01f3c71378b8764e92 (diff)
downloadvolse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.tar.gz
volse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.tar.bz2
volse-hubzilla-d6c8a14fb0f56825b1f5f8dc4108a89d8aa583db.zip
diabook-themes: fixed youtube-bug and added "Info/Impressum" to footer
Diffstat (limited to 'view/theme/diabook/oembed_video.tpl')
-rw-r--r--view/theme/diabook/oembed_video.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/theme/diabook/oembed_video.tpl b/view/theme/diabook/oembed_video.tpl
index d6d29f724..5e046d8c5 100644
--- a/view/theme/diabook/oembed_video.tpl
+++ b/view/theme/diabook/oembed_video.tpl
@@ -1,4 +1,4 @@
-<a class="embed_yt" href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); yt_iframe(); return false;' style='float:left; margin: 1em; position: relative;'>
+<a class="embed_yt" href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); yt_iframe();javascript:$(this).parent().css("height", "370px"); return false;' style='float:left; margin: 1em; position: relative;'>
<img width='$tw' height='$th' src='$turl' >
<div style='position: absolute; top: 0px; left: 0px; width: $twpx; height: $thpx; background: url(images/icons/48/play.png) no-repeat center center;'></div>
</a>