video: dispose on destroy
parent
72806281bf
commit
99ec1a50cc
|
@ -150,6 +150,11 @@ class VideoContentSetup {
|
|||
content._videoPosterImg.onload = content._videoPosterImg.onerror = null;
|
||||
content._videoPosterImg = null;
|
||||
}
|
||||
|
||||
if (content.videojs) {
|
||||
content.videojs.dispose();
|
||||
content.videojs = null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue