]> git.mxchange.org Git - friendica.git/blobdiff - view/templates/oembed_video.tpl
Merge remote-tracking branch 'upstream/develop' into 1701-performance
[friendica.git] / view / templates / oembed_video.tpl
index 4aa13515450ee07d92bd689a0f6c448f11ce8db4..8645fea674be9ed2852428c816778823aa0b8e3f 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=Base64.decode("{{$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>