mirror of
https://github.com/SoPat712/videospeed.git
synced 2025-08-21 18:08:46 -04:00
Merge pull request #134 from BreezeZin/fix-controls-not-showing
Fixed controls not showing on youtube videos.
This commit is contained in:
@@ -281,7 +281,7 @@ function defineVideoController() {
|
|||||||
var wrapper = document.createElement("div");
|
var wrapper = document.createElement("div");
|
||||||
wrapper.classList.add("vsc-controller");
|
wrapper.classList.add("vsc-controller");
|
||||||
|
|
||||||
if (!this.video.currentSrc) {
|
if (!this.video.src && !this.video.currentSrc) {
|
||||||
wrapper.classList.add("vsc-nosource");
|
wrapper.classList.add("vsc-nosource");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user