add test event handlers
This commit is contained in:
parent
99810e174a
commit
82f8e6ea40
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user