first time qualist switch

This commit is contained in:
Yumin Xia 2018-11-14 09:41:07 -08:00
parent ca5404d829
commit e9ee177ffb
1 changed files with 1 additions and 0 deletions

View File

@ -495,6 +495,7 @@ class DPlayer {
}
switchQuality (index) {
index = typeof index === 'string' ? parseInt(index) : index;
if (this.qualityIndex === index || this.switchingQuality) {
return;
}