aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/oembed_video.tpl
diff options
context:
space:
mode:
authorSimon L'nu <simon.lnu@gmail.com>2012-04-22 22:22:52 -0400
committerSimon L'nu <simon.lnu@gmail.com>2012-04-22 22:22:52 -0400
commit29d7f260d7e6dc178862c6a6c16445ef9b3512e4 (patch)
tree3746742dc12c2863c61c4c7cba8f4f9666590e49 /view/theme/diabook/oembed_video.tpl
parent75c228fa13d814c772db4e072dfc615eed29d206 (diff)
parent2170df897b9dc72b87cc104520f6a67ddfbb994f (diff)
downloadvolse-hubzilla-29d7f260d7e6dc178862c6a6c16445ef9b3512e4.tar.gz
volse-hubzilla-29d7f260d7e6dc178862c6a6c16445ef9b3512e4.tar.bz2
volse-hubzilla-29d7f260d7e6dc178862c6a6c16445ef9b3512e4.zip
Merge branch 'master', remote-tracking branch 'remotes/upstream/master'
* remotes/upstream/master: bug #388 - notify_comment received after post deleted don't allow non-existent themes as choices diabook-themes: bugfix diabook-themes: fixed youtube-bug and added "Info/Impressum" to footer api: add support for StatusNet-style media param to API Add a hook * master:
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>