This commit is contained in:
acgist
2023-02-11 22:11:51 +08:00
parent 50f80bee2d
commit 5f85dfccca
112 changed files with 1770 additions and 1213 deletions

View File

@@ -1,2 +1,23 @@
<!-- 本地终端 -->
<template></template>
<script>
import { defineComponent } from "@vue/composition-api";
export default defineComponent({
setup() {
// 本地视频
this._externalVideo = document.createElement("video");
this._externalVideo.controls = true;
this._externalVideo.muted = true;
this._externalVideo.loop = true;
this._externalVideo.setAttribute("playsinline", "");
this._externalVideo.src = EXTERNAL_VIDEO_SRC;
this._externalVideo
.play()
.catch((error) => logger.warn("externalVideo.play() failed:%o", error));
},
});
</script>