动态计算播放器尺寸,保持16:9比例,避免出现黑框或固定大小无法缩放
parent
33eec2b68f
commit
e7ab983f94
|
@ -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…
Reference in New Issue