mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Added a host-mode
- Fullscreen video + playlist - Removed fullscreenbutton in host-mode - Removed skip-button in host-mode - Disabled skipping in host-mode - Removed buttons and rightclick menus in host-mode - Host mode for easily having a computer playing at a party without being able to modifying the currently playing video/song
This commit is contained in:
@@ -1128,6 +1128,9 @@ var List = {
|
||||
if(!embed) {
|
||||
song.querySelector(".mobile-delete").remove();
|
||||
}
|
||||
if(hostMode) {
|
||||
song.querySelector(".list-remove").style.display = "none";
|
||||
}
|
||||
song.querySelector(".list-title").innerText = video_title;
|
||||
song.querySelector(".list-title").setAttribute("title", video_title);
|
||||
song.querySelector(attr).setAttribute("data-video-id", video_id);
|
||||
|
||||
Reference in New Issue
Block a user