Skip to content

Releases: flutterbysunny/smart_player_kit

v1.0.2 — Picture-in-Picture + Mini Player

01 Jun 05:36

Choose a tag to compare

🎬 What's New in v1.0.2

🆕 Picture-in-Picture (PiP)

  • PipController — full PiP lifecycle management
  • Android 8.0+ native PictureInPictureParams API
  • iOS 15+ AVPictureInPictureController support (real device only)
  • Auto-enter PiP on home button (Android 12+)
  • Seamless resize animation (Android 12+)
  • PiP mode detection — controls auto-hide in PiP window

🪟 Mini Player Improvements

  • Live video in mini player — same VideoPlayerController shared
  • Play/Pause + Close controls only — clean UI
  • Fixed setState() called during build error
  • Fixed position clamp crash on Android
  • Fixed overflow on small screens

🐛 Bug Fixes

  • Fixed minimize bar UI overflow
  • Fixed PiP controls showing inside PiP window
  • Fixed MiniPlayerController build-time notification error

📦 Installation

```yaml
dependencies:
smart_player_kit: ^1.0.2
```

🔗 Links

What's Fixed in v1.0.1

27 May 08:41

Choose a tag to compare

Dependency Updates

  • audio_session ^0.1.21^0.2.3
  • connectivity_plus ^6.0.5^7.1.1
  • flutter_local_notifications ^17.2.3^21.0.0
  • just_audio ^0.9.40^0.10.5
  • screen_brightness ^0.2.2+1^2.1.8
  • volume_controller ^2.0.8^3.5.0

Bug Fixes

  • Fixed flutter_local_notifications v21 breaking changes:
    • AndroidNotificationAction constructor updated
    • initialize() now uses settings: named parameter
    • show() and cancel() use id: named parameter
    • Background notification handler moved to top-level function with @pragma('vm:entry-point')
  • Fixed deprecated withOpacity()withValues(alpha:)
  • Fixed deprecated onPopInvokedonPopInvokedWithResult.
  • Fixed library name declaration warning
  • Fixed curly braces in subtitle parser
  • Removed unnecessary imports across multiple files

Other

  • Added http to dependencies for subtitle URL fetching
  • Added video_player to example app dependencies
  • pub.dev score improved to 120/160

Installation

```yaml
dependencies:
smart_player_kit: ^1.0.1
```

🔗 Links

smart_player_kit v0.0.1 — Initial Release

24 May 07:15

Choose a tag to compare

Advanced Flutter media player kit with modern controls and streaming support.

Features

  • 📺 Network Video Playback
  • 🔥 HLS / M3U8 Streaming Support
  • 🎬 Reels Support
  • 📝 Subtitles Support
  • ⚡ Background Playback
  • 🔲 Fullscreen Mode
  • 🎮 Custom Controls
  • 🔄 Auto Resume

📦 Installation

```yaml
dependencies:
smart_player_kit: ^0.0.1
```

Quick Start

```dart
SmartPlayerKit(
url: 'https://example.com/video.m3u8',
)
```

Platform Support

  • ✅ Android
  • ✅ iOS