aboutsummaryrefslogtreecommitdiffstats
path: root/view/oembed_video.tpl
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
committerFriendika <info@friendika.com>2011-10-24 15:49:28 -0700
commitea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890 (patch)
treec6619ec376c662c381caf03fbc1e72db887bfa8d /view/oembed_video.tpl
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
parent2905df527f2fbc9b426ebc89a53adc5c6cf1ee47 (diff)
downloadvolse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.gz
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.tar.bz2
volse-hubzilla-ea9d3b06f6dbe2d7bf036ea1785a1e472f6bf890.zip
Merge pull request #35 from fabrixxm/master
Use oembed if possible without the addon Awesome!
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>