From 6e9ddbd6268c4198eda00865683dfccc473d750c Mon Sep 17 00:00:00 2001 From: zhaohappy <2281756061@qq.com> Date: Wed, 18 Dec 2024 19:19:07 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=20baseUrl=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/docs/guide/quick-start.md | 1 + test/avplayer.html | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/site/docs/guide/quick-start.md b/site/docs/guide/quick-start.md index 5f54900c..a525b38a 100644 --- a/site/docs/guide/quick-start.md +++ b/site/docs/guide/quick-start.md @@ -47,6 +47,7 @@ yarn add @libmedia/avcodec ```json { + "baseUrl": "./", "paths": { ... "@libmedia/common/*": ["node_modules/@libmedia/common/dist/esm/*"], diff --git a/test/avplayer.html b/test/avplayer.html index edf4804e..a8aa70e5 100644 --- a/test/avplayer.html +++ b/test/avplayer.html @@ -702,7 +702,7 @@ }, computed: { disabled: function () { - return this.currentTime <= 0 + return this.duration <= 0 } }, methods: {