1
0
mirror of https://github.com/videojs/video.js.git synced 2025-03-17 21:18:27 +02:00

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.
This commit is contained in:
Alex Barstow 2021-06-30 12:50:05 -04:00 committed by GitHub
parent 8caeda969d
commit c74c27d99b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -188,7 +188,8 @@ export const allowedGetters = {
played: 1,
paused: 1,
seekable: 1,
volume: 1
volume: 1,
ended: 1
};
/**