aboutsummaryrefslogtreecommitdiffstats
path: root/view/theme/diabook/oembed_video.tpl
diff options
context:
space:
mode:
authorzottel <github@zottel.net>2012-04-08 10:33:32 +0200
committerzottel <github@zottel.net>2012-04-08 10:33:32 +0200
commitaaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b (patch)
tree1d7e5f2b575b8836fefe76660f466cb176585d5c /view/theme/diabook/oembed_video.tpl
parent64a1367525ac920721943a08adec1124657df70d (diff)
parente3b2ac0735c908357dafb8670339fd34d3e2e6c0 (diff)
downloadvolse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.gz
volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.tar.bz2
volse-hubzilla-aaf5a81365b4cbcb3d1b9537b5544aeb5de66f4b.zip
Merge remote branch 'upstream/master'
Diffstat (limited to 'view/theme/diabook/oembed_video.tpl')
-rw-r--r--view/theme/diabook/oembed_video.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/theme/diabook/oembed_video.tpl b/view/theme/diabook/oembed_video.tpl
new file mode 100644
index 000000000..026007271
--- /dev/null
+++ b/view/theme/diabook/oembed_video.tpl
@@ -0,0 +1,4 @@
+<a class="embed_yt" href='$embedurl' onclick='this.innerHTML=Base64.decode("$escapedhtml"); 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>