Commit d52c7194 authored by 华国豪's avatar 华国豪 🙄

no message

parent abb3f38e
Pipeline #39 canceled with stages
<template>
<div class="bg_box" :style="{position: 'relative', width: `${videInfo.width}px`, height: `${videInfo.height}px`, left: `${videInfo.offsetX}px`, top: `${videInfo.offsetY}px`, transform: `scale(${videInfo.transformScale1}, ${videInfo.transformScale2})`}">
<div class="bg_video_box">
<video src="/static/video/yxbg.mp4" autoplay="autoplay" loop="loop" muted="muted"></video>
<video src="/static/video/yxbg.mp4" autoplay="autoplay" loop="loop" muted="muted" id="homeBGvideo"></video>
</div>
<div class="home_tit">
<div class="_en yinxiang2020">
......@@ -46,6 +46,11 @@ export default {
}
}
},
activated () {
var video = document.getElementById('homeBGvideo')
video.muted = true
video.play()
},
created () {
this.windowResize()
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment