Add button to enable hls playback when disabled

This commit is contained in:
Zed 2019-08-22 23:44:22 +02:00
parent 1c43dd66a7
commit ac6f4e7d61
5 changed files with 53 additions and 33 deletions

View file

@ -53,6 +53,24 @@ a:hover {
text-decoration: underline;
}
button {
background-color: #121212;
color: #f8f8f2;
border: 1px solid #ff6c6091;
padding: 3px 6px;
font-size: 14px;
cursor: pointer;
float: right;
}
button:hover {
border-color: #ff6c60;
}
button:active {
border-color: #ff9f97;
}
.status-el {
overflow-wrap: break-word;
border-left-width: 0;
@ -297,13 +315,12 @@ video, .video-container img {
top: 0;
left: 0;
z-index: 1;
background-color: #0000008d;
background-color: #0000009d;
}
.video-overlay p {
position: relative;
z-index: 0;
color: #dcdcdc;
text-align: center;
top: calc(50% - 20px);
font-size: 20px;
@ -320,6 +337,14 @@ video, .video-container img {
height: 40px;
}
.video-overlay form {
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
display: flex;
}
.still-image {
max-height: 379.5px;
max-width: 533px;
@ -375,6 +400,7 @@ video, .video-container img {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-bottom: -3px;
}
.tweet-stat {
@ -1136,6 +1162,10 @@ video, .video-container img {
border-color: #ff6c60;
}
.preferences button {
margin-top: 6px;
}
fieldset {
margin: .35em 0 .75em;
border: 0;
@ -1156,25 +1186,6 @@ legend {
margin-bottom: 6px;
}
.pref-submit, .pref-reset button {
background-color: #121212;
color: #f8f8f2;
border: 1px solid #ff6c6091;
padding: 3px 6px;
margin-top: 6px;
font-size: 14px;
cursor: pointer;
float: right;
}
.pref-submit:hover, .pref-reset button:hover {
border-color: #ff6c60;
}
.pref-submit:active, .pref-reset button:active {
border-color: #ff9f97;
}
.pref-reset {
float: left;
}