Add multiple subtitles support (#406)

* add multiple subtitles support

* cleanup and remove log
This commit is contained in:
grunjol
2016-04-15 01:47:50 -03:00
committed by Feross Aboukhadijeh
parent 5e6e5fce1e
commit 04318d7580
4 changed files with 99 additions and 13 deletions

View File

@@ -707,6 +707,7 @@ body.drag .app::after {
margin-top: 8px !important;
}
.player-controls .closed-captions.active,
.player-controls .device.active {
color: #9af;
}
@@ -789,6 +790,29 @@ body.drag .app::after {
font-weight: bold;
}
/*
* Subtitles list
*/
.subtitles-list {
position: fixed;
background: rgba(40, 40, 40, 0.8);
min-width: 100px;
bottom: 45px;
right: 3px;
transition: opacity 0.15s ease-out;
padding: 5px 10px;
border-radius: 3px;
margin: 0;
list-style-type: none;
color: rgba(255, 255, 255, 0.8);
}
.subtitles-list i {
font-size: 11px; /* make the cast icons less huge */
margin-right: 4px !important;
}
/*
* MEDIA OVERLAY / AUDIO DETAILS
*/