<!--mycomponent/yz_upVideo/yz_upVideo.wxml-->


<view class="video-wrap" catchtap="onReadVideo" style="width:{{width}};height:{{height}};">
  <video id="myvideo" src="{{videoUrl}}" wx:if="{{videoUrl}}" controls></video>
  <view class="back_img" wx:if="{{!videoUrl}}">
    <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/agreen_video@2x.png" mode='widthFix' />
  </view>
  <view class="tips" wx:if="{{!videoUrl && limit>0}}">视频时长不应超过<text class="small" style="color:#FFC107;font-size:28rpx;">{{limit}}</text>秒</view>
</view>


