jhomlala / betterplayer

Better video player for Flutter, with multiple configuration options. Solving typical use cases!
Apache License 2.0
920 stars 983 forks source link

How to change video source dynamicly #1080

Open brightchip opened 2 years ago

brightchip commented 2 years ago

Discussed in https://github.com/jhomlala/betterplayer/discussions/1079

Originally posted by **brightchip** September 9, 2022 How do you change video source in fullscreen ? The Playlist won't do the work for me as I need to fetch the videos' url on demand
xavitec commented 1 year ago

can you do this final betterPlayerDataSource = BetterPlayerDataSource(BetterPlayerDataSourceType.network,'url'); _betterPlayerController.setupDataSource(betterPlayerDataSource);