收藏
回答

live-player组件,播放.265格式视频,会出现变形情况?

目前测试MATE 20,IPHONE5C 8 12都没有问题,小米10会出现变形;

使用VLC客户端也是正常得


				<live-player @statechange="statechange" @error="error" id="video-livePlayer" :src="flvPlayUrl" 			
						mode="live" :autoplay="true" 
						bindstatechange="statechange" 
						binderror="error" 
						object-fit="contain"					
						style="width: 100%; height: 225px;" 
						v-if="liveplayer == true">
					<cover-view style="z-index: 9999;width: 100%;">
						<!-- 小屏视频自定义控制 -->
						<cover-view class="load-video-text1 flotage1" style="z-index: 9999; " v-if="VodLoadShop">						{{ VodLoadText }}</cover-view>
						<cover-view class="load-video-text flotage" style="z-index: 9999;font-size: 26rpx;"						v-if="!fullScreenFlag">{{ title }}</cover-view>
						<cover-view class="load-video-text flotage2" style="z-index: 9999;font-size: 26rpx;"							v-if="fullScreenFlag">{{ title }}</cover-view>
						<cover-view class="flotageY" v-if="!fullScreenFlag">
							<!-- <cover-image src="../../static/qp.png" style="width: 40rpx;height: 40rpx;" mode=""		 @tap="handleFullScreen"></cover-image> -->
							<cover-image src="../../static/qp.png"								style="width: 40rpx;height: 40rpx;margin-left: 20rpx;" mode="" @tap="handleFullScreen">>							</cover-image>
						</cover-view>
						<cover-view class="flotageX" v-if="fullScreenFlag">
							<cover-image src="../../static/qp.png" style="width: 40rpx;height: 40rpx;margin-left: 20rpx;" mode=""	 @tap="handleFullScreen"></cover-image>
						</cover-view>
						<!-- 小屏视频自定义控制 -->
					</cover-view>
				</live-player>
回答关注问题邀请回答
收藏

1 个回答

登录 后发表内容