@nomercy-entertainment/nomercy-video-player 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/npm-publish.yml +4 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
- package/src/index.ts +6 -1
package/dist/index.js
CHANGED
|
@@ -1047,7 +1047,11 @@ class NMPlayer extends base_1.Base {
|
|
|
1047
1047
|
});
|
|
1048
1048
|
}
|
|
1049
1049
|
});
|
|
1050
|
-
this.on('
|
|
1050
|
+
this.on('play', () => {
|
|
1051
|
+
this.container.classList.remove('buffering');
|
|
1052
|
+
this.container.classList.remove('error');
|
|
1053
|
+
});
|
|
1054
|
+
this.on('time', () => {
|
|
1051
1055
|
this.container.classList.remove('buffering');
|
|
1052
1056
|
this.container.classList.remove('error');
|
|
1053
1057
|
});
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1235,7 +1235,12 @@ class NMPlayer<T> extends Base<T> {
|
|
|
1235
1235
|
}
|
|
1236
1236
|
});
|
|
1237
1237
|
|
|
1238
|
-
this.on('
|
|
1238
|
+
this.on('play', () => {
|
|
1239
|
+
this.container.classList.remove('buffering');
|
|
1240
|
+
this.container.classList.remove('error');
|
|
1241
|
+
});
|
|
1242
|
+
|
|
1243
|
+
this.on('time', () => {
|
|
1239
1244
|
this.container.classList.remove('buffering');
|
|
1240
1245
|
this.container.classList.remove('error');
|
|
1241
1246
|
});
|