From 58d2ab2406b9e0b42878fb2e5207365a4126a37d Mon Sep 17 00:00:00 2001 From: David Steinacher Date: Wed, 4 Dec 2024 10:47:11 -0700 Subject: [PATCH] add an action to show the buffering overlay to the playground --- src/html/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/html/index.html b/src/html/index.html index cf9b18e7c..f3a898783 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -594,6 +594,11 @@

.animate({ height: maxHeight }, 1000) .animate({ height: initialHeight }, 1000); }, + 'Show Buffering overlay': function() { + var player = uiManager.currentUi.playerWrapper.getPlayer(); + + player.fireEventInUI(bitmovin.player.PlayerEvent.StallStarted, {}); + } }; $.each(actions, function(title, handler) { $('#actions').append($('').click(function() {printResult(handler(), title);})).append(' ');