Gumlet Flutter SDK
A Flutter plugin project wrapping the Native Gumlet Video Player SDKs for Android and iOS.
Installation
Add this plugin to your Flutter application's pubspec.yaml. You can include it via file path or direct git dependency if pushed.
Android Setup
The Android setup is fully automated. The plugin uses the private Maven repository hosted by Gumlet to pull the com.gumlet.video:player dependency.
Ensure your application's android/app/build.gradle has a minSdkVersion of at least 24.
iOS Setup
The iOS setup is also fully automated. The plugin vendors the GumletVideoPlayer precompiled XCFramework. Ensure your iOS deployment target is at least iOS 13.0 inside ios/Podfile.
Usage
Import the package and use the GumletPlayer widget:
import 'package:gumlet_video_player/gumlet_video_player.dart';
// ...
GumletPlayer(
videoUrl: 'https://video.gumlet.io/YOUR_VIDEO_ID/main.m3u8',
autoPlay: true,
drmLicenseUrl: null, // Insert FairPlay or Widevine license URL if applicable
)