diff options
Diffstat (limited to 'view/tpl/smarty3/oembed_video.tpl')
-rw-r--r-- | view/tpl/smarty3/oembed_video.tpl | 7 |
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> |