aboutsummaryrefslogtreecommitdiffstats
path: root/view/oembed_video.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-10-24 17:28:28 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-10-24 17:28:28 +0200
commit75d4f332335e66375815b339526252e8ab34be32 (patch)
tree4cd53acf672c88ca3aef4560707868489dbbd41b /view/oembed_video.tpl
parent718a9009be697ab8873a9ca41571f1d9701c97e7 (diff)
downloadvolse-hubzilla-75d4f332335e66375815b339526252e8ab34be32.tar.gz
volse-hubzilla-75d4f332335e66375815b339526252e8ab34be32.tar.bz2
volse-hubzilla-75d4f332335e66375815b339526252e8ab34be32.zip
move html for oembeded videos in template. fix oembed discovery
Diffstat (limited to 'view/oembed_video.tpl')
-rw-r--r--view/oembed_video.tpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/view/oembed_video.tpl b/view/oembed_video.tpl
new file mode 100644
index 000000000..29b5149ba
--- /dev/null
+++ b/view/oembed_video.tpl
@@ -0,0 +1,4 @@
+<a href='$embedurl' onclick='this.innerHTML=unescape("$escapedhtml").replace(/\+/g," "); 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>