]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/oembed_video.tpl
Merge pull request #10666 from tobiasd/20210905-credits
[friendica.git] / view / templates / oembed_video.tpl
index 8392c469cdf7144009696efb7b3469f11d9481b8..3e8606ce572979606a550ad45602fde866ed5626 100644 (file)
@@ -1,4 +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='width: {{$tw}}px; height: {{$th}}px;'></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>