Skip to content

Commit

Permalink
Merge pull request #731 from kwarismian/vgmedia-playpromise
Browse files Browse the repository at this point in the history
fix(vgMedia): playPromise failures now remove the playPromise
  • Loading branch information
Elecash authored Jun 10, 2018
2 parents 1fc8316 + d0168a6 commit 5a77e85
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/vg-media/vg-media.ts
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export class VgMedia implements OnInit, OnDestroy, IPlayable {
this.playPromise = null;
})
.catch(() => {
this.playPromise = null;
// deliberately empty for the sake of eating console noise
});
}
Expand Down

0 comments on commit 5a77e85

Please sign in to comment.