Comparar commits

...

1 Commits

Autor SHA1 Mensagem Data
brandonocasey a48c9a6c07 fix: a possible breaking change caused by the use of remainingTimeDisplay 2017-10-10 11:22:48 -04:00
@@ -64,7 +64,13 @@ class RemainingTimeDisplay extends TimeDisplay {
return;
}
this.updateFormattedTime_(this.player_.remainingTimeDisplay());
// @deprecated We should only use remainingTimeDisplay
// as of video.js 7
if (this.player_.remainingTimeDisplay) {
this.updateFormattedTime_(this.player_.remainingTimeDisplay());
} else {
this.updateFormattedTime_(this.player_.remainingTime());
}
}
/**