提交 5e78af89 编写于 作者: A Anne_LXM

更新视频地址

上级 208d2cbc
...@@ -35,7 +35,7 @@ var videoContext; ...@@ -35,7 +35,7 @@ var videoContext;
} }
}, },
timeupdate(e){ timeupdate(e){
console.log(e.detail); // console.log(e.detail);
this.duration = e.detail.duration this.duration = e.detail.duration
this.currentTime = e.detail.currentTime this.currentTime = e.detail.currentTime
}, },
...@@ -58,7 +58,7 @@ var videoContext; ...@@ -58,7 +58,7 @@ var videoContext;
poster: { poster: {
type: [String,Boolean], type: [String,Boolean],
default(){ default(){
return '' return 'https://web-assets.dcloud.net.cn/unidoc/zh/schema2code-poster.jpg'
} }
}, },
src: { src: {
......
...@@ -19,7 +19,8 @@ import schemaCode from './schemaCode'; ...@@ -19,7 +19,8 @@ import schemaCode from './schemaCode';
data() { data() {
return { return {
schemaCode:schemaCode, schemaCode:schemaCode,
videoUrl:"https://vkceyugu.cdn.bspapp.com/VKCEYUGU-aliyun-fkixoysdctc5381ccc/85f97090-6096-11eb-8ff1-d5dcf8779628.mp4" videoUrl:"https://web-assets.dcloud.net.cn/unidoc/zh/schema2code%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E5%BC%8F.mp4",
// https://web-assets.dcloud.net.cn/unidoc/zh/create-schema2code-video.mp4
} }
}, },
methods: { methods: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册