]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/oembed_video.tpl
wrapping up 2019.12
[friendica.git] / view / templates / oembed_video.tpl
index 4aa13515450ee07d92bd689a0f6c448f11ce8db4..52e11defd5a7f4f1d33b2b7a94bc833f23885d24 100644 (file)
@@ -1,5 +1,4 @@
-
-<a class="embed_video" href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); return false;'>
+<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='position: absolute; top: 0px; left: 0px; width: {{$tw}}px; height: {{$th}}px; background: url({{$baseurl}}/images/icons/48/play.png) no-repeat center center;'></div>
+       <div style='width: {{$tw}}px; height: {{$th}}px;'></div>
 </a>