cladera / videojs-offset

VideoJS plugin for play a segment of a video.
MIT License
64 stars 43 forks source link

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

Closed bigirishlion closed 7 years ago

bigirishlion commented 7 years ago

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

cladera commented 7 years ago

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

bigirishlion commented 7 years ago

@cladera Any update on this?

cladera commented 7 years ago

Fixed through #23