Embed: videojs track switching fix

This commit is contained in:
Cat 2017-10-24 15:22:02 +02:00 committed by Thulinma
parent f0c03bc13c
commit 0a029d5c5c

View file

@ -206,7 +206,7 @@ if (document.fullscreenEnabled || document.webkitFullscreenEnabled || document.m
};
}
p.prototype.updateSrc = function(src){
if (videojs in this) {
if ("videojs" in this) {
if (src == '') {
this.videojs.dispose();
return;