inl-ui 0.1.11 → 0.1.12
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 +8 -8
- package/dist/components/index.js +8 -8
- package/dist/index.cjs +9 -9
- package/dist/index.d.ts +1 -1
- package/dist/index.js +9 -9
- package/dist/video/index.cjs +8 -8
- package/dist/video/index.js +8 -8
- package/dist/videoMobile/index.cjs +3 -1
- package/dist/videoMobile/index.js +3 -1
- package/package.json +1 -1
|
@@ -7549,7 +7549,9 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
7549
7549
|
if (videoElement) {
|
|
7550
7550
|
videoElement.pause();
|
|
7551
7551
|
videoElement.removeAttribute("src");
|
|
7552
|
-
videoElement.
|
|
7552
|
+
videoElement.src = null;
|
|
7553
|
+
videoElement.srcObject = null;
|
|
7554
|
+
videoElement.remove();
|
|
7553
7555
|
}
|
|
7554
7556
|
};
|
|
7555
7557
|
const getVideoDetail = async camera => {
|
|
@@ -7992,7 +7994,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
7992
7994
|
token: sessionStorage.getItem("token")
|
|
7993
7995
|
}
|
|
7994
7996
|
});
|
|
7995
|
-
setTimeout(() => {
|
|
7997
|
+
timeout = setTimeout(() => {
|
|
7996
7998
|
getThingValue();
|
|
7997
7999
|
}, 3e3);
|
|
7998
8000
|
infos.value.forEach(info => {
|
|
@@ -8015,13 +8017,14 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8015
8017
|
token: sessionStorage.getItem("token")
|
|
8016
8018
|
}
|
|
8017
8019
|
});
|
|
8018
|
-
res.data.data
|
|
8020
|
+
res.data.data?.forEach((ele, index) => {
|
|
8019
8021
|
arr[ele.position] = ele;
|
|
8020
8022
|
});
|
|
8021
8023
|
infos.value = arr;
|
|
8022
|
-
if (res.data.data
|
|
8024
|
+
if (res.data.data?.length === 0) {
|
|
8023
8025
|
showInfo.value = false;
|
|
8024
8026
|
} else {
|
|
8027
|
+
clearTimeout(timeout);
|
|
8025
8028
|
getThingValue();
|
|
8026
8029
|
}
|
|
8027
8030
|
};
|
|
@@ -8036,7 +8039,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8036
8039
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
8037
8040
|
};
|
|
8038
8041
|
let interval;
|
|
8039
|
-
let
|
|
8042
|
+
let timeout;
|
|
8040
8043
|
let show = vue.ref(true);
|
|
8041
8044
|
const timer = setInterval(() => {
|
|
8042
8045
|
show.value = false;
|
|
@@ -8046,16 +8049,13 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8046
8049
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
8047
8050
|
vue.onBeforeUnmount(() => {
|
|
8048
8051
|
clearInterval(interval);
|
|
8049
|
-
clearInterval(intervalSet);
|
|
8050
8052
|
clearInterval(timer);
|
|
8051
8053
|
});
|
|
8052
8054
|
const fill = vue.ref("fill");
|
|
8053
8055
|
vue.watch(() => _prop.camera, val => {
|
|
8054
8056
|
if (val && Object.keys(val).length != 0) {
|
|
8055
8057
|
clearInterval(interval);
|
|
8056
|
-
clearInterval(intervalSet);
|
|
8057
8058
|
getVideoParams(val);
|
|
8058
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
8059
8059
|
getVideoDetail(val);
|
|
8060
8060
|
const fillVal = localStorage.getItem(val);
|
|
8061
8061
|
if (fillVal) {
|
package/dist/components/index.js
CHANGED
|
@@ -7539,7 +7539,9 @@ const VideoPlayerV2 = defineComponent({
|
|
|
7539
7539
|
if (videoElement) {
|
|
7540
7540
|
videoElement.pause();
|
|
7541
7541
|
videoElement.removeAttribute("src");
|
|
7542
|
-
videoElement.
|
|
7542
|
+
videoElement.src = null;
|
|
7543
|
+
videoElement.srcObject = null;
|
|
7544
|
+
videoElement.remove();
|
|
7543
7545
|
}
|
|
7544
7546
|
};
|
|
7545
7547
|
const getVideoDetail = async camera => {
|
|
@@ -7982,7 +7984,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
7982
7984
|
token: sessionStorage.getItem("token")
|
|
7983
7985
|
}
|
|
7984
7986
|
});
|
|
7985
|
-
setTimeout(() => {
|
|
7987
|
+
timeout = setTimeout(() => {
|
|
7986
7988
|
getThingValue();
|
|
7987
7989
|
}, 3e3);
|
|
7988
7990
|
infos.value.forEach(info => {
|
|
@@ -8005,13 +8007,14 @@ const VideoBoxV2 = defineComponent({
|
|
|
8005
8007
|
token: sessionStorage.getItem("token")
|
|
8006
8008
|
}
|
|
8007
8009
|
});
|
|
8008
|
-
res.data.data
|
|
8010
|
+
res.data.data?.forEach((ele, index) => {
|
|
8009
8011
|
arr[ele.position] = ele;
|
|
8010
8012
|
});
|
|
8011
8013
|
infos.value = arr;
|
|
8012
|
-
if (res.data.data
|
|
8014
|
+
if (res.data.data?.length === 0) {
|
|
8013
8015
|
showInfo.value = false;
|
|
8014
8016
|
} else {
|
|
8017
|
+
clearTimeout(timeout);
|
|
8015
8018
|
getThingValue();
|
|
8016
8019
|
}
|
|
8017
8020
|
};
|
|
@@ -8026,7 +8029,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
8026
8029
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
8027
8030
|
};
|
|
8028
8031
|
let interval;
|
|
8029
|
-
let
|
|
8032
|
+
let timeout;
|
|
8030
8033
|
let show = ref(true);
|
|
8031
8034
|
const timer = setInterval(() => {
|
|
8032
8035
|
show.value = false;
|
|
@@ -8036,16 +8039,13 @@ const VideoBoxV2 = defineComponent({
|
|
|
8036
8039
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
8037
8040
|
onBeforeUnmount(() => {
|
|
8038
8041
|
clearInterval(interval);
|
|
8039
|
-
clearInterval(intervalSet);
|
|
8040
8042
|
clearInterval(timer);
|
|
8041
8043
|
});
|
|
8042
8044
|
const fill = ref("fill");
|
|
8043
8045
|
watch(() => _prop.camera, val => {
|
|
8044
8046
|
if (val && Object.keys(val).length != 0) {
|
|
8045
8047
|
clearInterval(interval);
|
|
8046
|
-
clearInterval(intervalSet);
|
|
8047
8048
|
getVideoParams(val);
|
|
8048
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
8049
8049
|
getVideoDetail(val);
|
|
8050
8050
|
const fillVal = localStorage.getItem(val);
|
|
8051
8051
|
if (fillVal) {
|
package/dist/index.cjs
CHANGED
|
@@ -43,7 +43,7 @@ var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
|
|
|
43
43
|
var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
|
|
44
44
|
var dayjs__default = /*#__PURE__*/_interopDefaultLegacy(dayjs);
|
|
45
45
|
|
|
46
|
-
var version = "0.1.
|
|
46
|
+
var version = "0.1.11";
|
|
47
47
|
|
|
48
48
|
const setTheme = theme => {
|
|
49
49
|
if (theme === "dark") {
|
|
@@ -8554,7 +8554,9 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
8554
8554
|
if (videoElement) {
|
|
8555
8555
|
videoElement.pause();
|
|
8556
8556
|
videoElement.removeAttribute("src");
|
|
8557
|
-
videoElement.
|
|
8557
|
+
videoElement.src = null;
|
|
8558
|
+
videoElement.srcObject = null;
|
|
8559
|
+
videoElement.remove();
|
|
8558
8560
|
}
|
|
8559
8561
|
};
|
|
8560
8562
|
const getVideoDetail = async camera => {
|
|
@@ -8997,7 +8999,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
8997
8999
|
token: sessionStorage.getItem("token")
|
|
8998
9000
|
}
|
|
8999
9001
|
});
|
|
9000
|
-
setTimeout(() => {
|
|
9002
|
+
timeout = setTimeout(() => {
|
|
9001
9003
|
getThingValue();
|
|
9002
9004
|
}, 3e3);
|
|
9003
9005
|
infos.value.forEach(info => {
|
|
@@ -9020,13 +9022,14 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
9020
9022
|
token: sessionStorage.getItem("token")
|
|
9021
9023
|
}
|
|
9022
9024
|
});
|
|
9023
|
-
res.data.data
|
|
9025
|
+
res.data.data?.forEach((ele, index) => {
|
|
9024
9026
|
arr[ele.position] = ele;
|
|
9025
9027
|
});
|
|
9026
9028
|
infos.value = arr;
|
|
9027
|
-
if (res.data.data
|
|
9029
|
+
if (res.data.data?.length === 0) {
|
|
9028
9030
|
showInfo.value = false;
|
|
9029
9031
|
} else {
|
|
9032
|
+
clearTimeout(timeout);
|
|
9030
9033
|
getThingValue();
|
|
9031
9034
|
}
|
|
9032
9035
|
};
|
|
@@ -9041,7 +9044,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
9041
9044
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
9042
9045
|
};
|
|
9043
9046
|
let interval;
|
|
9044
|
-
let
|
|
9047
|
+
let timeout;
|
|
9045
9048
|
let show = vue.ref(true);
|
|
9046
9049
|
const timer = setInterval(() => {
|
|
9047
9050
|
show.value = false;
|
|
@@ -9051,16 +9054,13 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
9051
9054
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
9052
9055
|
vue.onBeforeUnmount(() => {
|
|
9053
9056
|
clearInterval(interval);
|
|
9054
|
-
clearInterval(intervalSet);
|
|
9055
9057
|
clearInterval(timer);
|
|
9056
9058
|
});
|
|
9057
9059
|
const fill = vue.ref("fill");
|
|
9058
9060
|
vue.watch(() => _prop.camera, val => {
|
|
9059
9061
|
if (val && Object.keys(val).length != 0) {
|
|
9060
9062
|
clearInterval(interval);
|
|
9061
|
-
clearInterval(intervalSet);
|
|
9062
9063
|
getVideoParams(val);
|
|
9063
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
9064
9064
|
getVideoDetail(val);
|
|
9065
9065
|
const fillVal = localStorage.getItem(val);
|
|
9066
9066
|
if (fillVal) {
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { Key } from 'ant-design-vue/lib/table/interface';
|
|
|
11
11
|
import * as vue_jsx_runtime from 'vue/jsx-runtime';
|
|
12
12
|
import * as _ant_design_icons_vue_lib_components_IconFont from '@ant-design/icons-vue/lib/components/IconFont';
|
|
13
13
|
|
|
14
|
-
var version = "0.1.
|
|
14
|
+
var version = "0.1.11";
|
|
15
15
|
|
|
16
16
|
declare const _default$o: {
|
|
17
17
|
set(theme: string): void;
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import { XPopup, CommentBlock, setAxiosOption } from '@sszj-temp/mobile';
|
|
|
13
13
|
import { marked } from 'marked';
|
|
14
14
|
import '@sszj-temp/mobile/style.css';
|
|
15
15
|
|
|
16
|
-
var version = "0.1.
|
|
16
|
+
var version = "0.1.11";
|
|
17
17
|
|
|
18
18
|
const setTheme = theme => {
|
|
19
19
|
if (theme === "dark") {
|
|
@@ -8524,7 +8524,9 @@ const VideoPlayerV2 = defineComponent({
|
|
|
8524
8524
|
if (videoElement) {
|
|
8525
8525
|
videoElement.pause();
|
|
8526
8526
|
videoElement.removeAttribute("src");
|
|
8527
|
-
videoElement.
|
|
8527
|
+
videoElement.src = null;
|
|
8528
|
+
videoElement.srcObject = null;
|
|
8529
|
+
videoElement.remove();
|
|
8528
8530
|
}
|
|
8529
8531
|
};
|
|
8530
8532
|
const getVideoDetail = async camera => {
|
|
@@ -8967,7 +8969,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
8967
8969
|
token: sessionStorage.getItem("token")
|
|
8968
8970
|
}
|
|
8969
8971
|
});
|
|
8970
|
-
setTimeout(() => {
|
|
8972
|
+
timeout = setTimeout(() => {
|
|
8971
8973
|
getThingValue();
|
|
8972
8974
|
}, 3e3);
|
|
8973
8975
|
infos.value.forEach(info => {
|
|
@@ -8990,13 +8992,14 @@ const VideoBoxV2 = defineComponent({
|
|
|
8990
8992
|
token: sessionStorage.getItem("token")
|
|
8991
8993
|
}
|
|
8992
8994
|
});
|
|
8993
|
-
res.data.data
|
|
8995
|
+
res.data.data?.forEach((ele, index) => {
|
|
8994
8996
|
arr[ele.position] = ele;
|
|
8995
8997
|
});
|
|
8996
8998
|
infos.value = arr;
|
|
8997
|
-
if (res.data.data
|
|
8999
|
+
if (res.data.data?.length === 0) {
|
|
8998
9000
|
showInfo.value = false;
|
|
8999
9001
|
} else {
|
|
9002
|
+
clearTimeout(timeout);
|
|
9000
9003
|
getThingValue();
|
|
9001
9004
|
}
|
|
9002
9005
|
};
|
|
@@ -9011,7 +9014,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
9011
9014
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
9012
9015
|
};
|
|
9013
9016
|
let interval;
|
|
9014
|
-
let
|
|
9017
|
+
let timeout;
|
|
9015
9018
|
let show = ref(true);
|
|
9016
9019
|
const timer = setInterval(() => {
|
|
9017
9020
|
show.value = false;
|
|
@@ -9021,16 +9024,13 @@ const VideoBoxV2 = defineComponent({
|
|
|
9021
9024
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
9022
9025
|
onBeforeUnmount(() => {
|
|
9023
9026
|
clearInterval(interval);
|
|
9024
|
-
clearInterval(intervalSet);
|
|
9025
9027
|
clearInterval(timer);
|
|
9026
9028
|
});
|
|
9027
9029
|
const fill = ref("fill");
|
|
9028
9030
|
watch(() => _prop.camera, val => {
|
|
9029
9031
|
if (val && Object.keys(val).length != 0) {
|
|
9030
9032
|
clearInterval(interval);
|
|
9031
|
-
clearInterval(intervalSet);
|
|
9032
9033
|
getVideoParams(val);
|
|
9033
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
9034
9034
|
getVideoDetail(val);
|
|
9035
9035
|
const fillVal = localStorage.getItem(val);
|
|
9036
9036
|
if (fillVal) {
|
package/dist/video/index.cjs
CHANGED
|
@@ -4742,7 +4742,9 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
4742
4742
|
if (videoElement) {
|
|
4743
4743
|
videoElement.pause();
|
|
4744
4744
|
videoElement.removeAttribute("src");
|
|
4745
|
-
videoElement.
|
|
4745
|
+
videoElement.src = null;
|
|
4746
|
+
videoElement.srcObject = null;
|
|
4747
|
+
videoElement.remove();
|
|
4746
4748
|
}
|
|
4747
4749
|
};
|
|
4748
4750
|
const getVideoDetail = async camera => {
|
|
@@ -5185,7 +5187,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5185
5187
|
token: sessionStorage.getItem("token")
|
|
5186
5188
|
}
|
|
5187
5189
|
});
|
|
5188
|
-
setTimeout(() => {
|
|
5190
|
+
timeout = setTimeout(() => {
|
|
5189
5191
|
getThingValue();
|
|
5190
5192
|
}, 3e3);
|
|
5191
5193
|
infos.value.forEach(info => {
|
|
@@ -5208,13 +5210,14 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5208
5210
|
token: sessionStorage.getItem("token")
|
|
5209
5211
|
}
|
|
5210
5212
|
});
|
|
5211
|
-
res.data.data
|
|
5213
|
+
res.data.data?.forEach((ele, index) => {
|
|
5212
5214
|
arr[ele.position] = ele;
|
|
5213
5215
|
});
|
|
5214
5216
|
infos.value = arr;
|
|
5215
|
-
if (res.data.data
|
|
5217
|
+
if (res.data.data?.length === 0) {
|
|
5216
5218
|
showInfo.value = false;
|
|
5217
5219
|
} else {
|
|
5220
|
+
clearTimeout(timeout);
|
|
5218
5221
|
getThingValue();
|
|
5219
5222
|
}
|
|
5220
5223
|
};
|
|
@@ -5229,7 +5232,7 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5229
5232
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
5230
5233
|
};
|
|
5231
5234
|
let interval;
|
|
5232
|
-
let
|
|
5235
|
+
let timeout;
|
|
5233
5236
|
let show = vue.ref(true);
|
|
5234
5237
|
const timer = setInterval(() => {
|
|
5235
5238
|
show.value = false;
|
|
@@ -5239,16 +5242,13 @@ const VideoBoxV2 = vue.defineComponent({
|
|
|
5239
5242
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
5240
5243
|
vue.onBeforeUnmount(() => {
|
|
5241
5244
|
clearInterval(interval);
|
|
5242
|
-
clearInterval(intervalSet);
|
|
5243
5245
|
clearInterval(timer);
|
|
5244
5246
|
});
|
|
5245
5247
|
const fill = vue.ref("fill");
|
|
5246
5248
|
vue.watch(() => _prop.camera, val => {
|
|
5247
5249
|
if (val && Object.keys(val).length != 0) {
|
|
5248
5250
|
clearInterval(interval);
|
|
5249
|
-
clearInterval(intervalSet);
|
|
5250
5251
|
getVideoParams(val);
|
|
5251
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
5252
5252
|
getVideoDetail(val);
|
|
5253
5253
|
const fillVal = localStorage.getItem(val);
|
|
5254
5254
|
if (fillVal) {
|
package/dist/video/index.js
CHANGED
|
@@ -4734,7 +4734,9 @@ const VideoPlayerV2 = defineComponent({
|
|
|
4734
4734
|
if (videoElement) {
|
|
4735
4735
|
videoElement.pause();
|
|
4736
4736
|
videoElement.removeAttribute("src");
|
|
4737
|
-
videoElement.
|
|
4737
|
+
videoElement.src = null;
|
|
4738
|
+
videoElement.srcObject = null;
|
|
4739
|
+
videoElement.remove();
|
|
4738
4740
|
}
|
|
4739
4741
|
};
|
|
4740
4742
|
const getVideoDetail = async camera => {
|
|
@@ -5177,7 +5179,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
5177
5179
|
token: sessionStorage.getItem("token")
|
|
5178
5180
|
}
|
|
5179
5181
|
});
|
|
5180
|
-
setTimeout(() => {
|
|
5182
|
+
timeout = setTimeout(() => {
|
|
5181
5183
|
getThingValue();
|
|
5182
5184
|
}, 3e3);
|
|
5183
5185
|
infos.value.forEach(info => {
|
|
@@ -5200,13 +5202,14 @@ const VideoBoxV2 = defineComponent({
|
|
|
5200
5202
|
token: sessionStorage.getItem("token")
|
|
5201
5203
|
}
|
|
5202
5204
|
});
|
|
5203
|
-
res.data.data
|
|
5205
|
+
res.data.data?.forEach((ele, index) => {
|
|
5204
5206
|
arr[ele.position] = ele;
|
|
5205
5207
|
});
|
|
5206
5208
|
infos.value = arr;
|
|
5207
|
-
if (res.data.data
|
|
5209
|
+
if (res.data.data?.length === 0) {
|
|
5208
5210
|
showInfo.value = false;
|
|
5209
5211
|
} else {
|
|
5212
|
+
clearTimeout(timeout);
|
|
5210
5213
|
getThingValue();
|
|
5211
5214
|
}
|
|
5212
5215
|
};
|
|
@@ -5221,7 +5224,7 @@ const VideoBoxV2 = defineComponent({
|
|
|
5221
5224
|
streams.value = JSON.parse(camera.value.brandTypePo?.streamTypeDict || "[]");
|
|
5222
5225
|
};
|
|
5223
5226
|
let interval;
|
|
5224
|
-
let
|
|
5227
|
+
let timeout;
|
|
5225
5228
|
let show = ref(true);
|
|
5226
5229
|
const timer = setInterval(() => {
|
|
5227
5230
|
show.value = false;
|
|
@@ -5231,16 +5234,13 @@ const VideoBoxV2 = defineComponent({
|
|
|
5231
5234
|
}, _prop.intervalTime * (0.5 + Math.random()));
|
|
5232
5235
|
onBeforeUnmount(() => {
|
|
5233
5236
|
clearInterval(interval);
|
|
5234
|
-
clearInterval(intervalSet);
|
|
5235
5237
|
clearInterval(timer);
|
|
5236
5238
|
});
|
|
5237
5239
|
const fill = ref("fill");
|
|
5238
5240
|
watch(() => _prop.camera, val => {
|
|
5239
5241
|
if (val && Object.keys(val).length != 0) {
|
|
5240
5242
|
clearInterval(interval);
|
|
5241
|
-
clearInterval(intervalSet);
|
|
5242
5243
|
getVideoParams(val);
|
|
5243
|
-
intervalSet = setInterval(() => {}, 1800 * 1e3);
|
|
5244
5244
|
getVideoDetail(val);
|
|
5245
5245
|
const fillVal = localStorage.getItem(val);
|
|
5246
5246
|
if (fillVal) {
|
|
@@ -4740,7 +4740,9 @@ const VideoPlayerV2 = vue.defineComponent({
|
|
|
4740
4740
|
if (videoElement) {
|
|
4741
4741
|
videoElement.pause();
|
|
4742
4742
|
videoElement.removeAttribute("src");
|
|
4743
|
-
videoElement.
|
|
4743
|
+
videoElement.src = null;
|
|
4744
|
+
videoElement.srcObject = null;
|
|
4745
|
+
videoElement.remove();
|
|
4744
4746
|
}
|
|
4745
4747
|
};
|
|
4746
4748
|
const getVideoDetail = async camera => {
|
|
@@ -4732,7 +4732,9 @@ const VideoPlayerV2 = defineComponent({
|
|
|
4732
4732
|
if (videoElement) {
|
|
4733
4733
|
videoElement.pause();
|
|
4734
4734
|
videoElement.removeAttribute("src");
|
|
4735
|
-
videoElement.
|
|
4735
|
+
videoElement.src = null;
|
|
4736
|
+
videoElement.srcObject = null;
|
|
4737
|
+
videoElement.remove();
|
|
4736
4738
|
}
|
|
4737
4739
|
};
|
|
4738
4740
|
const getVideoDetail = async camera => {
|