Commit 6665bceb authored by 毛线's avatar 毛线

save

parent 2e3c52fc
<template> <template>
<video ref="jswebrtc" :controls="!videoPlay" style="width: 100%;height: 100%;object-fit: fill;" playsinline @click="(e) => handler().click(e)"/> <video ref="jswebrtc" style="width: 100%;height: 100%;object-fit: fill;" playsinline @click="(e) => handler().click(e)"/>
</template> </template>
<script> <script>
...@@ -35,7 +35,8 @@ export default { ...@@ -35,7 +35,8 @@ export default {
this.$refs.jswebrtc.volume = this.volumeMachine / 100 this.$refs.jswebrtc.volume = this.volumeMachine / 100
}, },
videoPlay() { videoPlay() {
this.$refs.jswebrtc.play() // this.$refs.jswebrtc.play()
this.$refs.jswebrtc.muted = false
}, },
}, },
mounted() { mounted() {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<img v-if="tabIndex === index" class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png" alt=""> <img v-if="tabIndex === index" class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png" alt="">
<img v-else class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png" alt=""> <img v-else class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png" alt="">
<div class="text">{{ text }}</div> <div class="text">{{ text }}</div>
<div v-if="index === 0" class="version">{{ `1.0.007` }}</div> <div v-if="index === 0" class="version">{{ `1.0.008` }}</div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -245,7 +245,7 @@ JSWebrtc.Player = function() { ...@@ -245,7 +245,7 @@ JSWebrtc.Player = function() {
this.autoplay = !!options.autoplay || false; this.autoplay = !!options.autoplay || false;
this.paused = true; this.paused = true;
if (this.autoplay) if (this.autoplay)
this.options.video.muted = false; this.options.video.muted = true;
this.startLoading() this.startLoading()
}; };
Player.prototype.startLoading = function() { Player.prototype.startLoading = function() {
......
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