bunny_video_player 0.2.2 copy "bunny_video_player: ^0.2.2" to clipboard
bunny_video_player: ^0.2.2 copied to clipboard

Flutter video player for Bunny.net with signed/tokenized HLS/MP4 and full control from Dart. Android and iOS.

Changelog #

0.2.2 #

  • Update README with iOS CocoaPods/SPM compatibility docs
  • Fix BunnyVideoPlayer widget example in README

0.2.1 #

iOS #

  • Make BunnyStreamPlayer SDK optional via #if canImport — plugin now works with CocoaPods (AVPlayer fallback) when SPM is unavailable
  • Add custom native controls overlay (BunnyPlayerControlsView) with play/pause, rewind 10s, forward 10s, progress bar, and fullscreen
  • Fix video not rendering when attachTo runs before async player initialization completes (deferred attach pattern)
  • Fix BunnyVideoPlayerPlugin — remove invalid override on static register(with:) method

Android #

  • Fix progress bar colors not applying: search resource IDs across all packages and by class name (DefaultTimeBar, BunnyTimeBar)
  • Fix tintViewTree overriding progress bar colors — reordered to apply blanket tint first, then specific color overrides last

Bug Fixes #

  • Fix Cannot override static method Swift compiler error
  • Fix video black screen on iOS when using CocoaPods without SPM

0.2.0 #

Breaking Changes #

  • Migrated from manual MethodChannel to Pigeon-generated type-safe APIs
  • Replaced BunnyVideoPlugin (MethodChannel) with BunnyVideoPlayerPlugin (Pigeon) on both Android and iOS
  • Removed legacy ios/Swift/ files and android/kotlin/ duplicate directory
  • BunnyPlayerViewConfig constructor simplified — removed .udemy() named constructor, use default BunnyPlayerViewConfig() instead

New Features #

  • Type-safe Pigeon communication (BunnyVideoPlayerApi + BunnyVideoPlayerEventApi)
  • Granular native control visibility: showNativeControls, showVolumeButton, showSubtitleButton, showPlayPauseButton, showRewindButton, showForwardButton, showProgressBar, showTimeLabels
  • Per-element color overrides: progressBarColorArgb, playPauseColorArgb, timeLabelColorArgb
  • BunnyPlayerViewConfig.videoOnly() convenience constructor for surface-only rendering
  • Flutter overlay controls auto-hide native controls when useOverlayControls: true

Bug Fixes #

  • Fix MediaRouteButton crash on Android when Activity theme has transparent background (#0)
  • Fix progress bar color not applying to bunny_progress (Bunny SDK resource ID lookup across packages)
  • Fix double play/pause controls showing (native + Flutter overlay)

iOS Improvements #

  • iOS now supports timeLabelColorArgb for time label customization
  • Progress bar color re-application with multiple retries for async-loaded controls
  • Disabled external playback (AirPlay) to prevent casting conflicts

0.1.5 #

  • Improve public API documentation for core types, including BunnyPlayerViewConfig and BunnyVideoController.
  • Add library-level docs for the main bunny_video_player entrypoint.

0.1.4 #

  • Version bump and maintenance release.

0.1.3 #

  • Remove hardcoded Bunny example credentials and require environment-driven values.
  • Add configurable control colors for tracked progress, buffered stream, control background, and icons.
  • Apply color configuration support on both Android and iOS paths.

0.1.2 #

  • Add customizable control colors for track, buffered stream, background, and icons.
  • Apply color config support across Android and iOS implementations.
  • Improve overlay controls to support separate color channels with backward-compatible defaults.

0.1.1 #

  • Add explicit supported platform metadata for Android and iOS.
  • Add supported platforms section in README.

0.1.0 #

  • Initial release of bunny_video_player.
  • Native Android/iOS playback integration for Bunny Stream.
  • Flutter controller API with play, pause, seek, speed, PiP, and dispose.
  • Event streaming for playback state, progress, errors, and PiP mode.
  • Platform view support with Android player control styling options.
1
likes
160
points
254
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Flutter video player for Bunny.net with signed/tokenized HLS/MP4 and full control from Dart. Android and iOS.

Homepage

Topics

#video #streaming #player #pip #bunny

License

MIT (license)

Dependencies

flutter, meta

More

Packages that depend on bunny_video_player

Packages that implement bunny_video_player