cladera / videojs-offset

VideoJS plugin for play a segment of a video.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

'ended' event does not get fired when the video has ended

bigirishlion opened this issue · comments

Once the video has ended, the ended event does not get fired.

Here is the code I am using:
`player.offset({
start: 10,
end: 20,
restart_beginning: false
});

player.on('ended', function () {
mediaComplete();
});
`

I'd expect the 'mediaComplete' function to fire however, it does not get called.

Versions:
Videojs - 5.11.9
VideoJs Offset - 2.0.0-beta.0

@guavajellyaaron Yeah, you are right. I'll take a look.

@cladera Any update on this?

Fixed through #23