Hide controller for videos with no source (#467)

* Check for source upon initialization
* Hide controllers for videos with no source.
  - Create a MutationObserver for each video to watch for source changes.
This commit is contained in:
jacobcolbert
2019-05-04 12:26:43 -04:00
committed by Ilya Grigorik
parent 04eaa51cda
commit e6835f39ff
2 changed files with 27 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
.vsc-nosource { display: none !important; }
.vsc-hidden { display: none !important; }
.vsc-manual {
visibility: visible !important;