mtxt-ui3 0.0.25 → 0.0.26
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 +4 -3
- package/dist/components/index.js +4 -3
- package/dist/hooks/index.cjs +0 -3
- package/dist/hooks/index.js +0 -3
- package/dist/index.cjs +5 -4
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/video/index.cjs +4 -3
- package/dist/video/index.js +4 -3
- package/package.json +1 -1
|
@@ -6626,9 +6626,6 @@ class WebRtcMt$1 {
|
|
|
6626
6626
|
});
|
|
6627
6627
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6628
6628
|
console.log("webrtc:" + state);
|
|
6629
|
-
if (state === "disconnected" || state === "failed") {
|
|
6630
|
-
this.rePlay(videoElm);
|
|
6631
|
-
}
|
|
6632
6629
|
});
|
|
6633
6630
|
}
|
|
6634
6631
|
// 重播
|
|
@@ -6820,6 +6817,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6820
6817
|
"id": `videoPlayer_${uuid}`,
|
|
6821
6818
|
"class": "videoComponent fill",
|
|
6822
6819
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6820
|
+
"webkit-playsinline": "false",
|
|
6821
|
+
"playsinline": "false",
|
|
6823
6822
|
"autoplay": true,
|
|
6824
6823
|
"loop": true,
|
|
6825
6824
|
"muted": true
|
|
@@ -6828,6 +6827,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6828
6827
|
return vue.createVNode("video", {
|
|
6829
6828
|
"id": `videoPlayer_${uuid}`,
|
|
6830
6829
|
"class": `videoComponent ${_prop.fill}`,
|
|
6830
|
+
"webkit-playsinline": "false",
|
|
6831
|
+
"playsinline": "false",
|
|
6831
6832
|
"muted": true,
|
|
6832
6833
|
"autoplay": true
|
|
6833
6834
|
}, null);
|
package/dist/components/index.js
CHANGED
|
@@ -6616,9 +6616,6 @@ class WebRtcMt$1 {
|
|
|
6616
6616
|
});
|
|
6617
6617
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6618
6618
|
console.log("webrtc:" + state);
|
|
6619
|
-
if (state === "disconnected" || state === "failed") {
|
|
6620
|
-
this.rePlay(videoElm);
|
|
6621
|
-
}
|
|
6622
6619
|
});
|
|
6623
6620
|
}
|
|
6624
6621
|
// 重播
|
|
@@ -6810,6 +6807,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6810
6807
|
"id": `videoPlayer_${uuid}`,
|
|
6811
6808
|
"class": "videoComponent fill",
|
|
6812
6809
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6810
|
+
"webkit-playsinline": "false",
|
|
6811
|
+
"playsinline": "false",
|
|
6813
6812
|
"autoplay": true,
|
|
6814
6813
|
"loop": true,
|
|
6815
6814
|
"muted": true
|
|
@@ -6818,6 +6817,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6818
6817
|
return createVNode("video", {
|
|
6819
6818
|
"id": `videoPlayer_${uuid}`,
|
|
6820
6819
|
"class": `videoComponent ${_prop.fill}`,
|
|
6820
|
+
"webkit-playsinline": "false",
|
|
6821
|
+
"playsinline": "false",
|
|
6821
6822
|
"muted": true,
|
|
6822
6823
|
"autoplay": true
|
|
6823
6824
|
}, null);
|
package/dist/hooks/index.cjs
CHANGED
|
@@ -6036,9 +6036,6 @@ class WebRtcMt {
|
|
|
6036
6036
|
});
|
|
6037
6037
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6038
6038
|
console.log("webrtc:" + state);
|
|
6039
|
-
if (state === "disconnected" || state === "failed") {
|
|
6040
|
-
this.rePlay(videoElm);
|
|
6041
|
-
}
|
|
6042
6039
|
});
|
|
6043
6040
|
}
|
|
6044
6041
|
// 重播
|
package/dist/hooks/index.js
CHANGED
|
@@ -6027,9 +6027,6 @@ class WebRtcMt {
|
|
|
6027
6027
|
});
|
|
6028
6028
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6029
6029
|
console.log("webrtc:" + state);
|
|
6030
|
-
if (state === "disconnected" || state === "failed") {
|
|
6031
|
-
this.rePlay(videoElm);
|
|
6032
|
-
}
|
|
6033
6030
|
});
|
|
6034
6031
|
}
|
|
6035
6032
|
// 重播
|
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.25";
|
|
25
25
|
|
|
26
26
|
const setRem = opt => {
|
|
27
27
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6642,9 +6642,6 @@ class WebRtcMt$1 {
|
|
|
6642
6642
|
});
|
|
6643
6643
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6644
6644
|
console.log("webrtc:" + state);
|
|
6645
|
-
if (state === "disconnected" || state === "failed") {
|
|
6646
|
-
this.rePlay(videoElm);
|
|
6647
|
-
}
|
|
6648
6645
|
});
|
|
6649
6646
|
}
|
|
6650
6647
|
// 重播
|
|
@@ -7351,6 +7348,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7351
7348
|
"id": `videoPlayer_${uuid}`,
|
|
7352
7349
|
"class": "videoComponent fill",
|
|
7353
7350
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
7351
|
+
"webkit-playsinline": "false",
|
|
7352
|
+
"playsinline": "false",
|
|
7354
7353
|
"autoplay": true,
|
|
7355
7354
|
"loop": true,
|
|
7356
7355
|
"muted": true
|
|
@@ -7359,6 +7358,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7359
7358
|
return vue.createVNode("video", {
|
|
7360
7359
|
"id": `videoPlayer_${uuid}`,
|
|
7361
7360
|
"class": `videoComponent ${_prop.fill}`,
|
|
7361
|
+
"webkit-playsinline": "false",
|
|
7362
|
+
"playsinline": "false",
|
|
7362
7363
|
"muted": true,
|
|
7363
7364
|
"autoplay": true
|
|
7364
7365
|
}, 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.25";
|
|
13
13
|
|
|
14
14
|
const setRem = opt => {
|
|
15
15
|
const fontSize = opt.fontSize || 14;
|
|
@@ -6630,9 +6630,6 @@ class WebRtcMt$1 {
|
|
|
6630
6630
|
});
|
|
6631
6631
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
6632
6632
|
console.log("webrtc:" + state);
|
|
6633
|
-
if (state === "disconnected" || state === "failed") {
|
|
6634
|
-
this.rePlay(videoElm);
|
|
6635
|
-
}
|
|
6636
6633
|
});
|
|
6637
6634
|
}
|
|
6638
6635
|
// 重播
|
|
@@ -7339,6 +7336,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7339
7336
|
"id": `videoPlayer_${uuid}`,
|
|
7340
7337
|
"class": "videoComponent fill",
|
|
7341
7338
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
7339
|
+
"webkit-playsinline": "false",
|
|
7340
|
+
"playsinline": "false",
|
|
7342
7341
|
"autoplay": true,
|
|
7343
7342
|
"loop": true,
|
|
7344
7343
|
"muted": true
|
|
@@ -7347,6 +7346,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7347
7346
|
return createVNode("video", {
|
|
7348
7347
|
"id": `videoPlayer_${uuid}`,
|
|
7349
7348
|
"class": `videoComponent ${_prop.fill}`,
|
|
7349
|
+
"webkit-playsinline": "false",
|
|
7350
|
+
"playsinline": "false",
|
|
7350
7351
|
"muted": true,
|
|
7351
7352
|
"autoplay": true
|
|
7352
7353
|
}, null);
|
package/dist/video/index.cjs
CHANGED
|
@@ -5851,9 +5851,6 @@ class WebRtcMt$1 {
|
|
|
5851
5851
|
});
|
|
5852
5852
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
5853
5853
|
console.log("webrtc:" + state);
|
|
5854
|
-
if (state === "disconnected" || state === "failed") {
|
|
5855
|
-
this.rePlay(videoElm);
|
|
5856
|
-
}
|
|
5857
5854
|
});
|
|
5858
5855
|
}
|
|
5859
5856
|
// 重播
|
|
@@ -6062,6 +6059,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6062
6059
|
"id": `videoPlayer_${uuid}`,
|
|
6063
6060
|
"class": "videoComponent fill",
|
|
6064
6061
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6062
|
+
"webkit-playsinline": "false",
|
|
6063
|
+
"playsinline": "false",
|
|
6065
6064
|
"autoplay": true,
|
|
6066
6065
|
"loop": true,
|
|
6067
6066
|
"muted": true
|
|
@@ -6070,6 +6069,8 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
6070
6069
|
return vue.createVNode("video", {
|
|
6071
6070
|
"id": `videoPlayer_${uuid}`,
|
|
6072
6071
|
"class": `videoComponent ${_prop.fill}`,
|
|
6072
|
+
"webkit-playsinline": "false",
|
|
6073
|
+
"playsinline": "false",
|
|
6073
6074
|
"muted": true,
|
|
6074
6075
|
"autoplay": true
|
|
6075
6076
|
}, null);
|
package/dist/video/index.js
CHANGED
|
@@ -5843,9 +5843,6 @@ class WebRtcMt$1 {
|
|
|
5843
5843
|
});
|
|
5844
5844
|
player.on(Events.WEBRTC_ON_CONNECTION_STATE_CHANGE, state => {
|
|
5845
5845
|
console.log("webrtc:" + state);
|
|
5846
|
-
if (state === "disconnected" || state === "failed") {
|
|
5847
|
-
this.rePlay(videoElm);
|
|
5848
|
-
}
|
|
5849
5846
|
});
|
|
5850
5847
|
}
|
|
5851
5848
|
// 重播
|
|
@@ -6054,6 +6051,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6054
6051
|
"id": `videoPlayer_${uuid}`,
|
|
6055
6052
|
"class": "videoComponent fill",
|
|
6056
6053
|
"src": videoInfo2.value.mp4ResourcesPath,
|
|
6054
|
+
"webkit-playsinline": "false",
|
|
6055
|
+
"playsinline": "false",
|
|
6057
6056
|
"autoplay": true,
|
|
6058
6057
|
"loop": true,
|
|
6059
6058
|
"muted": true
|
|
@@ -6062,6 +6061,8 @@ const VideoPlayerV2 = defineComponent({
|
|
|
6062
6061
|
return createVNode("video", {
|
|
6063
6062
|
"id": `videoPlayer_${uuid}`,
|
|
6064
6063
|
"class": `videoComponent ${_prop.fill}`,
|
|
6064
|
+
"webkit-playsinline": "false",
|
|
6065
|
+
"playsinline": "false",
|
|
6065
6066
|
"muted": true,
|
|
6066
6067
|
"autoplay": true
|
|
6067
6068
|
}, null);
|