Skip to content

Commit

Permalink
feat: add ended getter middleware (#7287)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alex-barstow authored Jun 30, 2021
1 parent 8caeda9 commit c74c27d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/js/tech/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@ export const allowedGetters = {
played: 1,
paused: 1,
seekable: 1,
volume: 1
volume: 1,
ended: 1
};

/**
Expand Down

0 comments on commit c74c27d

Please sign in to comment.