-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
视频加载完后为什么背景是黑的? #118
Comments
你描述的加载完成后具体是指调用什么接口后? 你认为应该是什么样子,请描述一下 |
FijkPlayer player = FijkPlayer(); 就是调用完setDataSource,希望是可以出现视频的画面,和时长。但是现在调用完setDataSource如果不设置自动播放,就是一个黑色的背景,时间也是00:00,我是否还需要调用什么接口来完成这一步? |
await player.setDataSource(url);
await player.setOption(FijkOption.playerCategory, "start-on-prepared", 1);
await player.prepareAsync(); 我明白你的需求,但是现在对这个没有很好地支持。 我会在 ijkplayer 中真正实现你所说的这个需求,不过得等段时间了。 |
好的,谢谢。 |
@ivan5151 更新支持了,可以试试。 文档见 https://fijkplayer.befovy.com/docs/zh/fijkplayer-api.html 中 setDataSource 部分。 |
好的,感谢。 |
视频加载完后为什么背景是黑的?而且也看不到时长,需要播放后才有。
The text was updated successfully, but these errors were encountered: