This commit is contained in:
		@@ -27,7 +27,7 @@
 | 
			
		||||
        const canPlayType = (canPlayTypeRaw === "maybe") || (canPlayTypeRaw === "probably");
 | 
			
		||||
        if(canPlayType) {
 | 
			
		||||
            const Button = videojs.getComponent("Button");
 | 
			
		||||
            const DownloadButton = videojs.extend(videojs.getComponent("Component"), {
 | 
			
		||||
            class DownloadButton extends videojs.getComponent("Component") {
 | 
			
		||||
                createEl: () => {
 | 
			
		||||
                    const elem = document.createElement("a");
 | 
			
		||||
                    elem.href = info.download;
 | 
			
		||||
@@ -38,7 +38,7 @@
 | 
			
		||||
                    elem.classList.add("vjs-big-download");
 | 
			
		||||
                    return elem;
 | 
			
		||||
                }
 | 
			
		||||
            })
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            const cbutton = {};
 | 
			
		||||
            cbutton.clickHandler = (ev) => {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user