Scrubbing works

This commit is contained in:
DC
2016-03-04 04:24:15 -08:00
parent 2626525291
commit 52e433fd38
3 changed files with 83 additions and 26 deletions

View File

@@ -276,18 +276,28 @@ body.drag::before {
opacity: 1;
}
/* invisible click target for scrubbing */
.player-controls .scrub-bar {
position: absolute;
width: 100%;
height: 23px; /* 3px .loading-bar plus 10px above and below */
top: -10px;
left: 0;
cursor: pointer;
}
.player-controls .loading-bar {
position: relative;
width: 100%;
height: 3px;
background-color: rgba(0, 0, 0, 0.5);
background-color: rgba(0, 0, 0, 0.3);
}
.player-controls .loading-bar-part {
position: absolute;
top: 0;
height: 100%;
background-color: rgba(100, 0, 0, 0.8);
background-color: #dd0000;
}
.player-controls .playback-cursor {
@@ -304,4 +314,5 @@ body.drag::before {
width: 20px;
height: 20px;
margin: 5px auto;
cursor: pointer;
}