kucservice 1.3.3 → 1.3.4
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/dist/decoder/index.mjs +2 -2
- package/package.json +1 -1
package/dist/decoder/index.mjs
CHANGED
|
@@ -28374,14 +28374,14 @@ class SA {
|
|
|
28374
28374
|
setTitle(we) {
|
|
28375
28375
|
this.videoConfig.title = we;
|
|
28376
28376
|
}
|
|
28377
|
-
play(we, De, at) {
|
|
28377
|
+
play(we, De, at, callBack) {
|
|
28378
28378
|
if (!we || !De) {
|
|
28379
28379
|
console.warn("--play--缺少必要参数请注意查看");
|
|
28380
28380
|
return;
|
|
28381
28381
|
}
|
|
28382
28382
|
let Xe = document.getElementById(De), Ne = this, Ie = new JessibucaPro({
|
|
28383
28383
|
container: Xe,
|
|
28384
|
-
callBack:
|
|
28384
|
+
callBack: callBack || (() => {}),
|
|
28385
28385
|
//回调函数
|
|
28386
28386
|
decoder: Ne.decUrl,
|
|
28387
28387
|
videoBuffer: 0.2,
|