微信更新到7.0,video组件上面的CoverImage组件的图片显示不出来

发布于 6 年前作者 yyan7363 次浏览最后编辑 6 年前来自 ask
  • 当前 Bug 的表现(可附上截图)

微信更新到7.0,video组件上面的 cover-image 组件的图片显示不出来

  • 预期表现

  • 复现路径

  • 提供一个最简复现 Demo

<video

id=“myvideo”

class=“audio_player”

src=“{{courseDetail.playUrl.mp4}}”

autoplay=“true”

bindplay=“didPlay”

bindpause=“didPause”

bindtimeupdate=“updatedTime”

binderror=“playError”

bindended=“playEnded”

bindfullscreenchange=“fullScreenDidChange”

>

<cover-view class=“audio_player_container”>

<cover-image

class=“audio_player_poster”

src=“{{poster}}”      

/>

<!-- 控制条 –>

<cover-view wx:if=“{{isFullScreen}}” class=“control_bar”>    

<!-- 开始时间 –>

<cover-view class=“control_bar_time”>{{playTime.currentTime}}/{{playTime.duration}}</cover-view>    

<!-- 全屏按钮 –>

<cover-view class=“control_bar_button” bindtap=“didTapFullScreen”>

<cover-image

src=“…/image/audio_player_fullscreen.png”

class=“control_bar_full_size”          

/>

</cover-view>

</cover-view>

</cover-view>

</video>

4 回复
yangchen
yangchen2 楼6 年前

同样升级7.0后的问题, 麻烦回答下呢,谢谢!

https://developers.weixin.qq.com/community/develop/doc/000ec2bb19c168ecb0d73fe8c51800

taojun
taojun3 楼6 年前

楼主,问题解决了吗?

guojun
guojun4 楼4 年前