reduce volume for chromecast
This commit is contained in:
		@@ -40,6 +40,9 @@
 | 
			
		||||
            let Button = videojs.getComponent("Button");
 | 
			
		||||
            let cbutton = {};
 | 
			
		||||
            cbutton.clickHandler = (ev) => {
 | 
			
		||||
                if(player.volume() > 0.5) {
 | 
			
		||||
                    player.volume(0.1);
 | 
			
		||||
                }
 | 
			
		||||
                player.trigger("chromecastRequested");
 | 
			
		||||
            }
 | 
			
		||||
            let button = new Button(player, cbutton);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user