dffd
parent
39031a3cec
commit
4e69e7bf5b
|
@ -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){
|
||||
|
||||
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue