showVideo static method

Future<void> showVideo({
  1. String? url,
  2. String? base64,
  3. Uint8List? bytes,
  4. String? filePath,
  5. String? assetPath,
  6. String? title,
  7. bool autoPlay = true,
})

Plays a video in a tall bottom sheet with full controls; give one of url/bytes/base64/filePath/assetPath. UMedia.showVideo(url: url, title: "Intro")

Implementation

static Future<void> showVideo({String? url, String? base64, Uint8List? bytes, String? filePath, String? assetPath, String? title, bool autoPlay = true}) =>
    UVideoSheet.show(url: url, base64: base64, bytes: bytes, filePath: filePath, assetPath: assetPath, title: title, autoPlay: autoPlay);