如何播放M3U8格式的Android&Flutter上的iOS [英] How to Play M3U8 Format Android & iOS on Flutter
本文介绍了如何播放M3U8格式的Android&Flutter上的iOS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在iOS上找不到M3U8网址播放器的任何解决方案
I can't find any solution for M3U8 Url player on iOS
我尝试了这些插件;
- video_player(无法播放)
- flutter_simple_video_player(仅支持Android)
推荐答案
YoYo播放器很棒选择.
- 添加依赖项:
yoyo_player:#latest
- 在任何需要的地方使用:
YoYoPlayer(
aspectRatio: 16 / 9,
url: "",
videoStyle: VideoStyle(),
videoLoadingStyle: VideoLoadingStyle(),
),
这篇关于如何播放M3U8格式的Android&Flutter上的iOS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文