BetterPlayer.network constructor

BetterPlayer.network(
  1. String url,
  2. {BetterPlayerConfiguration? betterPlayerConfiguration}
)

Implementation

factory BetterPlayer.network(
  String url, {
  BetterPlayerConfiguration? betterPlayerConfiguration,
}) =>
    BetterPlayer(
      controller: BetterPlayerController(
        betterPlayerConfiguration ?? const BetterPlayerConfiguration(),
        betterPlayerDataSource:
            BetterPlayerDataSource(BetterPlayerDataSourceType.network, url),
      ),
    );