abdelaziz-mahdy / flutter_meedu_videoplayer

Cross-Platform Video Player for flutter
https://abdelaziz-mahdy.github.io/flutter_meedu_videoplayer/
MIT License
142 stars 71 forks source link

What should I do to support Looping on the WEB? #61

Closed AnonymHK closed 1 year ago

AnonymHK commented 1 year ago

I need web support for video playback Looping, what should I do?

abdelaziz-mahdy commented 1 year ago

just add looping: true to setDataSource keep in mind that it looping will work in next desktop release

  _meeduPlayerController.setDataSource(
        DataSource(
          type: DataSourceType.network,
          source:
              "https://movietrailers.apple.com/movies/paramount/the-spongebob-movie-sponge-on-the-run/the-spongebob-movie-sponge-on-the-run-big-game_h720p.mov",
        ),
        autoplay: true,
        looping: true);