<!--pages/title/title.wxml-->
<view class="video_content" style="position: relative;width:100%;height:400rpx;">
	<view class="video-box" wx:if="{{isVideo}}" style="width:100%;height:400rpx;position: relative;">
		<view style="position: relative;width:100%;height:400rpx">
			<video id="myVideo" src="{{video.hrefurl}}"
			 style="width:100%;height:400rpx;position: absolute;left: 0;top: 0; z-index: 5;" bindended="bindended"></video>
		</view>
		<view wx:if="{{imgurl}}">
			<view wx:if="{{imgurlshow}}" catchtap="imgurlshowbtn" style="{{imgurl?'background: url('+imgurl+');background-size: 100% 100%;':''}} width:100%;height:400rpx; position: absolute;left: 0;top: 0; z-index: 9;">
				<!-- <view style="position: absolute;z-index: 10;width:100%;height:400rpx;" >
					<image src="{{imgurl}}" mode='aspectFill' style="width:100%;height:400rpx;" />
				</view> -->
				<view style="position: absolute;width: 100rpx;height: 100rpx;left: 50%;top: 50%;margin-left: -50rpx;margin-top: -50rpx;z-index: 11;">
					<image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/images/minivideo.png" mode='aspectFill'  style="width: 100rpx;height: 100rpx;" />
				</view>
			</view>
		</view>
	</view>
	<view wx:else>视频组件只支持mp4格式</view>
</view>
