mtxt-ui3 0.0.25 → 0.0.27
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/components/index.cjs +11 -7
- package/dist/components/index.js +11 -7
- package/dist/hooks/index.cjs +3 -7
- package/dist/hooks/index.js +3 -7
- package/dist/index.cjs +12 -8
- package/dist/index.d.ts +1 -1
- package/dist/index.js +12 -8
- package/dist/video/index.cjs +11 -7
- package/dist/video/index.js +11 -7
- package/package.json +1 -1
|
@@ -6557,19 +6557,15 @@ class WebRtcMt$1 {
|
|
|
6557
6557
|
response.json().then(res => {
|
|
6558
6558
|
if (res.code === 0) {
|
|
6559
6559
|
this.startPlay(plays);
|
|
6560
|
+
resolve(res);
|
|
6560
6561
|
} else {
|
|
6561
6562
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6562
|
-
|
|
6563
|
-
this.rePlay();
|
|
6564
|
-
}, 10 * 1e3);
|
|
6563
|
+
reject();
|
|
6565
6564
|
}
|
|
6566
|
-
resolve(res);
|
|
6567
6565
|
});
|
|
6568
6566
|
}).catch(err => {
|
|
6569
6567
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6570
|
-
|
|
6571
|
-
this.rePlay();
|
|
6572
|
-
}, 10 * 1e3);
|
|
6568
|
+
reject();
|
|
6573
6569
|
});
|
|
6574
6570
|
});
|
|
6575
6571
|
}
|
|
@@ -6756,6 +6752,10 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6756
6752
|
addRtspProxyUrl: url
|
|
6757
6753
|
}
|
|
6758
6754
|
});
|
|
6755
|
+
play.p_player.catch(error => {
|
|
6756
|
+
console.log("add 500!");
|
|
6757
|
+
getVideoDetail(_prop.camera);
|
|
6758
|
+
});
|
|
6759
6759
|
};
|
|
6760
6760
|
const releaseUrl = vue.ref("");
|
|
6761
6761
|
const release = async () => {
|
|
@@ -6820,6 +6820,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6820
6820
|
"id": `videoPlayer_${uuid}`,
|
|
6821
6821
|
"class": "videoComponent fill",
|
|
6822
6822
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6823
|
+
"webkit-playsinline": "false",
|
|
6824
|
+
"playsinline": "false",
|
|
6823
6825
|
"autoplay": true,
|
|
6824
6826
|
"loop": true,
|
|
6825
6827
|
"muted": true
|
|
@@ -6828,6 +6830,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6828
6830
|
return vue.createVNode("video", {
|
|
6829
6831
|
"id": `videoPlayer_${uuid}`,
|
|
6830
6832
|
"class": `videoComponent ${_prop.fill}`,
|
|
6833
|
+
"webkit-playsinline": "false",
|
|
6834
|
+
"playsinline": "false",
|
|
6831
6835
|
"muted": true,
|
|
6832
6836
|
"autoplay": true
|
|
6833
6837
|
}, null);
|
package/dist/components/index.js
CHANGED
|
@@ -6547,19 +6547,15 @@ class WebRtcMt$1 {
|
|
|
6547
6547
|
response.json().then(res => {
|
|
6548
6548
|
if (res.code === 0) {
|
|
6549
6549
|
this.startPlay(plays);
|
|
6550
|
+
resolve(res);
|
|
6550
6551
|
} else {
|
|
6551
6552
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6552
|
-
|
|
6553
|
-
this.rePlay();
|
|
6554
|
-
}, 10 * 1e3);
|
|
6553
|
+
reject();
|
|
6555
6554
|
}
|
|
6556
|
-
resolve(res);
|
|
6557
6555
|
});
|
|
6558
6556
|
}).catch(err => {
|
|
6559
6557
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6560
|
-
|
|
6561
|
-
this.rePlay();
|
|
6562
|
-
}, 10 * 1e3);
|
|
6558
|
+
reject();
|
|
6563
6559
|
});
|
|
6564
6560
|
});
|
|
6565
6561
|
}
|
|
@@ -6746,6 +6742,10 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6746
6742
|
addRtspProxyUrl: url
|
|
6747
6743
|
}
|
|
6748
6744
|
});
|
|
6745
|
+
play.p_player.catch(error => {
|
|
6746
|
+
console.log("add 500!");
|
|
6747
|
+
getVideoDetail(_prop.camera);
|
|
6748
|
+
});
|
|
6749
6749
|
};
|
|
6750
6750
|
const releaseUrl = ref("");
|
|
6751
6751
|
const release = async () => {
|
|
@@ -6810,6 +6810,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6810
6810
|
"id": `videoPlayer_${uuid}`,
|
|
6811
6811
|
"class": "videoComponent fill",
|
|
6812
6812
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6813
|
+
"webkit-playsinline": "false",
|
|
6814
|
+
"playsinline": "false",
|
|
6813
6815
|
"autoplay": true,
|
|
6814
6816
|
"loop": true,
|
|
6815
6817
|
"muted": true
|
|
@@ -6818,6 +6820,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6818
6820
|
return createVNode("video", {
|
|
6819
6821
|
"id": `videoPlayer_${uuid}`,
|
|
6820
6822
|
"class": `videoComponent ${_prop.fill}`,
|
|
6823
|
+
"webkit-playsinline": "false",
|
|
6824
|
+
"playsinline": "false",
|
|
6821
6825
|
"muted": true,
|
|
6822
6826
|
"autoplay": true
|
|
6823
6827
|
}, null);
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -5967,19 +5967,15 @@ class WebRtcMt {
|
|
|
5967
5967
|
response.json().then(res => {
|
|
5968
5968
|
if (res.code === 0) {
|
|
5969
5969
|
this.startPlay(plays);
|
|
5970
|
+
resolve(res);
|
|
5970
5971
|
} else {
|
|
5971
5972
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5972
|
-
|
|
5973
|
-
this.rePlay();
|
|
5974
|
-
}, 10 * 1e3);
|
|
5973
|
+
reject();
|
|
5975
5974
|
}
|
|
5976
|
-
resolve(res);
|
|
5977
5975
|
});
|
|
5978
5976
|
}).catch(err => {
|
|
5979
5977
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5980
|
-
|
|
5981
|
-
this.rePlay();
|
|
5982
|
-
}, 10 * 1e3);
|
|
5978
|
+
reject();
|
|
5983
5979
|
});
|
|
5984
5980
|
});
|
|
5985
5981
|
}
|
package/dist/hooks/index.js
CHANGED
|
@@ -5958,19 +5958,15 @@ class WebRtcMt {
|
|
|
5958
5958
|
response.json().then(res => {
|
|
5959
5959
|
if (res.code === 0) {
|
|
5960
5960
|
this.startPlay(plays);
|
|
5961
|
+
resolve(res);
|
|
5961
5962
|
} else {
|
|
5962
5963
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5963
|
-
|
|
5964
|
-
this.rePlay();
|
|
5965
|
-
}, 10 * 1e3);
|
|
5964
|
+
reject();
|
|
5966
5965
|
}
|
|
5967
|
-
resolve(res);
|
|
5968
5966
|
});
|
|
5969
5967
|
}).catch(err => {
|
|
5970
5968
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5971
|
-
|
|
5972
|
-
this.rePlay();
|
|
5973
|
-
}, 10 * 1e3);
|
|
5969
|
+
reject();
|
|
5974
5970
|
});
|
|
5975
5971
|
});
|
|
5976
5972
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -21,7 +21,7 @@ var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
|
21
21
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
22
22
|
var zhCN__default = /*#__PURE__*/_interopDefaultLegacy(zhCN);
|
|
23
23
|
|
|
24
|
-
var version = "0.0.
|
|
24
|
+
var version = "0.0.26";
|
|
25
25
|
|
|
26
26
|
const setRem = opt => {
|
|
27
27
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6573,19 +6573,15 @@ class WebRtcMt$1 {
|
|
|
6573
6573
|
response.json().then(res => {
|
|
6574
6574
|
if (res.code === 0) {
|
|
6575
6575
|
this.startPlay(plays);
|
|
6576
|
+
resolve(res);
|
|
6576
6577
|
} else {
|
|
6577
6578
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6578
|
-
|
|
6579
|
-
this.rePlay();
|
|
6580
|
-
}, 10 * 1e3);
|
|
6579
|
+
reject();
|
|
6581
6580
|
}
|
|
6582
|
-
resolve(res);
|
|
6583
6581
|
});
|
|
6584
6582
|
}).catch(err => {
|
|
6585
6583
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6586
|
-
|
|
6587
|
-
this.rePlay();
|
|
6588
|
-
}, 10 * 1e3);
|
|
6584
|
+
reject();
|
|
6589
6585
|
});
|
|
6590
6586
|
});
|
|
6591
6587
|
}
|
|
@@ -7287,6 +7283,10 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7287
7283
|
addRtspProxyUrl: url
|
|
7288
7284
|
}
|
|
7289
7285
|
});
|
|
7286
|
+
play.p_player.catch(error => {
|
|
7287
|
+
console.log("add 500!");
|
|
7288
|
+
getVideoDetail(_prop.camera);
|
|
7289
|
+
});
|
|
7290
7290
|
};
|
|
7291
7291
|
const releaseUrl = vue.ref("");
|
|
7292
7292
|
const release = async () => {
|
|
@@ -7351,6 +7351,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7351
7351
|
"id": `videoPlayer_${uuid}`,
|
|
7352
7352
|
"class": "videoComponent fill",
|
|
7353
7353
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
7354
|
+
"webkit-playsinline": "false",
|
|
7355
|
+
"playsinline": "false",
|
|
7354
7356
|
"autoplay": true,
|
|
7355
7357
|
"loop": true,
|
|
7356
7358
|
"muted": true
|
|
@@ -7359,6 +7361,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7359
7361
|
return vue.createVNode("video", {
|
|
7360
7362
|
"id": `videoPlayer_${uuid}`,
|
|
7361
7363
|
"class": `videoComponent ${_prop.fill}`,
|
|
7364
|
+
"webkit-playsinline": "false",
|
|
7365
|
+
"playsinline": "false",
|
|
7362
7366
|
"muted": true,
|
|
7363
7367
|
"autoplay": true
|
|
7364
7368
|
}, null);
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { SearchOutlined, CaretUpOutlined, CaretRightOutlined, CaretDownOutlined,
|
|
|
9
9
|
import 'ant-design-vue/dist/antd.less';
|
|
10
10
|
import zhCN from 'dayjs/locale/zh-cn';
|
|
11
11
|
|
|
12
|
-
var version = "0.0.
|
|
12
|
+
var version = "0.0.26";
|
|
13
13
|
|
|
14
14
|
const setRem = opt => {
|
|
15
15
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6561,19 +6561,15 @@ class WebRtcMt$1 {
|
|
|
6561
6561
|
response.json().then(res => {
|
|
6562
6562
|
if (res.code === 0) {
|
|
6563
6563
|
this.startPlay(plays);
|
|
6564
|
+
resolve(res);
|
|
6564
6565
|
} else {
|
|
6565
6566
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
6566
|
-
|
|
6567
|
-
this.rePlay();
|
|
6568
|
-
}, 10 * 1e3);
|
|
6567
|
+
reject();
|
|
6569
6568
|
}
|
|
6570
|
-
resolve(res);
|
|
6571
6569
|
});
|
|
6572
6570
|
}).catch(err => {
|
|
6573
6571
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
6574
|
-
|
|
6575
|
-
this.rePlay();
|
|
6576
|
-
}, 10 * 1e3);
|
|
6572
|
+
reject();
|
|
6577
6573
|
});
|
|
6578
6574
|
});
|
|
6579
6575
|
}
|
|
@@ -7275,6 +7271,10 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7275
7271
|
addRtspProxyUrl: url
|
|
7276
7272
|
}
|
|
7277
7273
|
});
|
|
7274
|
+
play.p_player.catch(error => {
|
|
7275
|
+
console.log("add 500!");
|
|
7276
|
+
getVideoDetail(_prop.camera);
|
|
7277
|
+
});
|
|
7278
7278
|
};
|
|
7279
7279
|
const releaseUrl = ref("");
|
|
7280
7280
|
const release = async () => {
|
|
@@ -7339,6 +7339,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7339
7339
|
"id": `videoPlayer_${uuid}`,
|
|
7340
7340
|
"class": "videoComponent fill",
|
|
7341
7341
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
7342
|
+
"webkit-playsinline": "false",
|
|
7343
|
+
"playsinline": "false",
|
|
7342
7344
|
"autoplay": true,
|
|
7343
7345
|
"loop": true,
|
|
7344
7346
|
"muted": true
|
|
@@ -7347,6 +7349,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7347
7349
|
return createVNode("video", {
|
|
7348
7350
|
"id": `videoPlayer_${uuid}`,
|
|
7349
7351
|
"class": `videoComponent ${_prop.fill}`,
|
|
7352
|
+
"webkit-playsinline": "false",
|
|
7353
|
+
"playsinline": "false",
|
|
7350
7354
|
"muted": true,
|
|
7351
7355
|
"autoplay": true
|
|
7352
7356
|
}, null);
|
package/dist/video/index.cjs
CHANGED
|
@@ -5782,19 +5782,15 @@ class WebRtcMt$1 {
|
|
|
5782
5782
|
response.json().then(res => {
|
|
5783
5783
|
if (res.code === 0) {
|
|
5784
5784
|
this.startPlay(plays);
|
|
5785
|
+
resolve(res);
|
|
5785
5786
|
} else {
|
|
5786
5787
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5787
|
-
|
|
5788
|
-
this.rePlay();
|
|
5789
|
-
}, 10 * 1e3);
|
|
5788
|
+
reject();
|
|
5790
5789
|
}
|
|
5791
|
-
resolve(res);
|
|
5792
5790
|
});
|
|
5793
5791
|
}).catch(err => {
|
|
5794
5792
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5795
|
-
|
|
5796
|
-
this.rePlay();
|
|
5797
|
-
}, 10 * 1e3);
|
|
5793
|
+
reject();
|
|
5798
5794
|
});
|
|
5799
5795
|
});
|
|
5800
5796
|
}
|
|
@@ -5998,6 +5994,10 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
5998
5994
|
addRtspProxyUrl: url
|
|
5999
5995
|
}
|
|
6000
5996
|
});
|
|
5997
|
+
play.p_player.catch(error => {
|
|
5998
|
+
console.log("add 500!");
|
|
5999
|
+
getVideoDetail(_prop.camera);
|
|
6000
|
+
});
|
|
6001
6001
|
};
|
|
6002
6002
|
const releaseUrl = vue.ref("");
|
|
6003
6003
|
const release = async () => {
|
|
@@ -6062,6 +6062,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6062
6062
|
"id": `videoPlayer_${uuid}`,
|
|
6063
6063
|
"class": "videoComponent fill",
|
|
6064
6064
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6065
|
+
"webkit-playsinline": "false",
|
|
6066
|
+
"playsinline": "false",
|
|
6065
6067
|
"autoplay": true,
|
|
6066
6068
|
"loop": true,
|
|
6067
6069
|
"muted": true
|
|
@@ -6070,6 +6072,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6070
6072
|
return vue.createVNode("video", {
|
|
6071
6073
|
"id": `videoPlayer_${uuid}`,
|
|
6072
6074
|
"class": `videoComponent ${_prop.fill}`,
|
|
6075
|
+
"webkit-playsinline": "false",
|
|
6076
|
+
"playsinline": "false",
|
|
6073
6077
|
"muted": true,
|
|
6074
6078
|
"autoplay": true
|
|
6075
6079
|
}, null);
|
package/dist/video/index.js
CHANGED
|
@@ -5774,19 +5774,15 @@ class WebRtcMt$1 {
|
|
|
5774
5774
|
response.json().then(res => {
|
|
5775
5775
|
if (res.code === 0) {
|
|
5776
5776
|
this.startPlay(plays);
|
|
5777
|
+
resolve(res);
|
|
5777
5778
|
} else {
|
|
5778
5779
|
console.log("\u62C9\u6D41\u63A5\u53E3\u8FD4\u56DE\u5931\u8D25");
|
|
5779
|
-
|
|
5780
|
-
this.rePlay();
|
|
5781
|
-
}, 10 * 1e3);
|
|
5780
|
+
reject();
|
|
5782
5781
|
}
|
|
5783
|
-
resolve(res);
|
|
5784
5782
|
});
|
|
5785
5783
|
}).catch(err => {
|
|
5786
5784
|
console.log("\u62C9\u6D41\u63A5\u53E3\u5931\u8D25");
|
|
5787
|
-
|
|
5788
|
-
this.rePlay();
|
|
5789
|
-
}, 10 * 1e3);
|
|
5785
|
+
reject();
|
|
5790
5786
|
});
|
|
5791
5787
|
});
|
|
5792
5788
|
}
|
|
@@ -5990,6 +5986,10 @@ const VideoPlayerV2 = defineComponent({
|
|
|
5990
5986
|
addRtspProxyUrl: url
|
|
5991
5987
|
}
|
|
5992
5988
|
});
|
|
5989
|
+
play.p_player.catch(error => {
|
|
5990
|
+
console.log("add 500!");
|
|
5991
|
+
getVideoDetail(_prop.camera);
|
|
5992
|
+
});
|
|
5993
5993
|
};
|
|
5994
5994
|
const releaseUrl = ref("");
|
|
5995
5995
|
const release = async () => {
|
|
@@ -6054,6 +6054,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6054
6054
|
"id": `videoPlayer_${uuid}`,
|
|
6055
6055
|
"class": "videoComponent fill",
|
|
6056
6056
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6057
|
+
"webkit-playsinline": "false",
|
|
6058
|
+
"playsinline": "false",
|
|
6057
6059
|
"autoplay": true,
|
|
6058
6060
|
"loop": true,
|
|
6059
6061
|
"muted": true
|
|
@@ -6062,6 +6064,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6062
6064
|
return createVNode("video", {
|
|
6063
6065
|
"id": `videoPlayer_${uuid}`,
|
|
6064
6066
|
"class": `videoComponent ${_prop.fill}`,
|
|
6067
|
+
"webkit-playsinline": "false",
|
|
6068
|
+
"playsinline": "false",
|
|
6065
6069
|
"muted": true,
|
|
6066
6070
|
"autoplay": true
|
|
6067
6071
|
}, null);
|