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

@@ -1781,7 +1781,7 @@ nav .zbrand.channel-logo-container {
flex:1;
z-index: 9;
position: relative;
height: calc(100vh - 64px) !important;
height: calc(100vh - 64px);
min-width: 338px;
/*background-color:rgba(0,0,0,0.2);*/
}
@@ -2185,6 +2185,10 @@ nav ul li:hover, nav ul li.active {
height: calc(100vh - 48px - 64px) !important;
}
.host-mode-wrapper {
height: calc(100vh - 48px + 15px) !important;
}
/** settings **/
@@ -2687,13 +2691,21 @@ nav ul li:hover, nav ul li.active {
background-color:rgba(0, 0, 0, 0.3);
}
#offline-info{
#offline-info, #host-info{
color: black;
line-height: 20px;
margin: 0 24px;
padding-bottom: 15px;
}
.host-mode-height {
height: 100vh !important;
}
.host-mode-width {
width: 100vw !important;
}
#seekToDuration{
position: absolute;
background: #2d2d2d;
@@ -3577,7 +3589,7 @@ nav ul li:hover, nav ul li.active {
#playlist{
/*padding:0px 15px;*/
height: 90%;
height: calc(100% - 64px);
height: calc(100vh - 64px);
overflow: hidden;
padding-right: 0px;
/*padding:0px 0px 0px 0px;*/