Skip to content

Commit

Permalink
Better events for video object
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchirls committed May 1, 2015
1 parent cebbd53 commit 216f3cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/objects/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ module.exports = (function () {
'loadedmetadata',
'play',
'pause',
'loaded'
'playing',
'progress'
].forEach(function registerMediaEvent(event) {
vid.addEventListener(event, self.emit.bind(self, event));
});
Expand Down

0 comments on commit 216f3cb

Please sign in to comment.