暂停,需要解决一些问题

This commit is contained in:
Sense T
2022-09-30 05:46:58 +00:00
parent dc9b5ce0b1
commit c22c399f40
4 changed files with 10 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ onMounted(() => {
el.oncontextmenu = () => false;
document.getElementById("data").appendChild(el);
if (el.track.kind === "video") {
if (ev.track.kind === "video") {
const ctx = video.getContext("2d");
setTimeout(() => {
ctx.drawImage(this.video, 0, 0);