Video Upload Removal

This commit is contained in:
2026-03-10 13:21:38 -04:00
parent 82b1f22c58
commit 901b6cf0cd
7 changed files with 13 additions and 122 deletions

View File

@@ -173,7 +173,7 @@
function openVideoModal(url) {
var ytId = parseYouTubeId(url);
if (ytId) {
videoPlayer.innerHTML = '<iframe src="https://www.youtube-nocookie.com/embed/' + ytId + '?autoplay=1&rel=0" allow="autoplay; encrypted-media; fullscreen" allowfullscreen frameborder="0"></iframe>';
videoPlayer.innerHTML = '<iframe src="https://www.youtube-nocookie.com/embed/' + ytId + '?autoplay=1&rel=0" allow="autoplay; encrypted-media; fullscreen" referrerpolicy="origin" frameborder="0"></iframe>';
} else {
videoPlayer.innerHTML = '<video src="' + url + '" controls autoplay></video>';
}