Flutter Kinescope SDK

License

Flutter plugin for the Kinescope video player.

One Dart API (KinescopePlayer + KinescopePlayerController) on every platform.
Under the hood there are three implementations:

Part Platforms Engine
Native Android kotlin-kinescope-player 0.1.5 · ExoPlayer · native UI (fullscreen, PiP, settings, offline, DRM)
Native iOS ios-kinescope-player 1.0.3 · AVPlayer · native UI (fullscreen, PiP, settings, offline)
Embed Web Kinescope iframe / JS API

Documentation

Android (native) Setup, UI, PiP, orientation, offline / DRM, quality picker
iOS (native) KinescopeSDK 1.0.3, fullscreen, PiP, DRM token, offline
Web (embed) iframe / JS player, embed parameters
Shared API KinescopePlayerController, shared PlayerParameters
Changelog Release history

Installation

dependencies:
  flutter_kinescope_sdk: ^0.2.6
Flutter >= 3.35.0
Dart >= 3.9.0 < 4.0.0
Android minSdk 24, JDK 17
iOS Swift, iOS 15, Xcode

Android setup (manifest, API key, JDK) → doc/android-native.md.

iOS setup (deployment target, CocoaPods tag, PiP) → doc/ios-native.md.

Quick start

KinescopePlayer(
  controller: KinescopePlayerController(
    'yourVideoId',
    parameters: const PlayerParameters(
      autoplay: true,
      muted: true,
    ),
  ),
  aspectRatio: 16 / 9,
)

Same widget everywhere: native player on Android and iOS, embed on Web.

Example

cd example
flutter run

The demo menu opens the player, sample videos with subtitles and chapters, and offline downloads with a quality picker on Android and iOS.

License

Apache License, Version 2.0