Future<void> main() async { fvp.registerWith(); await Global.init(); runApp(const MyApp()); } String testLive = 'https://flutter.github.io/assets-for-api-docs/assets/videos/bee.mp4'; String testLive1 = 'https://cdn.theoplayer.com/video/big_buck_bunny/stream-3-3000000/index.m3u8'; _controller = VideoPlayerController.networkUrl(Uri.parse(testLive)); _controller?.setLooping(true); _controller?.initialize().then((value) {} 下面这个地址能播,上面的地址不能播。 我项目获取的来自后端返回的地址大多数播放不了。 直接报错invalid or unsupported media
Activity
wang-bin commentedon Jun 6, 2026
用issue模板,不然看不到任何有用信息
wang-bin commentedon Jul 6, 2026
更新下依赖