Skip to content

Commit 5a77e85

Browse files
authored
Merge pull request #731 from kwarismian/vgmedia-playpromise
fix(vgMedia): playPromise failures now remove the playPromise
2 parents 1fc8316 + d0168a6 commit 5a77e85

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/core/vg-media/vg-media.ts

+1
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ export class VgMedia implements OnInit, OnDestroy, IPlayable {
247247
this.playPromise = null;
248248
})
249249
.catch(() => {
250+
this.playPromise = null;
250251
// deliberately empty for the sake of eating console noise
251252
});
252253
}

0 commit comments

Comments
 (0)