ogplayer_flutter 1.4.0 copy "ogplayer_flutter: ^1.4.0" to clipboard
ogplayer_flutter: ^1.4.0 copied to clipboard

OGPlayer — a full-featured video player SDK for Flutter. HLS/DASH, DRM, IMA ads, offline downloads, playlists, picture-in-picture and a fully customizable native player UI.

1.4.0 #

Wraps OGPlayer Android 1.4.0 and OGPlayer iOS 1.4.0. Bug fixes and improvements.

Drop-in for 1.3.1. No API changes.

1.3.1 #

Wraps OGPlayer Android 1.3.1 and OGPlayer iOS 1.3.1.

Added #

  • A tap on a playing ad pauses it and brings up the play glyph; the glyph resumes the ad and leaves with it. Learn more (the ad's clickthrough) pauses the ad while the browser covers the app and resumes it when the viewer comes back. onAdEvent reports the click as type clicked.
  • OGPlayerController.skipToPrevious() goes back one playlist item, the counterpart of skipToNext().

Changed #

  • Nothing is drawn over a playing ad: the play glyph appears only while the ad is paused.

Drop-in for 1.2.3. Additive; no existing API changes.

1.2.3 #

Wraps OGPlayer Android 1.2.2 and OGPlayer iOS 1.2.2.

Fixed #

  • iOS: the player now keeps a single view controller for its lifetime. Leaving fullscreen, or changing uiConfig, while a Google IMA ad is on screen keeps IMA's ad UI attached for the rest of the ad session and no longer terminates the app.

Drop-in for 1.2.2. No API changes.

1.2.2 #

Wraps OGPlayer Android 1.2.2 and OGPlayer iOS 1.2.2.

Changed #

  • Android engine updated to Media3 1.11.1 (renderer pre-warming, live timelines with server-side ads, audio offload, HLS end-of-stream retries).
  • Player chrome on both platforms: an option button (speed, quality, audio, subtitles) is drawn white whenever it is shown; only a button with nothing to offer — one audio track, no text tracks, a single quality — is dimmed. The current selection is shown in the button's menu.

Drop-in for 1.2.0. No API changes.

1.2.0 #

Wraps OGPlayer Android 1.2.0 and OGPlayer iOS 1.2.0.

  • PlaybackRecoveredEvent (reason, positionMs): the player reports the recoveries it performs on its own, so your analytics can count them. RecoveryReason says why. Android; on iOS these show as a BufferStart/BufferEnd pair.
  • FairPlayConfig.renewalInterval: for license servers that lease FairPlay keys for a fixed time, set it a little under the lease and the key is renewed in the background through your token provider.
  • Long DRM sessions on Android: a license that expires mid-stream is renewed and playback resumes at the same position; at most a PlaybackRecoveredEvent, never an error.
  • Leaving a player screen no longer changes the orientation of the screen that follows it.

Additive — safe upgrade from 1.1.1.

1.1.1 #

  • Example app: a real README (the 1.1.0 example shipped the Flutter template text).
  • No code changes — safe upgrade from 1.1.0.

1.1.0 #

Initial release — wraps OGPlayer Android 1.1.0 and OGPlayer iOS 1.1.2.

  • OGPlayerView widget + OGPlayerViewController: VOD/live/live-DVR, multi-DRM with a Dart tokenProvider, Google IMA ads, playlists with the "Up next" card, picture-in-picture, subtitles/audio/quality selection, fullscreen (button + rotate), watermark overlays, full chrome configuration down to headless.
  • OGVerticalFeedView widget: the SDK's swipeable portrait video feed — pooled preloaded neighbours, split text/video layouts, sponsored items, host-owned rail actions — with OGVerticalFeedItem, OGVerticalFeedConfig, FeedRailAction, OGFeedContentFit, OGFeedTextPlacement and OGFeedSplitAudioSource.
  • OGDownloads: offline downloads with offline DRM, license renewal, and a broadcast event stream.

iOS host requirements (see the README): forward application(_:supportedInterfaceOrientationsFor:) to OgplayerFlutterPlugin.interfaceOrientationMask for fullscreen/rotate, and application(_:handleEventsForBackgroundURLSession:completionHandler:) to OgplayerFlutterPlugin.handleDownloadBackgroundEvents so downloads that finish while the app is not running complete.

0
likes
150
points
346
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

OGPlayer — a full-featured video player SDK for Flutter. HLS/DASH, DRM, IMA ads, offline downloads, playlists, picture-in-picture and a fully customizable native player UI.

Homepage

License

unknown (license)

Dependencies

flutter

More

Packages that depend on ogplayer_flutter

Packages that implement ogplayer_flutter