]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/oembed_video.tpl
diabook-themes: fixed youtube-bug and added "Info/Impressum" to footer
[friendica.git] / view / theme / diabook / oembed_video.tpl
index d6d29f724498a1699761772bddf75a06db43d056..5e046d8c5ff96808f87487c5ebae2d459dfc5234 100644 (file)
@@ -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>