NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev
pub.dev, #3632 most downloaded on pub.dev
Production video player for Flutter (Android, iOS, Web, Desktop) with HLS, DASH, DRM (Widevine/FairPlay), caching, PiP, VAST ads, and vertical video feeds.
Latest stable
1.36.0
Last release 14 days ago
08 Nov 2026
Ships unpredictably
gaps range from 8 days to 2.1 years
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
143 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Added: Initial EXPERIMENTAL release of better_player_tizen for Tizen OS and Samsung Smart TVs using the native Tizen Multimedia C API.
better_player_tizenbetter_player_tizen for Tizen OS and Samsung Smart TVs using the native Tizen Multimedia <player.h> C API.capi-media-tool.better_playerpackages/better_player_tizen.Added: getAudioTracks method to BetterPlayerPlatform to retrieve audio tracks from the native player.
better_player_platform_interfacegetAudioTracks method to BetterPlayerPlatform to retrieve audio tracks from the native player.setSpeed to reflect the new 10.0 limit.better_player_androidgetAudioTracks implementation to query audio tracks from Media3 trackSelector.currentMappedTrackInfo.setAudioTrack matching logic to resolve multi-audio tracks by index and language when container tracks lack explicit labels.better_player_iosgetAudioTracks implementation to query audible options on AVPlayer's current media asset.4.0 to 10.0 in setSpeed.better_player_macosgetAudioTracks implementation to query audible options on AVPlayer's current media asset.4.0 to 10.0 in setSpeed.better_player_windowsgetAudioTracks implementation to query container and stream audio tracks from mpv track-list.4.0 to 10.0 in setSpeed.better_player_webgetAudioTracks implementation to query audio tracks from Shaka Player variant tracks and audio languages.better_playerBetterPlayerController.getAudioTracks() to discover and retrieve audio tracks from both HLS/DASH manifests and native container formats (MKV, MP4, WebM).4.0 to 10.0 across setSpeed().better_player_platform_interface to ^1.8.0, better_player_android to ^1.13.0, better_player_ios to ^1.13.0, better_player_linux to ^1.1.0, better_player_macos to ^1.8.0, better_player_web to ^1.6.0, and better_player_windows to ^1.5.0.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Updated: Upgraded androidx.media3 to 1.11.1, androidx.lifecycle to 2.11.0, androidx.annotation to 1.11.0, and androidx.work:work-runtime to 2.12.0.
better_player_androidandroidx.media3 to 1.11.1, androidx.lifecycle to 2.11.0, androidx.annotation to 1.11.0, and androidx.work:work-runtime to 2.12.0.androidx.media:media dependency and imports.better_player_iosDispatchSemaphore, made assetId strictly local per request to prevent race conditions, added thread-safe certificate caching with in-flight request deduplication, and scoped EZDRM URL path rewriting to EZDRM domains only. Non-EZDRM license servers now receive standard direct POST requests.better_player_macosDispatchSemaphore, made assetId strictly local per request to prevent race conditions, added thread-safe certificate caching with in-flight request deduplication, and scoped EZDRM URL path rewriting to EZDRM domains only. Non-EZDRM license servers now receive standard direct POST requests.better_player_webclearKeys (supporting both standard and Base64Url JWKs and hex keys) and servers['org.w3.clearkey'] (for license servers).better_playerBetterPlayerFeedController collection and lease methods. Replaced insertDataSources with insertAll({required int index, required List<PlayerDataSource> sources, List<String>? ids}), replaced replaceAt with replace({required int index, required PlayerDataSource dataSource, String? id}), replaced getLeaseNotifier(index) with leaseNotifier(index), and required named parameters on insert({required int index, required PlayerDataSource dataSource, String? id}). Removed unused feedConfiguration constructor parameter.onProgress parameter from PlayerEngineController.preCache (all pre-cache events flow through preCacheProgressStream).BetterPlayerFeedController (play, pause, togglePlay, isPlaying, activeController) and dynamic autoPlay property.jumpTo, next, previous) and collection helpers (add, addAll, positional removeAt, retry with default active index) on BetterPlayerFeedController.PlayerFeedConfiguration.autoPlay to feed playback and added PlayerFeedConfiguration.copyWith.BetterPlayerClearKeyUtils.generateKey preserving leading zero bytes in 16-byte DRM keys.better_player_android to ^1.12.0, better_player_ios to ^1.12.0, better_player_macos to ^1.7.0, and better_player_web to ^1.5.0.Updated: Aligned analysis options with root analysis_options.yaml and resolved linter warnings across models and tests.
better_player_platform_interfaceanalysis_options.yaml and resolved linter warnings across models and tests.better_player_androidanalysis_options.yaml to inherit root options and resolved static analysis lints.better_player_iosanalysis_options.yaml to inherit root options and resolved static analysis lints.better_player_linuxanalysis_options.yaml to inherit root options and resolved static analysis lints.better_player_macosanalysis_options.yaml to inherit root options and resolved static analysis lints.better_player_windowsanalysis_options.yaml to inherit root options and resolved static analysis lints.better_player_webanalysis_options.yaml to inherit root options and resolved static analysis lints.better_playerPlayerFeedConfiguration.errorBuilder, localized PlayerFeedErrorView, and BetterPlayerFeedController.retry.BetterPlayerFeedController (insertDataSources, removeAt, replaceAt, replaceAll) with stable item identifiers and PageView reactivity.BetterPlayerPool via releaseItem and reindex.BetterPlayerFeedController.metricsStream tracking time to first frame, preloading state, rebuffering stalls, and errors.PlayerEngineController, PlayerClosedCaption, and all core controller extensions (PlayerDataSourceExtension, PlayerEventsExtension, PlayerPlaybackExtension, PlayerPlaylistExtension, PlayerSubtitleExtension, PlayerTrackExtension, PlayerTranslationsExtension, PlayerViewStateExtension).package:flutter/material.dart and cupertino.dart imports with package:material_ui and package:cupertino_ui across controls and test suites.packages/better_player analysis options with root analysis_options.yaml, enabling strict lint rules including unawaited_futures, avoid_catches_without_on_clauses, and typed function callbacks while resolving issues across controls, HLS parsing, data sources, and tests.better_player_platform_interface to ^1.7.1, better_player_android to ^1.11.0, better_player_ios to ^1.11.1, better_player_linux to ^1.0.2, better_player_macos to ^1.6.1, better_player_web to ^1.4.1, and better_player_windows to ^1.4.2.Added: showExternalPlaybackPicker and externalPlaybackStream to BetterPlayerPlatform for native AirPlay, Cast, and Remote Playback routing.
better_player_platform_interfaceshowExternalPlaybackPicker and externalPlaybackStream to BetterPlayerPlatform for native AirPlay, Cast, and Remote Playback routing.better_player_iosAVRoutePickerView) and externalPlaybackActive KVO state stream.better_player_platform_interface dependency to ^1.7.0.better_player_macosAVRoutePickerView) and externalPlaybackActive KVO state stream.better_player_platform_interface dependency to ^1.7.0.better_player_webshowExternalPlaybackPicker) and connection state stream.better_player_platform_interface dependency to ^1.7.0.better_playerPlayerControlsConfiguration.enableAirPlay, BetterPlayerController.showAirPlayPicker(), BetterPlayerController.isExternalPlaybackSupported, and PlayerEventType.externalPlaybackChanged.PlayerCastExtension interface to integrate third-party casting backends without increasing core package size.better_player_platform_interface to ^1.7.0, better_player_ios to ^1.11.0, better_player_macos to ^1.6.0, and better_player_web to ^1.4.0.Fixed: Synchronized BetterPlayerApi.activity during activity configuration changes and removed duplicated screen capture protection logic.
better_player_androidBetterPlayerApi.activity during activity configuration changes and removed duplicated screen capture protection logic.better_player_iosisPlaying state so replay and post-completion seeks remain functional.UITextField.isSecureTextEntry hierarchy.FlutterPlatformView instances per platform view ID, skipping AVMutableVideoComposition for unrotated videos, and resolving video track dimensions before presentation size checks (#1632).implementAsListener), dispatching KVO observer updates to the main thread, tracking observedItem for observer removal, and cleaning up orphaned native players on initialization (#1632).better_player_macosgetVideoComposition, and kept observers attached after playback completion.sharingType = .readWrite) on plugin registration across hot restarts.better_player_windowsMpvEventId.endFile completion events to MpvEndFileReason.eof, restarted playback from 0.0 when play() is called after EOF, and preserved position on time-pos property query errors.dwidth/dheight) in CopyPixelBuffer to avoid black frames prior to first decode and unnecessary CPU scaling.dispose, clear, and plugin destruction by releasing mutex prior to tearing down player instances.CopyPixelBuffer to prevent allocating temporary frame buffers before first frame presentation.create() to prevent race conditions with newly initialized players.mpv_ffi bindings.better_player_linuxMpvEventId.endFile completion events to MpvEndFileReason.eof, restarted playback from 0.0 when play() is called after EOF, and preserved position on time-pos property query errors.toFilePath() to prevent invalid file paths on Linux.CopyPixels to prevent allocating temporary frame buffers before first frame presentation.create() to prevent race conditions with newly initialized players.better_playerPlayerPoolLease eviction listeners, release callbacks, and lifecycle states.BetterPlayerPool and BetterPlayerFeedController.PageController lifecycle in BetterPlayerFeedController.PlayerEngineController on platform seek events.PlayerAsmsUtils to handle transient network drops.better_player_android to ^1.10.1, better_player_ios to ^1.10.1, better_player_macos to ^1.5.1, better_player_windows to ^1.4.1, and better_player_linux to ^1.0.1.Added: setScreenCaptureProtection method to BetterPlayerPlatform to toggle native window/screen capture prevention.
better_player_platform_interfacesetScreenCaptureProtection method to BetterPlayerPlatform to toggle native window/screen capture prevention.better_player_androidFLAG_SECURE window flag.better_player_platform_interface to ^1.6.0.better_player_iosUIScreen.capturedDidChangeNotification.better_player_platform_interface to ^1.6.0.better_player_macosNSWindow.sharingState.better_player_platform_interface to ^1.6.0.better_player_windowsSetWindowDisplayAffinity (WDA_EXCLUDEFROMCAPTURE).better_player_platform_interface to ^1.6.0.better_playerPlayerSecurityExtension and BetterPlayerExtension interface (#1622).FLAG_SECURE, iOS UIScreen capture guard, macOS NSWindow.sharingState, and Windows SetWindowDisplayAffinity).better_player_plus and legacy forks to Better Player 1.x.better_player_platform_interface to ^1.6.0, better_player_android to ^1.10.0, better_player_ios to ^1.10.0, better_player_macos to ^1.5.0, and better_player_windows to ^1.4.0.Added: Initial Linux implementation powered by libmpv and Flutter's FlPixelBufferTexture.
better_player_linuxbetter_playerbetter_player_linux powered by libmpv and Flutter's FlPixelBufferTexture.Fixed: Forwarded HTTP headers from DataSource to native wrapper in setDataSource to support authenticated network streams.
better_player_macosDataSource to native wrapper in setDataSource to support authenticated network streams.better_player_windowsTextureBridge::Dispose() by unregistering textures outside mutex lock.hwdec=auto-safe) in mpv initialization.decryption_key.bufferingConfiguration by configuring demuxer-readahead-secs and demuxer-cache-wait.overriddenDuration when loading data sources and on property updates.track-list.libmpv.so.2, libmpv.so.1, libmpv.so) in MpvBindings.better_player_webBetterPlayerWeb.preCache method signature with BetterPlayerPlatform in better_player_platform_interface 1.5.0.better_player_platform_interface dependency to ^1.5.0.better_playerlibmpv), matching Android support.VideoEventType.seek echo in PlayerEngineController to prevent infinite seek re-trigger loops when seeking from Dart.PlayerDataSource.copyWith when switching resolutions.PlayerMaterialVideoProgressBar, PlayerCupertinoVideoProgressBar, and PlayerSubtitlesDrawer.PlayerTrackExtension.setResolution to prevent runtime crash.asmsSegmentsLoading in a finally block.skipForward, safeguarded teardown in PlayerCupertinoControls, and eliminated ConcurrentModificationError during event dispatch.RangeError on invalid index in BetterPlayerPlaylistController.setupDataSource and disposed internal BetterPlayerController on teardown.better_player_macos to ^1.4.1, better_player_web to ^1.3.1, and better_player_windows to ^1.3.0.cupertino_icons dependency constraint to ^2.0.0.Added: PreCacheProgress model, preCacheProgressStream broadcast stream, and onProgress callback on BetterPlayerPlatform.preCache.
better_player_platform_interfacePreCacheProgress model, preCacheProgressStream broadcast stream, and onProgress callback on BetterPlayerPlatform.preCache.better_player_androidCacheWorker via BetterPlayerPreCacheCallback.better_player_iosCacheManager via BetterPlayerPreCacheCallback.better_player_macosCacheManager via BetterPlayerPreCacheCallback.implementAsListener), resetting the native log callback, safely extracting orphaned player IDs, and clearing callbacks before resource teardown (#1617).better_playeronProgress callback parameter on BetterPlayerController.preCache and preCacheProgressStream broadcast stream.showControlsOnInitialize is false by preventing playback events from triggering visibility timers in PlayerWebControls (#1616).better_player_platform_interface to ^1.5.0, better_player_android to ^1.9.0, better_player_ios to ^1.9.0, and better_player_macos to ^1.4.0.Fixed: Added fallback matching by displayName, language, and index in setAudioTrack to support HLS audio tracks lacking common title metadata.
better_player_iossetAudioTrack to support HLS audio tracks lacking common title metadata.better_player_macossetAudioTrack to support HLS audio tracks lacking common title metadata.better_player_windowsaid property and disable audio with 'no'.hls-bitrate property configuration in setTrackParameters.seek and bufferingUpdate (from demuxer-cache-time) event emissions and use display dimensions dwidth/dheight for video sizing.TextureBridge to avoid native callback race conditions during shutdown.better_player_webPlatformException to the event stream to prevent infinite loading state on 404 and network errors.assets/ prefix fallback and wrap manifest loading in try-catch to report load failures cleanly.better_playersetControlsVisibility(false), and rendered overflowMenuCustomItems in PlayerWebControls.controlsVisibilityStream when calling setControlsEnabled(true) (#1609).routePageBuilder custom overlays by starting the hide timer on mouse exit instead of immediately hiding controls (#1605).PlayerWebControls with an in-place drill-down settings menu on Web, macOS, and Windows.PlayerTranslations.No MaterialLocalizations found crash when opening the player about dialog from custom or misconfigured host apps by scoping localizations and styling the dialog with the player's dark cinema theme.better_player_example overview hero player with an initial video placeholder image and persistent playback controls.media_kit covering binary size savings, native OS engines, API mapping, and playback controls.better_player_ios to ^1.8.0, better_player_macos to ^1.3.0, better_player_windows to ^1.2.0, and better_player_web to ^1.3.0.Fixed: Respected PlayerControlsConfiguration enable flags and controlsEnabled state in PlayerWebControls on desktop and web (#1599).
better_player (1.25.0)PlayerControlsConfiguration enable flags and controlsEnabled state in PlayerWebControls on desktop and web (#1599).PlayerSubtitlesDrawer (#1066).#EXT-X-MEDIA:TYPE=CLOSED-CAPTIONS tags in HLS playlists to generate PlayerSubtitlesSourceType.embedded tracks.PlayerWebControls to the settings button instead of the bottom-right viewport boundary.controlsVisibilityStream on overlay state changes across Material, Cupertino, Web, and custom controls (#1596).isControlsVisible on BetterPlayerController to inspect current overlay visibility state.PlayerWebControls.better_player_platform_interface to ^1.4.0, better_player_android to ^1.8.0, better_player_ios to ^1.7.0, better_player_macos to ^1.2.0, better_player_windows to ^1.1.0, and better_player_web to ^1.2.0.better_player_platform_interface (1.4.0)captionUpdate event type and captions payload on VideoEvent for decoded subtitle and caption cues.setTextTrack method to BetterPlayerPlatform to select or disable native text and caption tracks.better_player_android (1.8.0)setTextTrack method on BetterPlayer and TrackSelectionOverride on ExoPlayer text renderer for embedded closed captions (#1066).onCues callback on BetterPlayerCallback emitting decoded cues from Media3 CueGroup.better_player_ios (1.7.0)setTextTrack method on BetterPlayer to select or disable legible media selection group tracks in AVPlayerItem (#1066).AVPlayerItemLegibleOutput push delegate and onCues callback on BetterPlayerCallback emitting parsed subtitle cues.better_player_macos (1.2.0)setTextTrack method on BetterPlayer to select or disable legible media selection group tracks in AVPlayerItem (#1066).AVPlayerItemLegibleOutput push delegate and onCues callback on BetterPlayerCallback emitting parsed subtitle cues.better_player_windows (1.1.0)setTextTrack method on MpvPlayer to select or disable subtitle and closed caption tracks via mpv sid property (#1066).sub-text property observer emitting captionUpdate events with active subtitle lines.better_player_web (1.2.0)setTextTrack method on BetterPlayerWebPlayer using Shaka Player selectTextLanguage and setTextTrackVisibility for embedded text tracks (#1066).TextTrack cue change listener emitting captionUpdate events with active cues.API Deprecations: Marked legacy BetterPlayerListVideoPlayer and BetterPlayerListVideoPlayerController as @Deprecated in favor of BetterPlayerFeed and…
better_player (1.24.0)BetterPlayerFeed): Vertical and horizontal swipe feeds backed by Flutter's PageView, featuring automatic page snapping, offscreen disposal, and controller leasing.BetterPlayerPool): Bounded controller capacity with distance-based LRU slot eviction and lookahead preloading (prepared and muted modes) to prevent hardware decoder exhaustion in infinite feeds.BetterPlayerFeedPage) and refactored ReusableVideoListPage to use BetterPlayerPool.BetterPlayerListVideoPlayer and BetterPlayerListVideoPlayerController as @Deprecated in favor of BetterPlayerFeed and BetterPlayerPool.PlayerBrandingExtension.Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.23.2...1.24.0
BetterPlayerFeed and BetterPlayerFeedController for high-performance vertical and horizontal swipe video feeds with PageView integration.BetterPlayerPool with bounded controller capacity, distance-based slot eviction, and lookahead/lookbehind preloading (prepared and muted modes) to prevent hardware decoder exhaustion in infinite feeds.better_player_example with vertical swipe video feed page (BetterPlayerFeedPage) and modernized ReusableVideoListPage using BetterPlayerPool.BetterPlayerListVideoPlayer and BetterPlayerListVideoPlayerController in favor of BetterPlayerFeed and BetterPlayerPool.Modernized Example App UI: Full Material 3 overhaul with responsive navigation (NavigationRail on web/desktop, NavigationBar on mobile), dark/light th
better_player (1.23.2)NavigationRail on web/desktop, NavigationBar on mobile), dark/light theme switching, and refreshed demo headers.PlatformNoteCard) for DRM, DASH, RTSP, and PiP.better_player_platform_interface (1.3.4)better_player_example with Material 3 responsive layout (NavigationRail on desktop/web, NavigationBar on mobile), unified title branding to Better Player, theme mode switcher, and refreshed demo page headers and descriptions.better_player_example: replaced infinite loading spinner for local files on Web with informative sandbox notice, loaded memory video bytes directly via asset bundle across all platforms, guarded DRM/ClearKey/DASH/RTSP/PiP against unsupported OS environments, and added PlatformNoteCard compatibility indicators.Fixed: Migrated from deprecated shaka.Player(mediaElement) constructor to shaka.Player.attach(mediaElement).
better_player_androidbetter_player_iosbetter_player_macosbetter_player_windowsbetter_player_webshaka.Player(mediaElement) constructor to shaka.Player.attach(mediaElement).maxAttempts, timeout, stallTimeout) for streaming segments and manifests to prevent network timeout errors (1003).play() and pause() against redundant invocations when videoElement is already in the requested state.BetterPlayerWebPlayer.initialize() asynchronous to guarantee attachment before playback operations.better_playerbetter_player_android to ^1.7.1, better_player_ios to ^1.6.1, better_player_macos to ^1.1.1, and better_player_windows to ^1.0.1.Added: BetterPlayerExtension contract and extensions parameter on PlayerConfiguration for pluggable capability modules.
BetterPlayerExtension contract and extensions parameter on PlayerConfiguration for pluggable capability modules.better_player_web to ^1.1.4 with Shaka Player attach lifecycle migration and resilient retry configuration.BetterPlayer/Web instead of misidentifying host OS via defaultTargetPlatform.Updated: Defaulted controls to desktop theme and synchronized with core player 1.22.0.
better_player_macosbetter_player.ttml, .dfxp, .xml) subtitle format support across file, network, memory sources, and DASH manifests with style inheritance, colors, regions, and frame rate calculation (#1213).better_player_macos to ^1.1.0 with desktop controls integration.feat(windows): scaffold better_player_windows package by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1583
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.20.0...1.21.0
libmpv with software rendering via federated package better_player_windows.PlayerTheme.desktop.Added: Initial release of better_player_macos with native AVPlayer playback, AppKitView rendering, FFI bindings, and FairPlay DRM support.
better_player_macosbetter_player_macos with native AVPlayer playback, AppKitView rendering, FFI bindings, and FairPlay DRM support.better_playerbetter_player_macos.pause in BetterPlayerController.dispose, and guarded BetterPlayerListVideoPlayerController against calling seekTo or play before initialization completes.fix: port community PR fixes ( #866 , #872 , #990 , #1041 , #1135 , #1206 ) …
<AdaptationSet> nodes that specify contentType or child <Representation> mimeType instead of an <AdaptationSet> mimeType attribute, and kept manifest audio tracks selected when language is omitted (#872) (by @rounce).enterFullScreen when already in fullscreen and restored controls visibility on AppLifecycleState.resumed when returning from Picture-in-Picture on Android (#866) (by @aeonmine).Fixed: Guarded DurationRange.startFraction and DurationRange.endFraction against zero or negative durations to prevent NaN/Infinity exceptions.
better_player_platform_interfaceDurationRange.startFraction and DurationRange.endFraction against zero or negative durations to prevent NaN/Infinity exceptions.better_player_androidpackageManager.getLaunchIntentForPackage by default and supported fully qualified activityName values (#1138).file:// URIs and proper bitmap bounds sampling when loading local notification images in ImageWorker (#883).sendBufferingUpdate emission during position polling and playback readiness so buffered progress updates on the seekbar.better_player_iosappliesMediaSelectionCriteriaAutomatically = false) on AVPlayer to prevent duplicate subtitles on iOS (#1103).better_player_webbetter_player_platform_interface version bump.better_playersetPlayerSubtitlesConfiguration on BetterPlayerController to dynamically update subtitle styling at runtime (#1141).NaN and Infinity errors in progress bars and aspect ratio calculations when media duration or size is zero (#1157, #1044, #901, #884).BetterPlayerPlaylistController (#1037).playerVisibilityChangedBehavior callback even when handleLifecycle is false (#939).setPlayerControlsConfiguration is called (#1000).Uri.resolve and forwarded data source headers when fetching HLS subtitle playlists (#992).controlsConfiguration.backgroundColor to the fullscreen Scaffold in PlayerFullScreenVideo (#1054).PlayerEventType.exception when runtime errors occur on the video event stream after initialization (#1014).asmsTrackNames in the quality selection menu when the Auto track is present (#1352).PlayerWebControls from triggering the video area's double-tap fullscreen gesture, and ensured PlayerWebControls acquires keyboard focus for shortcuts.PlayerEngineController against post-dispose platform calls and ValueNotifier updates when disposed mid-initialization, and prevented duplicate event listeners on BetterPlayerPlaylistController.setupDataSourceList.PlayerEngineController.seekTo when already playing so the seekbar continues advancing after skip forward/backward or tap-to-seek.PlayerSubtitlesDrawer when controls are visible so subtitles do not overlap the bottom control bar, and preserved zero-based WebVTT cues when X-TIMESTAMP-MAP specifies LOCAL:00:00:00.000.PlayerControllerEvent.setupDataSource fires after setup completes, preventing the video texture from staying hidden on initial autoPlay.[BREAKING_CHANGE] Updated: Standardized class and file naming by replacing the BetterPlayer prefix with Player across internal widgets and utilities (
better_playerBetterPlayer prefix with Player across internal widgets and utilities (including exported PlayerAsmsUtils and PlayerUiUtils; automatable via dart fix --apply).Added: Bundled better_player-usage Dart package skill (skills/better_player-usage/) with 1.x setup, controls, DRM, subtitles, caching, playlist, and m
better_player-usage Dart package skill (skills/better_player-usage/) with 1.x setup, controls, DRM, subtitles, caching, playlist, and migration references for AI coding agents.setupDataSource call is superseded by a newer data source, and added semantics container/identifier to BetterPlayerWebErrorWidget.Fixed: Modernized iOS Cupertino controls UI styling and scrubber ergonomics.
better_player_iosbetter_playerFixed: Resolved various documentation inconsistencies where properties were either missing, misassigned, or misspelled across general_configuration.md
better_playergeneral_configuration.md, controls_configuration.md, data_source_configuration.md, and subtitles_configuration.md.Fixed: Resolved Android cache clearing failure and OutOfMemory bugs by properly delegating clearCache() to ExoPlayer's SimpleCache.removeResource().
better_player_androidclearCache() to ExoPlayer's SimpleCache.removeResource().enterPictureInPictureMode to prevent crashes when the activity is not in a valid state for PiP.better_player_iosmp4 in CacheManager for streams with unknown extensions.NSError details in FlutterError payload for AVPlayerItem failures.better_playerenableReplay to BetterPlayerControlsConfiguration to allow hiding the replay button when a video finishes.startAt configuration on Android when showNotification is enabled (#1024).PlayerEventType.pipStart and PlayerEventType.pipStop) are now properly emitted on Android when PiP is toggled programmatically via enablePictureInPicture and disablePictureInPicture.PlayerEngineController was used after being disposed by aborting background initialization when the controller is destroyed.Updated: Updated doc comment for setSpeed to reflect the new 4.0 limit.
better_player_platform_interfacebetter_player_androidsetVideoChangeFrameRateStrategy.better_player_ios.timeDomain pitch algorithm.better_player_webbetter_playerPlayerControlsConfiguration.playbackSpeeds (defaults to 0.25 - 2.0).BetterPlayerController.setAndroidMatchFrameRate(bool).playPreviousVideo() method to BetterPlayerController and BetterPlayerPlaylistController to support playlist backward navigation.BetterPlayerController.currentVideoSize getter to retrieve the runtime dimensions of the currently playing stream rendition.PlayerLogger to include textureId in logs, facilitating better debugging for multi-player scenarios.Added: Supported RTSP streaming on Android via androidx.media3:media3-exoplayer-rtsp.
better_player_androidandroidx.media3:media3-exoplayer-rtsp.better_playerandroidx.media3:media3-exoplayer-rtsp.rtsp_page.dart example to fix compilation errors.pubspec.yaml descriptions and topics across all packages for better pub.dev discoverability.README.md and documentation to include AI agent guidelines, llms.txt, and competitor comparisons.changedPlaylistItem event on playlist video change.setResolution() by sequencing setupDataSource controller events.controlsHideTime not respected in Material and Cupertino controls (#1278).metadataReady event to signal when all adaptive tracks and subtitles are fully parsed and available (#1370).onDoubleTap in player controls to eliminate the 300ms single-tap lag when no custom double-tap gesture is provided.controlsHideTime) and transition animation duration (controlsTransitionTime) to prevent instantaneous hiding of controls.Added: WebVTT metadata block parsing support for NOTE, STYLE, and REGION headers.
better_playerNOTE, STYLE, and REGION headers.X-TIMESTAMP-MAP blocks with 33-bit MPEG-TS rollover timing adjustment corrections.align:left, align:right, align:center).RichText stacks.Fixed: Resolved "No MaterialLocalizations found" and "No CupertinoLocalizations found" errors when opening the overflow menu by injecting localized ty
better_player_platform_interfacebetter_player_androidbetter_player_iosbetter_player_webbetter_playeroverflowMenuCancelLabel, overflowMenuScrimLabel, and overflowMenuScrimHint to PlayerTranslations for better localization of menu actions.# Release 1.8.1 ### better_player (1.8.1) - Updated: package metadata ### better_player_android (1.3.1) - Updated: package metadata ### better_player_
chore: bump version to 1.8.0 and update dependencies
chore: bump version to 1.8.0 and update dependencies (#1514)
PlayerDataSource.drmSecurityLevel configuration for Android and Web.customControlsBuilder requires playerTheme to be set to PlayerTheme.custom.better_player_android, better_player_ios, better_player_platform_interface, and better_player_web.drmSecurityLevel to DrmConfiguration to support Widevine L1 on Android and video robustness on Web.androidx.media3 version from 1.1.1 to 1.11.0.minSdkVersion to 24.androidx.media:media to 1.7.0.sessionCompatToken) introduced in the Media3 upgrade.drmSecurityLevel to enable Widevine L1 playback.drmSecurityLevel mapping to Shaka Player's videoRobustness.chore: add missing LICENSE to better_player_web package by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1502
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.6.0...1.7.0
PlayerEngineController from dart:io. setFileDataSource now accepts a String filePath instead of a File object.dart:io imports that prevented web compilation.Feat/better player web by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1499
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.5.1...1.6.0
Shaka Player.e2e directory and updated all configuration and workflow paths.BetterPlayerAsmsUtils, PlayerSubtitlesFactory, and BetterPlayerHlsUtils network test failures by adding injectable http.Client for testing.better_player_cupertino_controls_test.dart failure by using proper widget interaction and pumping.Feat/cupertino controls fixes by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1498
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.5.0...1.5.1
chore: refactor widget helper methods to comply with project standards by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1496
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.4.0...1.5.0
BetterPlayerController by segregating internal state variables into immutable data classes (PlayerViewState, PlayerSubtitleState, PlayerTrackState, PlayerPlaybackState), improving architectural scalability.Widget _build...()) into inline Builder patterns and proper StatelessWidget classes to strictly comply with project standards, specifically across UI controls, route builders, and example apps.PlayerEventConstants and exported them in the main library interface for easier external subscription handling.Feat/add examples to packages by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1492
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.3.0...1.4.0
fix_data.yaml for deprecated VideoPlayerController types.README.md files.videoPlayerValue in progress bars during drag and tap gestures.Docs/documentation audit by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1489
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.2.0...1.3.0
PlayerLogger, featuring native-to-Dart log streaming, automatic caller/tag derivation, and comprehensive internal logs.fix: refactor by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1488
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.1.1...1.2.0
seekTo in BetterPlayerController and VideoPlayerController to prevent crashes when called before full initialization.VideoPlayerController to use event stream for initialization tracking, improving robustness and fixing race conditions during data source setup.VideoPlayerController where error descriptions were not correctly assigned to the player state.chore: prepare 1.1.1 release and fix pub score by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1486
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.1.0...1.1.1
fix_data.yaml syntax error preventing downgrade analysis.[!code focus] annotations from migration docs.Refactor: Unified model names by removing 'Better' prefix.
Feat/decouple example by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1484
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.0.0...1.0.1
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.0.0...1.0.0
Full Changelog: https://github.com/jhomlala/betterplayer/compare/1.0.0...1.0.0
better_player_android and better_player_ios.better_player_platform_interface (e.g., deleted PlayerDataSourceType, renamed BetterPlayerUtils to BetterPlayerUiUtils).isPictureInPictureEnabled to isPictureInPictureSupported across the platform interface and core controller.Added: Semantic identifiers across player controls, UI components, and resolution selection items for robust E2E testing.
docs: mark Swift and SPM migrations as breaking changes by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1467
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.7.1...0.8.0
fix: embedded HLS subtitles rendering by correcting segment timing and JIT loading logic by @jhomlala in https://github.com/jhomlala/betterplayer/pull
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.7.0...0.7.1
assets/media/.fix: dynamic resolution resizing for adaptive streams and update example app by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1450
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.6.1...0.7.0
changedSize event for both Android and iOS to update player dimensions during playback, fixing the issue where video container does not resize when resolution changes dynamically.fix(android): duration reports zero for VOD streams when ExoPlayer resolves it after STATE_READY by @jhomlala with @Copilot in https://github.com/jhom
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.6.0...0.6.1
OrientationBuilder.assets/media/ and added assets/pub/ for pub.dev screenshots and logo.C.TIME_UNSET value and delaying the initialized event until a valid duration is available via onTimelineChanged.Change Android package name and namespace to pl.hasoft.better_player by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1441
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.5.0...0.6.0
pl.hasoft.better_player.video_player and chewie to better_player.Refactor: Replace helper build methods with dedicated Widget classes by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1440
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.4.3...0.5.0
_buildWidget()) were replaced with dedicated Flutter Widget classes for improved modularity, performance, and maintainability.Fix/doc typos grammar by @jhomlala in #1437
Full Changelog: 0.4.2...0.4.3
docsify-plugin-flexible-alerts plugin.* Migrate to Built-in Kotlin and bump version to 0.4.0
Update example app with stable video URLs
Update example app with stable video URLs (#1430)
* Update example app with stable video URLs and bump version to 0.2.2
* Add GlobalCupertinoLocalizations delegate to fix pl_PL support warning
* Fix localization support for pl_PL by using GlobalMaterialLocalizations.delegates from flutter_localizations
* Fix localization issue by using standard MaterialApp and combining delegates from flutter_localizations and material_ui
* Update AGENTS.md: Specify that tags must not use 'v' prefix
* Restore full CHANGELOG.md history and organize new fixes under Unreleased
* Update AGENTS.md with Proactive Refactoring rule
* Update AGENTS.md: include iOS in proactive refactoring standards
* Update example app name to 'Better Player Example'
* Re-update example constants with stable URLs and improved subtitles
* Fix 403 error by reverting to commondatastorage.googleapis.com for GTV samples
* Update CHANGELOG with 403 fix
* Revert version bump to 0.4.0 and move fixes to Unreleased section
* Update AGENTS.md with rules against unilateral versioning and troubleshooting tips
* Replace Big Buck Bunny URL with reliable jsDelivr CDN link
* Consolidate changelog entries and update AGENTS.md guidelines
* Update elephantDreamVideoUrl to reliable jsDelivr CDN link
* Update elephantDreamVideoUrl with a working Elephants Dream video from Xiph.org
* Update elephantDreamVideoUrl with a stable link from Archive.org
* Update Event Listener and Controls Configuration pages to use reliable Big Buck Bunny URL
* Update resolutions example to use stable MP4 URLs for quality switching
* Consolidate changelog and update playlist with reliable videos
* Update video list and elephant dream constant with reliable CDN link
* Remove troubleshooting section from AGENTS.md
* Update example video URLs with stable lorem.video sources
* Fix auto fullscreen orientation example by adding truly vertical video and triggering fullscreen on button tap
* Fix layout overflow in auto fullscreen orientation example by wrapping in SingleChildScrollView
* Update vertical and horizontal video URLs for auto fullscreen orientation example
* Update vertical video URL to a stable GitHub source
* Enable Picture-in-Picture support in AndroidManifest.xml
* Fix layout overflow in Picture-in-Picture example by wrapping in SingleChildScrollView
* Fix disablePictureInPicture on Android: restore activity to front instead of moving task to back
* Revert PiP restoration logic and add check for active PiP mode in enablePictureInPicture
* Add PiP active check to disablePictureInPicture on Android
* Update DRM test streams with stable working mirrors for Widevine and FairPlay
* Update dashStreamUrl with a reliable DASH test stream from Shaka Demo assets
* Update dashStreamUrl with a comprehensive DASH-IF test stream (Multi-Audio/Video/Subs)
* Update AGENTS.md: Always run format and analyze in both root and example directories
* Revert version to 0.4.0, update install docs, and finalize PiP and DRM fixes
[BREAKING_CHANGE] Added: Support for Built-in Kotlin.
[BREAKING_CHANGE] Migrated to Flutter 3.47.0.
material_ui and cupertino_ui packages.compileSdkVersion to 36 in Android.Added: .pubignore to exclude media/ and AGENTS.md from the published package.
.pubignore to exclude media/ and AGENTS.md from the published package.README.md to remove outdated migration information.prefer_if_elements_to_conditional_expressions lint warnings in Material controls.[BREAKING_CHANGE] Updated: iOS to Swift Package Manager (SPM). Native source files moved from ios/Classes to ios/better_player/Sources.
ios/Classes to ios/better_player/Sources.build.gradle using the plugins {} block. Removed legacy kotlin-android apply plugin.very_good_analysis to 10.3.0 and addressed new linting rules.xml dependency to 7.0.0.meta dependency to 1.18.0.Fix/critical features by @jhomlala in https://github.com/jhomlala/betterplayer/pull/1424
Full Changelog: https://github.com/jhomlala/betterplayer/compare/0.0.82...0.1.0
very_good_analysis (VGV).[BREAKING_CHANGE] Updated min. Flutter version to 3.3.0 and min. Dart version to 3.0.0.
* Updated dependencies * Fixed Flutter 3.0 issues
One column per quarter.