Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

开发头条小程序,video组件设置poster封面图无效 #4320

Closed
guaiguaimao opened this issue Aug 28, 2019 · 2 comments
Closed

开发头条小程序,video组件设置poster封面图无效 #4320

guaiguaimao opened this issue Aug 28, 2019 · 2 comments
Labels
question Further information is requested

Comments

@guaiguaimao
Copy link

guaiguaimao commented Aug 28, 2019

代码如下

      <Video
          className='video'
          id="video"
          poster="https://s1.codooncdn.com/content-feed/internal-user/2019-08-28T10.45.58/388194xvjxYNwGTTbvHttM670"
          src="https://s2.codooncdn.com/content-feed/internal-user/2019-08-28T10.46.01/25078993xF98B90I8bYZeArEwFP/feed.mp4"
        >
        </Video>

期望行为
video组件在没有播放时,设置一个封面图,若不设置,在真机上会表现出一片黑
注意:头条小程序没有组件,无法在video组件上绘制其他的内容

系统信息

Taro v1.2 及以上版本已添加 taro info 命令,方便大家查看系统及依赖信息,运行该命令后将结果贴下面即可。

  • Taro 版本 1.3.8
  • 报错平台 [头条小程序]
@Chen-jj
Copy link
Contributor

Chen-jj commented Aug 28, 2019

@guaiguaimao 建议写份原生头条的代码测试下,Taro 只是直接使用头条的组件而已。

@Chen-jj Chen-jj added answered question Further information is requested labels Aug 29, 2019
@taro-bot
Copy link

taro-bot bot commented Aug 29, 2019

Hello~

您的问题楼上已经有了确切的回答,如果没有更多的问题这个 issue 将在 15 天后被自动关闭。

如果您在这 15 天中更新更多信息自动关闭的流程会自动取消,如有其他问题也可以发起新的 Issue。

Good luck and happy coding~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants