Skip to content

Commit

Permalink
fuck a event.πŸ™‚
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon committed Sep 11, 2017
1 parent 62801c9 commit 58b40b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-video-player",
"version": "4.0.3",
"version": "4.0.4",
"description": "Video Player component for Vue",
"main": "index.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion ssr.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ var videoPlayer = {
'pause',
'waiting',
'playing',
'ended']
'ended',
'error']
for (var i = 0; i < events.length; i++) {
(function(event) {
self.on(event, function() {
Expand Down

0 comments on commit 58b40b1

Please sign in to comment.