Commit 33b125262b9bc6443ea2edbaac306fdbeb0dc7e5
1 parent
f146203f
优化jessibuca播放窗口尺寸
Showing
1 changed file
with
2 additions
and
2 deletions
web_src/src/components/common/jessibuca.vue
| 1 | 1 | <template> |
| 2 | 2 | <div ref="container" @dblclick="fullscreenSwich" |
| 3 | - style="width:100%;height:100%;min-height: 200px;background-color: #000000;margin:0 auto;position: relative;"> | |
| 3 | + style="width:100%;height:518px; min-height: 200px;background-color: #000000;margin:0 auto;position: relative;"> | |
| 4 | 4 | <div class="buttons-box" id="buttonsBox"> |
| 5 | 5 | <div class="buttons-box-left"> |
| 6 | 6 | <i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i> |
| ... | ... | @@ -46,7 +46,7 @@ export default { |
| 46 | 46 | }; |
| 47 | 47 | }, |
| 48 | 48 | props: ['videoUrl', 'error', 'hasAudio', 'height'], |
| 49 | - mounted() { | |
| 49 | + created() { | |
| 50 | 50 | let paramUrl = decodeURIComponent(this.$route.params.url) |
| 51 | 51 | this.$nextTick(() => { |
| 52 | 52 | this.updatePlayerDomSize() | ... | ... |