forked from rDrama/rDrama
master
parent
4bdada17fe
commit
73599950f8
|
@ -489,8 +489,6 @@
|
|||
|
||||
function expandDesktopVideo(video, link) {
|
||||
|
||||
// Link text
|
||||
|
||||
var linkText = document.getElementById("desktop-expanded-video-link");
|
||||
var inlineVideo = document.getElementById("desktop-expanded-video");
|
||||
|
||||
|
@ -502,17 +500,8 @@
|
|||
|
||||
function expandDesktopVideo2(video, link) {
|
||||
|
||||
// Link text
|
||||
|
||||
var linkText = document.getElementById("desktop-expanded-video-link");
|
||||
var inlineVideo = document.getElementById("desktop-expanded-video2");
|
||||
|
||||
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';
|
||||
inlineVideo.innerHTML = `<video controls="" preload="metadata" style="max-width: 100%"><source src="${video}" type="video/mp4"></video>`;
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
|
||||
<div class="modal-body text-center p-0">
|
||||
<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>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in New Issue