Package tweaks
This commit is contained in:
@ -1040,8 +1040,6 @@ class Plyr {
|
||||
utils.off(this.elements.container, event, callback);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Destroy an instance
|
||||
* Event listeners are removed when elements are removed
|
||||
|
@ -153,7 +153,7 @@ const ui = {
|
||||
|
||||
// Check if media is loading
|
||||
checkLoading(event) {
|
||||
this.loading = this.media.networkState === 2 || [
|
||||
this.loading = [
|
||||
'stalled',
|
||||
'waiting',
|
||||
].includes(event.type);
|
||||
|
Reference in New Issue
Block a user