@@ -298,6 +298,8 @@ class Audio extends React.PureComponent {
_renderCanvas () {
requestAnimationFrame(() => {
+ if (!this.audio) return;
+
this.handleTimeUpdate();
this._clear();
this._draw();
@@ -182,6 +182,8 @@ class Video extends React.PureComponent {
_updateTime () {
+ if (!this.video) return;
if (!this.state.paused) {