Update player.js

This commit is contained in:
Evilran 2020-06-22 00:18:32 +02:00 committed by GitHub
parent 7368ee38c0
commit 5c4b20847b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -50,6 +50,9 @@ class DPlayer {
if (this.options.live) {
this.container.classList.add('dplayer-live');
}
else {
this.container.classList.remove("dplayer-live");
}
if (utils.isMobile) {
this.container.classList.add('dplayer-mobile');
}