This commit is contained in:
		@@ -28,7 +28,7 @@
 | 
				
			|||||||
        if(canPlayType) {
 | 
					        if(canPlayType) {
 | 
				
			||||||
            const Button = videojs.getComponent("Button");
 | 
					            const Button = videojs.getComponent("Button");
 | 
				
			||||||
            class DownloadButton extends videojs.getComponent("Component") {
 | 
					            class DownloadButton extends videojs.getComponent("Component") {
 | 
				
			||||||
                createEl: () => {
 | 
					                createEl() {
 | 
				
			||||||
                    const elem = document.createElement("a");
 | 
					                    const elem = document.createElement("a");
 | 
				
			||||||
                    elem.href = info.download;
 | 
					                    elem.href = info.download;
 | 
				
			||||||
                    elem.classList.add("vjs-control");
 | 
					                    elem.classList.add("vjs-control");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user