Loading spinner for videos

Only worked for audio before
This commit is contained in:
DC
2016-03-29 00:26:16 -07:00
parent dfbc3daa4c
commit 6557be108e
4 changed files with 64 additions and 37 deletions

View File

@@ -317,30 +317,6 @@ input {
box-shadow: 1px 1px 1px 0px rgba(0,0,0,0.1);
}
/*
* PLAYER
*/
.player {
position: absolute;
width: 100%;
height: 100%;
background-color: #000;
}
.player .letterbox {
width: 100%;
height: 100%;
display: flex;
background-size: cover;
background-position: center center;
}
.player video {
display: block;
width: 100%;
}
/*
* TORRENT LIST
*/
@@ -562,6 +538,28 @@ body.drag .torrent-placeholder span {
text-align: right;
}
/*
* PLAYER
*/
.player {
position: absolute;
width: 100%;
height: 100%;
background-color: #000;
}
.player .letterbox {
width: 100%;
height: 100%;
display: flex;
}
.player video {
display: block;
width: 100%;
}
/*
* PLAYER CONTROLS
*/
@@ -712,6 +710,17 @@ body.drag .torrent-placeholder span {
* MEDIA OVERLAY / AUDIO DETAILS
*/
.media-overlay-background {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
background-size: cover;
background-position: center center;
}
.media-overlay {
max-width: calc(100% - 80px);
white-space: nowrap;