Browse Source

动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放

pull/447/head
xiaoxie 3 years ago
parent
commit
e7ab983f94
  1. 3
      web_src/src/components/common/jessibuca.vue

3
web_src/src/components/common/jessibuca.vue

@ -1,6 +1,5 @@
<template>
<div :id="containerId" :ref="containerId" style="width: 100%;height: auto; background-color: #000"
@dblclick="fullscreenSwich">
<div :id="containerId" :ref="containerId" @dblclick="fullscreenSwich">
<div class="buttons-box" id="buttonsBox">
<div class="buttons-box-left">
<i v-if="!playing" class="iconfont icon-play jessibuca-btn" @click="playBtnClick"></i>

Loading…
Cancel
Save