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:
Kasper Rynning-Tønnesen
2018-06-06 15:58:28 +02:00
parent b91a7f17f1
commit d23386b245
7 changed files with 123 additions and 6 deletions

View File

@@ -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;