Commit e7ab983f94d5c7aea035c188ddfd48c6e0cc9a47
1 parent
33eec2b6
动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放
Showing
1 changed file
with
1 additions
and
2 deletions
web_src/src/components/common/jessibuca.vue
| 1 | 1 | <template> |
| 2 | - <div :id="containerId" :ref="containerId" style="width: 100%;height: auto; background-color: #000" | |
| 3 | - @dblclick="fullscreenSwich"> | |
| 2 | + <div :id="containerId" :ref="containerId" @dblclick="fullscreenSwich"> | |
| 4 | 3 | <div class="buttons-box" id="buttonsBox"> |
| 5 | 4 | <div class="buttons-box-left"> |
| 6 | 5 | <i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i> | ... | ... |