Add css styling
This commit is contained in:
@@ -27,12 +27,14 @@ function inject_controls() {
|
||||
find_controls().then(function(controls) {
|
||||
var speed_control = document.createElement('select');
|
||||
speed_control.style.cssText = `
|
||||
border:none;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
-moz-appearance: none;
|
||||
-webkit-appearance: none;
|
||||
appearance: none;
|
||||
cursor: pointer;
|
||||
background: none;
|
||||
font-size: 1.96em;
|
||||
padding-bottom: 0.84em;
|
||||
`;
|
||||
speed_control.onchange = function() {
|
||||
document.querySelector('.VideoContainer video').playbackRate = this.value;
|
||||
|
||||
Reference in New Issue
Block a user