bunny_video_player 0.2.2
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
attachToruns before async player initialization completes (deferred attach pattern) - Fix
BunnyVideoPlayerPlugin— remove invalidoverrideon staticregister(with:)method
Android #
- Fix progress bar colors not applying: search resource IDs across all packages and by class name (
DefaultTimeBar,BunnyTimeBar) - Fix
tintViewTreeoverriding progress bar colors — reordered to apply blanket tint first, then specific color overrides last
Bug Fixes #
- Fix
Cannot override static methodSwift 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) withBunnyVideoPlayerPlugin(Pigeon) on both Android and iOS - Removed legacy
ios/Swift/files andandroid/kotlin/duplicate directory BunnyPlayerViewConfigconstructor simplified — removed.udemy()named constructor, use defaultBunnyPlayerViewConfig()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
timeLabelColorArgbfor 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
BunnyPlayerViewConfigandBunnyVideoController. - Add library-level docs for the main
bunny_video_playerentrypoint.
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.