ezuikit-js 0.6.1-beta.1 → 0.6.1-beta.2
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/demos/base-demo/ezuikit.js +7 -1
- package/ezuikit.js +7 -1
- package/package.json +1 -1
|
@@ -39383,7 +39383,13 @@ class EZUIKitPlayer {
|
|
|
39383
39383
|
stop() {
|
|
39384
39384
|
if (!this.jSPlugin.bPlay) {
|
|
39385
39385
|
console.log("当前非播放状态");
|
|
39386
|
-
|
|
39386
|
+
const promise = new Promise((resolve, reject) => {
|
|
39387
|
+
reject({
|
|
39388
|
+
retcode: -1,
|
|
39389
|
+
msg: "当前非播放状态",
|
|
39390
|
+
});
|
|
39391
|
+
});
|
|
39392
|
+
return promise;
|
|
39387
39393
|
}
|
|
39388
39394
|
this.pluginStatus.setPlayStatus({ loading: true });
|
|
39389
39395
|
return this.jSPlugin.JS_Stop(0).then(() => {
|
package/ezuikit.js
CHANGED
|
@@ -39383,7 +39383,13 @@ class EZUIKitPlayer {
|
|
|
39383
39383
|
stop() {
|
|
39384
39384
|
if (!this.jSPlugin.bPlay) {
|
|
39385
39385
|
console.log("当前非播放状态");
|
|
39386
|
-
|
|
39386
|
+
const promise = new Promise((resolve, reject) => {
|
|
39387
|
+
reject({
|
|
39388
|
+
retcode: -1,
|
|
39389
|
+
msg: "当前非播放状态",
|
|
39390
|
+
});
|
|
39391
|
+
});
|
|
39392
|
+
return promise;
|
|
39387
39393
|
}
|
|
39388
39394
|
this.pluginStatus.setPlayStatus({ loading: true });
|
|
39389
39395
|
return this.jSPlugin.JS_Stop(0).then(() => {
|