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

@@ -229,6 +229,30 @@
</ul>
</div>
</li>
<li class="no-padding host-mode-panel hide-on-small-only">
<div class="collapsible-header bold waves-effect">Host Mode
<i class="material-icons">hearing</i>
</div>
<div class="collapsible-body">
<ul>
<li>
<span class="switch-text">
Host Mode
</span>
<div class="switch">
<label>
Disabled
<input name="host_switch" type="checkbox" class="host_switch_class" /><span class="lever"></span>
Enabled
</label>
</div>
<div id="host-info">
By enabling host mode, the channel will go inn fullscreen, this computer can not click any of the vote buttons/remove songs, and the skip-button will be removed. The only things displayed will be the video and the playlist.
</div>
</li>
</ul>
</div>
</li>
<li class="no-padding show-only-mobile mobile-remote-panel">
<div class="collapsible-header bold waves-effect import-a">Remote Controller