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

pull/447/head
xiaoxie 2022-04-23 11:34:43 +08:00
parent 33eec2b68f
commit e7ab983f94
1 changed files with 1 additions and 2 deletions

View File

@ -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>