From 71e842b2c3d2d6baec71389f7e9a289c2be8fabd Mon Sep 17 00:00:00 2001 From: Mason Ballengee Date: Tue, 5 Dec 2023 12:13:38 -0500 Subject: [PATCH] Do not change playlist item title on media end The original implementation changed the playlist item title to "Inaccessible item" on video end as a workaround for when the next autoplay playlist item was inaccessible. This is because the title does not otherwise update when an item has a blank canvas. This workaround was insufficient and caused unintended behavior when autoplay was not on. Issues with item title not updating will be handled in #5497. --- app/javascript/components/PlaylistRamp.jsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/javascript/components/PlaylistRamp.jsx b/app/javascript/components/PlaylistRamp.jsx index 3401115414..556e62ed69 100644 --- a/app/javascript/components/PlaylistRamp.jsx +++ b/app/javascript/components/PlaylistRamp.jsx @@ -74,10 +74,6 @@ const Ramp = ({ setActiveItemTitle(activeElements[canvasIndex].textContent); } }); - - playerInst.on('ended', () => { - setActiveItemTitle("Inaccesible Item") - }); } }