remotes/1693045480750635534/spooky-22
Aevann1 2021-09-07 01:19:18 +02:00
parent 81b0195f9f
commit 4bdada17fe
2 changed files with 4 additions and 5 deletions

View File

@ -507,7 +507,9 @@
var linkText = document.getElementById("desktop-expanded-video-link");
var inlineVideo = document.getElementById("desktop-expanded-video2");
inlineVideo.src = video;
str = `<video controls="" preload="metadata" style="max-width: 100%"><source src="${video}" type="video/mp4"></video>`
inlineVideo.innerHTML = str;
linkText.href = video;
linkText.textContent = 'View original';

View File

@ -5,10 +5,7 @@
<div class="modal-content bg-transparent shadow-none m-5 m-md-0">
<div class="modal-body text-center p-0">
<div class="d-inline-block position-relative">
<video controls="" preload="metadata" style="max-width: 100%">
<source src="" id="desktop-expanded-video2" type="video/mp4">
</video>
<div class="d-inline-block position-relative" id="desktop-expanded-video2">
<div class="position-absolute d-flex justify-content-between align-items-center w-100 mt-1">
<a href="" rel="nofollow noopener noreferrer" target="_blank" class="text-gray-500 font-weight-bold text-left" id="desktop-expanded-video-link">View original</a>
</div>