remotes/1693045480750635534/spooky-22
Aevann1 2021-09-07 01:05:11 +02:00
parent 39031a3cec
commit 4e69e7bf5b
2 changed files with 19 additions and 2 deletions

View File

@ -503,6 +503,23 @@
linkText.textContent = 'View original';
};
function expandDesktopVideo2(video, link) {
// Link text
var linkText = document.getElementById("desktop-expanded-video-link");
var videoLink = document.getElementById("desktop-expanded-video-wrap-link");
var inlineVideo = document.getElementById("desktop-expanded-video2");
inlineVideo.src = video;
linkText.href = video;
videoLink.href = video;
linkText.textContent = 'View original';
};
post_comment=function(fullname){

View File

@ -7,8 +7,8 @@
<div class="modal-body text-center p-0">
<div class="d-inline-block position-relative">
<a href="" rel="nofollow noopener noreferrer" target="_blank" id="desktop-expanded-video-wrap-link">
<video controls="" preload="none" style="max-width: 100%">
<source src="" id="desktop-expanded-video" type="video/mp4">
<video controls="" preload="metadata" style="max-width: 100%">
<source src="" id="desktop-expanded-video2" type="video/mp4">
</video>
</a>
<div class="position-absolute d-flex justify-content-between align-items-center w-100 mt-1">