This commit is contained in:
littleeewolf 2024-08-25 15:23:33 +08:00
commit fa7b380e64
3 changed files with 5 additions and 0 deletions

BIN
dist.zip

Binary file not shown.

View File

@ -54,6 +54,7 @@
controls controls
playsinline playsinline
autoplay="autoplay" autoplay="autoplay"
style="width: 100%; height: auto;"
> >
<source :src="attachmentLink" type="application/x-mpegURL" /> <source :src="attachmentLink" type="application/x-mpegURL" />
</video> </video>

View File

@ -864,6 +864,10 @@ const getCameraUrl = () => {
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {
camera.hlsUriSsl = res.data.hlsUriSsl; camera.hlsUriSsl = res.data.hlsUriSsl;
} else {
ElMessage.warning({
message: res.message,
});
} }
}); });
}; };