Skip to content

Commit

Permalink
Do not change playlist item title on media end
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
masaball committed Dec 5, 2023
1 parent 2f69afe commit 71e842b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/javascript/components/PlaylistRamp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,6 @@ const Ramp = ({
setActiveItemTitle(activeElements[canvasIndex].textContent);
}
});

playerInst.on('ended', () => {
setActiveItemTitle("Inaccesible Item")
});
}
}

Expand Down

0 comments on commit 71e842b

Please sign in to comment.