- Updated dependencies
- Fixed Flutter 3.0 issues
- Updated ExoPlayer version to 2.17.1.
- Updated dependencies.
- Android native code refactor.
- Fixed full screen button padding in material controls.
- Added
setBetterPlayerControlsConfiguration
inBetterPlayerController
. - Added
setOverriddenFit
inBetterPlayerController
.
- Removed pedantic dependency.
- Updated dependencies.
- Fixed controls render issue for small player (by https://github.com/admarwick)
- Fixed deprecated jCenter. Replaced jCenter with mavenCentral (by https://github.com/petoknm)
- Fixed iOS GCDWebServer and PINCache import issue (by https://github.com/twogood)
- Added is mounted check in player controls (by https://github.com/masoudk2000)
- Updated installation documentation page.
- Fixed kotlin version issue.
- [BREAKING_CHANGE] Split controlsHidden into controlsHiddenStart and controlsHiddenEnd.
- [BREAKING_CHANGE] Added to Function(bool) onPlayerVisibilityChanged to customControlsBuilder in [BetterPlayerConfiguration].
- Migrated android native code to Kotlin.
- Updated ExoPlayer version to 2.15.1.
- Updated screenshots.
- Added onTapDown handle for material and cupertino progress bar to handle show and hide of controls.
- Fixed crash related to Android 12.
- Fixed issue with full url of subtitle for HLS data source.
- Fixed install page from docs.
- Fixed one of the showcase images.
- Fixed video in list example.
- Fixed full screen safe area issue in cupertino controls.
- Fixed subtitles duplication after changing data source.
- Fixed progress bar issues when changing position of the video.
- [BREAKING_CHANGE] Changed min. Flutter version to 2.2.3.
- Changed log level in ExoPlayer to Error.
- Added url parameter for changedResolution event.
- Added [videoExtension] support for network data source for scenario where video source has no extension and cache manager requires it.
- Added parameters to [changedTrack] event.
- Added [changedPlaylistItem] event.
- Added [autoDetectFullscreenAspectRatio] parameter in [BetterPlayerConfiguration] (by https://github.com/Brazol)
- Updated license.
- Updated screenshots.
- Fixed iOS build issue.
- [BREAKING_CHANGE] Changed min required iOS version to 11.
- Updated
BetterPlayerConfiguration
copyWith
method. - Added
useRootNavigator
option toBetterPlayerConfiguration
.
- Fixed iOS build issue.
- [BREAKING_CHANGE]
nextVideoTimeStreamController
is now marked as private. Please usenextVideoTimeStream
to access stream. - [BREAKING_CHANGE] Removed BackdropFilter from cupertino theme.
- [BREAKING_CHANGE] Removed
sigmaX
andsigmaY
parameters from BetterPlayerControlsConfiguration. - Added
expandToFill
inBetterPlayerConfiguration
. - Added
BetterPlayerControlsConfiguration.theme
factory forBetterPlayerControlsConfiguration
. - Added null checks in seek commands in
BetterPlayerControlsState
. - Added tests.
- Added iOS HLS caching based on HLSCachingReverseProxyServer.
- Added default subtitle support for ASMS HLS data source (by https://github.com/siloebb).
- Fixed issue with live stream where player controls were always visible.
- Fixed iOS seek issue.
- Fixed getting started button link in documentation.
- Changed iOS non-HLS caching implementation based on https://github.com/neekeetab/CachingPlayerItem (by https://github.com/themadmrj).
- Fixed hardcoded 30 FPS on iOS (by https://github.com/antonkrasov).
- Enabled
preCache
andstopPreCache
for iOS. - Updated dependencies.
- Added
licenseUrl
support for iOS DRM. - Fixed RTL text direction issue in player controls.
- Added
renderedSubtitle
inBetterPlayerController
. - Added additional check in
postControllerEvent
to handle scenario where event stream is closed. - Updated ExoPlayer version
- Fixed
bufferingUpdate
event triggered too often. - Updated video list example with bufering configuration.
- Updated video list documentation.
- Added
setMixWithOthers
method inBetterPlayerListVideoPlayerController
. - Fixed broken link in cover page of documentation.
- Fixed progress bar issue where position could be set above video duration.
- Fixed iOS remote notification command issue.
- Removed duplicated page in example app (by https://github.com/pinguluk)
- Added support for clear key DRM (by https://github.com/tinusneethling)
- Refreshed look and feel of the player UI (by https://github.com/creativeblaq)
- Added
sigmaX
andsigmaY
parameters in BetterPlayerControlsConfiguration to control blur of cupertino controls (original idea by: https://github.com/YeFei572)
- Updated ExoPlayer version
- Fixed play after seeking issue on iOS.
- Fixed audio track selection issue on iOS/Android.
- Fixed issue where speed which couldn't be applied on iOS was saved in player state.
- Added support for D-pad navigation using a Android TV remote control (by https://github.com/danielz-nenda)
- Added
BetterPlayerMultipleGestureDetector
to handle problems with gesture detection - Expose getter for
eventListeners
inBetterPlayerController
(by https://github.com/Letalus) - Updated documentation
- Updated dependencies
- Fixed file data source exception. Right now user will be only warned.
- Fixed playback speed after seek in iOS.
- Fixed
overriddenDuration
behavior in iOS when passedoverriddenDuration
is longer than video duration. - Fixed issue where controls were not updated after video finish.
- Fixed auto full screen orientation not enabled in iOS.
- Exposed ASMS classes.
- Exposed BetterPlayerControlsState to provide ways to build custom controls with additional menus.
- Added error handling for CacheWorker to prevent unexpected crashes.
- Added support for FairPlay EZDRM (by https://github.com/adrianByv and https://github.com/koldo92)
- Added
certificateUrl
parameter in BetterPlayerDrmConfiguration. - Added support for custom buffering configuration in Android (by https://github.com/Letalus)
- Added
bufferingConfiguration
parameter in BetterPlayerConfiguration which contains buffering settings.
- Fixed cache clear on Android.
- Added file check for file data source.
- Fixed issue with black screen for some videos on iOS (by https://github.com/themadmrj)
- Fixed iOS eventSink issues. (by https://github.com/alextekartik)
- Added key parameter in BetterPlayerCacheConfiguration to provide way to re-use same video between app sessions.
- Added support for segmented subtitles.
- Added new fields in in BetterPlayerSubtitlesSource:
asmsIsSegmented
,asmsSegmentsTime
andasmsSegments
. These fields shouldn't be configured manually. - Fixed parsing VTT subtitle timestamps with no hour component (by https://github.com/trms-alex).
- Fixed parsing VTT subtitles when there's no subtitles in the file (by https://github.com/trms-alex).
- Added ES translations (by https://github.com/koldo92).
- Fixed iOS Picture in Picture play/pause state.
- Updated dependencies.
- Updated iOS example configuration.
- Added support for DASH adaptive stream subtitles, audio tracks, tracks (by https://github.com/adrianByv)
- [BREAKING_CHANGE] Changed useHlsSubtitles, useHlsTracks, useHlsAudio to useAsmsSubtitles, useAsmsTracks, useAsmsAudio.
- Added DASH example.
- Fixed progress bar jumps when seeking video.
- Fixed end of video looping final second, and video stutter during AudioSession deactivation (by https://github.com/NicholasNagy)
- Added check in seek method to handle scenario when video wasn't ready to play.
- Added setupDataSourceList in BetterPlayerPlaylistController.
- Fixed playback stalled issue in iOS.
- Added pause on iOS dispose call.
- Added bufferedStart, bufferedUpdate, bufferedEnd events.
- Fixed full screen dismissed when new data source loaded.
- Added forget option for VisibilityDetectorController (by https://github.com/ChopinDavid).
- Added vietnamese translations (by https://github.com/thanhvn-57).
- Refactored Android notification image selection.
- Added headers parameter in BetterPlayerSubtitlesSource. Headers is an optional parameter.
- Added activityName to BetterPlayerNotificationConfiguration.
- Android notification will open back application (by https://github.com/shashikantdurge).
- Fixed playing audio-only resources in iOS.
- Updated Exo Player version.
- Fixed notification not updating correctly for playlists in Android.
- [BREAKING_CHANGE] Removed deprecated Android code. Better Player supports now only v2 embedding.
- Added Turkish translations (by https://github.com/smurat).
- Video fit fixes (by https://github.com/themadmrj).
- Fixed speed iOS issue.
- Fixed Android's notification image OOM issue.
- Fixed 0 second delay issue in playlist.
- Fixed drmHeaders to be sent in headers rather than request body (by https://github.com/FlutterSu)
- Added preCache, stopPreCache method in BetterPlayerController (coauthored with: https://github.com/themadmrj)
- [BREAKING_CHANGE] clearCache method doesn't require to setup data source in order to use.
- Fixed pause method in dispose.
- Added clearCache method in BetterPlayerController.
- Fixed reusable video player example issues.
- Refactored internal event handling.
- [BREAKING_CHANGE] Migrated to null safety.
- [BREAKING_CHANGE] Updated dart min version to 2.12.0.
- Fixed issue where player controls were immediately hidden.
- Removed cancelFullScreenDismiss parameter.
- Added initialization check for VideoPlayerController.
- Changed default value of enableProgressText to true in BetterPlayerControlsConfiguration.
- Setup first selected HLS Audio as default one.
- General bug fixes.
- Fixed fullscreenByDefault issue.
- Updated documentation.
- Updated documentation.
- Added null checking for videoPlayerController inside BetterPlayerController.
- Added setMixWithOthers method to BetterPlayerController.
- Added initialStartIndex in BetterPlayerPlaylistConfiguration.
- Fixed issue where player did not disposed properly on app quit.
- Added placeholder parameter in BetterPlayerDataSource.
- Fixed custom material full screen icons (by https://github.com/FelipeFernandesLeandro)
- Fixed WEBVTT subtitles parsing.
- Updated ExoPlayer version.
- Refactored ExoPlayer code.
- Added missing controller dispose from BetterPlayer widget dispose.
- Added fix for iOS aspect ratio issue.
- Fixed auto play issue where player starts video after load initialization process and player is not visible.
- Updated texts in examples.
- Added missing widevine DRM parameters (by https://github.com/FlutterSu).
- Added overflowModalColor and overflowModalTextColor in BetterPlayerControlsConfiguration.
- Disabled picture in picture in fullscreen mode.
- Fixed enabled parameter for skip back and forward.
- Fixed notification configuration null issue (by https://github.com/bounty1342)
- Added token based and widevine DRM support.
- Updated documentation.
- Fixed iOS HLS initialization issue.
- Fixed issue where video plays after resume even if it's not visible.
- Updated User-Agent picking for Android.
- Added auto option for quality selection.
- Fixed empty data source notification issue.
- Fixed WebVTT subtitles parsing issue.
- Fixed memory data source issue on iOS.
- Added videoExtension parameter for memory data source (works only with memory data source).
- Added videoFormat parameter to network data source.
- Fixed controls visible all time on live stream.
- Fixed potential iOS notification crash.
- Dart analysis fix
- Refactored BetterPlayerPlaylist feature.
- Added new BetterPlayerPlaylistController which is accessible from BetterPlayerPlaylist's current state. Playlist video can be changed with setupDataSource method and current video index can be accessed with currentDataSourceIndex getter.
- Fixed iOS availableDuration index issue.
- Added arabic translations (by https://github.com/mohamed-Etman).
- Added headers to HLS data request (by https://github.com/mohamed-Etman).
- Added fullScreenAspectRatio to copyWith method in BetterPlayerConfiguration (by https://github.com/njlawton)
- Fixed fullscreen issue.
- Fixed HLS tracks selection.
- Removed HLS parser package and included HLS parser package in Better Player.
- Removed unused player observer in iOS.
- Fixed cache issue in Android where multiple Better Player instances uses same directory.
- Fixed HLS parsing issue.
- Added HLS Audio example.
- Fixed unregister listener issue in iOS.
- Updated documentation.
- [BREAKING_CHANGE] BetterPlayerState visibility changed to private.
- Fixed HLS audio tracks playlist selection issue.
- Added enableProgressBarDrag in BetterPlayerControlsConfiguration.
- Fixed audio track picking in ExoPlayer (Android).
- Changed default loadingColor.
- Fixed lint issues.
- Fixed subtitles setup issue.
- Fixed deprecated resizeToAvoidBottomPadding
- Fixed playing large videos in iOS.
- [BREAKING_CHANGE] Removed autoPlay and errorBuilder from BetterPlayerController. These can be accessed via betterPlayerController.
- Added HLS Audio track support.
- Added setAudioTrack method in BetterPlayerController.
- Added useHlsAudioTrack parameter in BetterPlayerDataSource.
- Added enableAudioTracks and audioTracksIcon, backgroundColor in BetterPlayerControlsConfiguration.
- Fixed HLS loading speed.
- Fixed finished event creation.
- Fixed player pause issue when player notification is displayed.
- Fixed player not pausing/resuming automatically correctly.
- Fixed fullscreen dispose issue.
- Added videoFormat parameter in BetterPlayerDataSource (should be used when data source url has no extension).
- Added retry feature after video failed to load.
- Added enableRetry in BetterPlayerControlsConfiguration.
- Changed BetterPlayerEventType.openFullscreen and BetterPlayerEventType.hideFullscreen events behavior (now events trigger after route change).
- Removed closed caption support from original video_player codebase.
- Fixed chinese translation typo (fixed by https://github.com/Big7lion)
- Fixed loading large videos in iOS.
- Fixed partly progress bar jumping when seek issue in iOS.
- Added forceDispose parameter to dispose method in BetterPlayerController.
- Fixed Android notification vibration issue (fixed by https://github.com/marcusforsberg).
- Fixed Android loading indicator issue.
- Added setControlsAlwaysVisible in BetterPlayerController.
- Added absolutePosition feature (added by https://github.com/FlutterSu)
- Fixed iOS AVPlayer observer issue.
- Fixed iOS headers not applied issue.
- Added Picture in Picture support.
- Added new parameters in BetterPlayerControlsConfiguration: pipMenuIcon and enablePip.
- Added new methods in BetterPlayerController: enablePictureInPicture, disablePictureInPicture, isPictureInPictureSupported, setBetterPlayerGlobalKey.
- Added Picture in Picture icon in player controls.
- Added Picture in Picture example.
- Updated ExoPlayer version.
- Added pipStart and pipStop events.
- [BREAKING_CHANGE] Removed skipsTimeInMilliseconds. Added forwardSkipTimeInMilliseconds and backwardSkipTimeInMilliseconds.
- Updated notification service in android example.
- Fixed event play/pause event not triggered when controlling video with PiP or remote notification.
- Fixed playerTheme not set correctly.
- Fixed progress bar able to drag over other buttons.
- Fixed iOS player last second issue (player did not complete on last second of resource).
- Added placeholder until play example
- Added playback stalled feature in iOS. iOS version should behave same as Android once video failed to load.
- Added BetterPlayerTheme to controls configuration (added by https://github.com/maine98).
- [BREAKING_CHANGE] Changed custom controls builder in BetterPlayerControlsConfiguration. Now it accepts BetterPlayerController.
- Exposed BetterPlayerPlaylistState and betterPlayerController getter within.
- Added overriddenDuration to BetterPlayerDataSource.
- Added autoDispose flag in BetterPlayerConfiguration
- Added removeEventsListener in BetterPlayerController
- Video list examples update
- Fixed Android native build warnings
- Fixed placeholder until play issues
- Added placeholderOnTop to the BetterPlayerConfiguration
- Lint fixes
- Fixed resolution issue
- Fixed type of BetterPlayerDataSource for file type
- Added audio notify on dispose (iOS) (fixed by https://github.com/kingiol)
- Fixed loadingColor and loadingWidget for cupertino player
- Increased size of cupertino buttons
- Fixed setControlsEnabled in cupertino/material player
- [BREAKING_CHANGE] Removed startAt, looping, placeholder, overlay, fullScreenByDefault, allowedScreenSleep, systemOverlaysAfterFullScreen, deviceOrientationsAfterFullScreen from BetterPlayerController
- Exposed VideoPlayerValue in export
- Fixed log issue
- Added loadingColor and loadingWidget in BetterPlayerControlsConfiguration
- Added lint library for dart analysis
- [BREAKING_CHANGE] Changed constant names to lowerCamelCase in BetterPlayerDataSourceType
- [BREAKING_CHANGE] Changed constant names to lowerCamelCase in BetterPlayerEventType
- [BREAKING_CHANGE] Changed constant names to lowerCamelCase in BetterPlayerSubtitlesSourceType
- Added support for player notifications
- Added handleLifecycle to BetterPlayerConfiguration
- Added notificationConfiguration to BetterPlayerDataSource
- Added setControlsEnabled to BetterPlayerController
- Fixed example video list widget buttons not rendering correctly in small resolutions
- Added setOverriddenAspectRatio to BetterPlayerController
- Fixed crash connected with setSpeed in Android platform
- Fixed deviceOrientationsOnFullScreen for iOS
- Fixed CH translations (fixes by https://github.com/JarvanMo)
- Click to show/hide controls (fixed by https://github.com/mtAlves)
- [BREAKING_CHANGE] Removed future from isPlaying. Now it's sync method (https://github.com/hongfeiyang)
- Added INITIALIZED event
- Added autoDetectFullscreenDeviceOrientation in BetterPlayerConfiguration
- Fixed autoPlay background issue
- Removed open_iconic_flutter icons used in Cupertino controls
- Added cupertino_icons for icons used Cupertiono controls
- Fixed progress bar not working correctly for iOS 12 with file datasource
- Removed yellow line below progress text (fixed by https://github.com/mtAlves)
- Fixed iOS black screen issue
- Fixed full screen placeholder issue
- Fixed event not firing in enterFullScreen and exitFullScreen
- Fixed subtitles parsing issues
- Added memory data source
- Added factories: network, file, memory for BetterPlayerDataSource
- Fixed missing useHlsTracks implementation
- Fixed placeholder showing after full screen when using showPlaceholderUntilPlay
- Added setControlsVisibility to BetterPlayerController
- [BREAKING_CHANGE] Removed showControlsOnInitialize from BetterPlayerConfiguration. Use BetterPlayerControlsConfiguration to set showControlsOnInitialize parameter.
- Fixed cupertino controls issue with hasError
- Fixed BetterPlayerEvent visibility
- Fixed lazy initialization, when first data source is passed after player finishes first render
- Added selectedByDefault to BetterPlayerSubtitlesConfiguration
- Fixed HLS tracks android native code
- Updated example
- Fixed locale picking when context is not mounted anymore
- Added cache feature (based on https://github.com/sanekyy/plugins/tree/caching and https://github.com/vikram25897/flutter_cached_video_player solutions)
- Added BetterPlayerCacheConfiguration to BetterPlayerDataSource
- Refactored Android's native code
- Added showPlaceholderUntilPlay in BetterPlayerConfiguration
- Fixed exception event not being triggered
- Fixed controls not displaying on video finished
- Fixed issue when full screen was triggered twice if autoPlay and fullScreenByDefault were enabled
- Removed flutter_widgets, since it's not maintained anymore. Added instead visibility_detector package (by https://github.com/espresso3389)
- Added rewind and forward buttons for android player.
- Fixed player UI's jank
- Added enableSkips and skipsTimeInMilliseconds in BetterPlayerControlsConfiguration
- Changed middle play button behavior (now it's only used for restart player).
- Updated BetterPlayerControllerProvider visibility.
- Override invalid dependency from wakelock library.
- Updated readme
- Fixed routePageBuilder usage from BetterPlayerConfiguration
- Added overflowMenuIcon, playbackSpeedIcon, qualitiesIcon, subtitlesIcon, overflowMenuIconsColor to BetterPlayerControlsConfiguration
- Added double tap to play/pause video (original idea by https://github.com/r6c)
- Fixed subtitles overflow issue when transitioning between fullscreen and normal state
- Added alignment and backgroundColor in BetterPlayerSubtitlesConfiguration
- Added enableOverflowMenu option in BetterPlayerControlsConfiguration (enable/disable overflow menu)
- Added overflowMenuCustomItems in BetterPlayerControlsConfiguration (show custom menu items in overflow menu)
- [BREAKING_CHANGE] Removed defaultErrorText, loadingNextVideoText, liveText from BetterPlayerControlsConfiguration. To change these values, please use translations in BetterPlayerConfiguration.
- Added BetterPlayerTranslations in BetterPlayerConfiguration. You can use it to setup translations of the player.
- Added fullScreenAspectRatio and deviceOrientationsOnFullScreen to handle different full screen scenarios
- Updated wakelock version
- [BREAKING_CHANGE]: changed API in BetterPlayerControlsConfiguration: enableQualities replaces enableTracks.
- Added support for different video resolutions
- Fixed issue when full screen is being dismissed on changing subtitles
- Added CHANGED_RESOLUTION event
- Added possibility to set multiple subtitles to video
- [BREAKING_CHANGE]: changed API in BetterPlayerDataSource. Instead of one subtitles object, list of subtitles is required.
- General bug fixes.
- Added playerVisibilityChangedBehavior in BetterPlayerConfiguration.
- Changed player behavior when player is not visible in viewport: if player was playing before leaving viewport it will be paused and if user views player again it will start playing automatically.
- Added BetterPlayer.network and BetterPlayer.file methods.
- Changed iOS & Android native classes name to prevent conflict issues with video_player.
- Added support for hls tracks (quality of the videos).
- Added useHlsTracks and hlsTrackName in BetterPlayerDataSource.
- Added CHANGED_TRACK event.
- You can choose track from overflow menu. When there's no tracks to select "Default" will be selected.
- Added enableSubtitles parameter.
- Added rotation parameter in BetterPlayerConfiguration.
- Added support for hls subtitles (BetterPlayer will handle them automatically).
- [BREAKING_CHANGE]: changed API in BetterPlayerSubtitlesSource. To use old API, please use factory: BetterPlayerSubtitlesSource.single.
- Added useHlsSubtitles parameter in BetterPlayerDataSource.
- Added CHANGED_SUBTITLES event.
- User can choose subtitles from overflow menu, when there's no subtitles selected, "none" options will be chosen.
- Fixed loading issue when auto play video feature is enabled in playlist.
- Fixed placeholder not following video fit options (fixed by https://github.com/nicholascioli).
- Updated dependencies.
- Added overflow menu.
- Added playback speed feature (based on https://github.com/shiyiya solution).
- User can choose playback speed from overflow menu.
- Added SET_SPEED event.
- Added fit configuration option (based on https://github.com/shiyiya solution).
- Better player list video player state is preserved on state changed.
- Fixed manual dispose issue.
- Fixed playlists video changing issue (fixed by https://github.com/sokolovstas).
- Added tap to hide feature for iOS player (by https://github.com/gazialankus).
- Fixed CONTROLS_VISIBLE and CONTROLS_HIDDEN events not triggered for ios player (fixed by https://github.com/gazialankus).
- Added seek method to BetterPlayerListVideoPlayerController.
- Changed channel name of video player plugin.
- Fixed dispose issue in cupertino player.
- Fixed duration called on null (fixed by https://github.com/ganeshrvel).
- Added new control events (fixed by https://github.com/ganeshrvel).
- Fixed .m3u8 live stream issues in iOS.
- Fixed iOS crash on dispose.
- Added player headers support.
- Updated dependencies.
- Dart Analysis refactor.
- Added BetterPlayerListVideoPlayerController to control list video player.
- Fixed setState called after dispose.
- General bugfixes.
- Fixed buffering indicator issue on Android.
- Fixed progress bar scroll lag.
- Fixed video duration issue.
- Added HTML subtitles.
- Added reusable video player.
- Bug fixes.
- Changed 'settings' to 'configuration'.
- Removed unused parameters from configuration.
- Documentation update.
- Updated documentation.
- Moved example project from better_player_example to example.
- Initial release.