Add css styling

This commit is contained in:
Alexander Weidinger
2018-10-06 20:47:53 +02:00
parent 8088d4a7a6
commit 6fd55d841d

View File

@@ -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;