friendica/view/templates/oembed_video.tpl
2018-01-17 21:23:51 -05:00

5 lines
267 B
Smarty

<a class="embed_video" href="{{$embedurl}}" onclick='this.innerHTML=window.atob("{{$escapedhtml}}"); this.classList.add("active"); return false;'>
<img width='{{$tw}}' height='{{$th}}' src='{{$turl}}' >
<div style='width: {{$tw}}px; height: {{$th}}px;'></div>
</a>