add test event handlers
This commit is contained in:
		@@ -59,6 +59,14 @@
 | 
				
			|||||||
            player.addChild(bigCastButton);
 | 
					            player.addChild(bigCastButton);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        player.on("loadedmetadata", () => {
 | 
				
			||||||
 | 
					            console.log("loadedmetadata");
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					        
 | 
				
			||||||
 | 
					        player.on("posterchange", () => {
 | 
				
			||||||
 | 
					            console.log("posterchange");
 | 
				
			||||||
 | 
					        });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const smallCastButton = new Button(player, cbutton);
 | 
					        const smallCastButton = new Button(player, cbutton);
 | 
				
			||||||
        smallCastButton.addClass("fab");
 | 
					        smallCastButton.addClass("fab");
 | 
				
			||||||
        smallCastButton.addClass("fa-chromecast");
 | 
					        smallCastButton.addClass("fa-chromecast");
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user