From c74c27d99b8d9ab4f267edb8160bd935696ecb83 Mon Sep 17 00:00:00 2001 From: Alex Barstow Date: Wed, 30 Jun 2021 12:50:05 -0400 Subject: [PATCH] feat: add ended getter middleware (#7287) One thing to note is that this won't affect the play toggle from changing to the replay button on ended because it only listens to the ended event. Otherwise, this works fine. --- src/js/tech/middleware.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/js/tech/middleware.js b/src/js/tech/middleware.js index 4b49275ac..cdd105cd5 100644 --- a/src/js/tech/middleware.js +++ b/src/js/tech/middleware.js @@ -188,7 +188,8 @@ export const allowedGetters = { played: 1, paused: 1, seekable: 1, - volume: 1 + volume: 1, + ended: 1 }; /**