]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/oembed_video.tpl
Merge pull request #10717 from nupplaphil/bug/drone_missing_bin
[friendica.git] / view / templates / oembed_video.tpl
index 4aa13515450ee07d92bd689a0f6c448f11ce8db4..3e8606ce572979606a550ad45602fde866ed5626 100644 (file)
@@ -1,5 +1,4 @@
-
-<a class="embed_video" href='{{$embedurl}}' onclick='this.innerHTML=Base64.decode("{{$escapedhtml}}"); 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>
+<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>