From 17b797bcc4f903cd3b0b5fda6c803c4f6c19b0a1 Mon Sep 17 00:00:00 2001 From: David Steinacher Date: Mon, 9 Dec 2024 14:07:06 -0700 Subject: [PATCH] add action button to trigger the buffering overlay --- src/html/index.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/html/index.html b/src/html/index.html index 7211f61f2..a93690b21 100644 --- a/src/html/index.html +++ b/src/html/index.html @@ -602,6 +602,11 @@

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