]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/diabook/oembed_video.tpl
template engine rework
[friendica.git] / view / theme / diabook / oembed_video.tpl
index d6d29f724498a1699761772bddf75a06db43d056..99c65cb2907bb22b91103f0c59957b05d4e26662 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", "450px"); 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>