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:
@@ -435,6 +435,9 @@ var Channel = {
|
||||
|
||||
add_context_menu: function() {
|
||||
addListener("contextmenu", ".vote-container", function(e) {
|
||||
if(hostMode) {
|
||||
return;
|
||||
}
|
||||
this.preventDefault();
|
||||
this.preventDefault();
|
||||
var that = this;
|
||||
|
||||
Reference in New Issue
Block a user