提交 bba766d9 编写于 作者: 雪洛's avatar 雪洛

fix: 移除app端不支持的写法

上级 22edc0a2
...@@ -233,7 +233,7 @@ ...@@ -233,7 +233,7 @@
}, },
pause: function () { pause: function () {
console.log("pause"); console.log("pause");
(uni.getElementById("video") as unknown as UniVideoElement).pause(); //as写法测试。注意id不对时as会崩溃 (uni.getElementById("video") as UniVideoElement).pause(); //as写法测试。注意id不对时as会崩溃
// this.videoContext?.pause(); // this.videoContext?.pause();
}, },
seek: function (pos : number) { seek: function (pos : number) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册