aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/smarty3/oembed_video.tpl
diff options
context:
space:
mode:
authorThomas Willingham <founder@kakste.com>2013-04-26 22:31:50 +0100
committerThomas Willingham <founder@kakste.com>2013-04-26 22:31:50 +0100
commit60721f4292bb90ffb34e3416ed73fdb451adbecb (patch)
tree738f6cbbff7f1738fa9c19d1e73fa9a2fc263d97 /view/tpl/smarty3/oembed_video.tpl
parent72e83f69bc3afe3646b423a19f11c99d03e3b66a (diff)
downloadvolse-hubzilla-60721f4292bb90ffb34e3416ed73fdb451adbecb.tar.gz
volse-hubzilla-60721f4292bb90ffb34e3416ed73fdb451adbecb.tar.bz2
volse-hubzilla-60721f4292bb90ffb34e3416ed73fdb451adbecb.zip
Colorbox
Diffstat (limited to 'view/tpl/smarty3/oembed_video.tpl')
-rw-r--r--view/tpl/smarty3/oembed_video.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/smarty3/oembed_video.tpl b/view/tpl/smarty3/oembed_video.tpl
index bdfa11509..5c339a290 100644
--- a/view/tpl/smarty3/oembed_video.tpl
+++ b/view/tpl/smarty3/oembed_video.tpl
@@ -3,7 +3,12 @@
* DO NOT EDIT THIS FILE, CHANGES WILL BE OVERWRITTEN
*
*}}
+<script type="text/javascript" charset="utf-8">
+ $(document).ready(function(){
+ $("a[rel^='prettyPhoto']").prettyPhoto();
+ });
+</script>
<a href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;' style='float:left; margin: 1em; position: relative;'>
- <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
+ <img width='{{$tw}}' height='{{$th}}' src='{{$turl}}'>
<div style='position: absolute; top: 0px; left: 0px; width: {{$twpx}}; height: {{$thpx}}; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div>
</a>