Releases: TheWidlarzGroup/react-native-video
Releases Β· TheWidlarzGroup/react-native-video
v6.6.0
What's Changed
Android
β * feat(android): upgrade dependencies / media3 1.4.1 / androidxCore to 1.13.1 / androidxActivity 1.8.2 by @seyedmostafahasani in #4173
- chore(android): remove onBackPressed function in FullScreenPlayerView by @seyedmostafahasani in #4049
- fix(android): ensure pause is well tken in account after onEnd by @freeboub in #4147
- chore(android): add null checks by @KrzysztofMoch in #4168
- chore(android): move contentStartTime into source prop by @freeboub in #4160
- fix(android): ensure maxBitrate & selectedVideoTrack interact correctly by @freeboub in #4155
iOS
- fix(ios): keep subtitle selection on foreground by @Myst1024 in #3707
- fix(sample): remove warning on ios with NavigationBar by @freeboub in #4148
- fix(ios): ensure onBandwidthUpdate is reported only when value change by @freeboub in #4149
- fix(visionOS): remove unsupported apis by @KrzysztofMoch in #4154
- chore(ios): remove some warnings by @freeboub in #4159
Other
- fix: refactor side loaded text tracks management by @freeboub in #4158
- fix(expo-plugin): add check for existing service in AndroidManifest for notification controls by @aminmeshk in #4172
- chore(android): add null check for id of videoFormat by @seyedmostafahasani in #4174
- fix(JS): improve loader api by @freeboub in #4171
New Contributors
- @Myst1024 made their first contribution in #3707
- @aminmeshk made their first contribution in #4172
Full Changelog: v6.5.0...v6.6.0
v6.5.0
What's Changed
Android
- feat(android): support hiding Exoplayer video duration on android by @ashlyWeiting in #4090
- feat(android): Support Common Media Client Data (CMCD) by @uncoolclub in #4034
- feat: add ads localize by @guyhguy25 in #4113
- fix(android): hide surfaceView for loading time when shutter is hidden by @moskalakamil in #4060
- fix(android): add subtitleStyle.subtitlesFollowVideo prop to control subtitles positionning by @freeboub in #4133
- fix(android): track selection by title by @freeboub in #4129
- fix(android): show the status bar and navigation bar after exiting f⦠by @seyedmostafahasani in #4112
- fix(android): rework fullscreen configuration by @freeboub in #4142
- fix(android): Correct isBehindLiveWindow Error Handling by @whdudtod1273 in #4143
- chore: clean up ReactExoplayerView class by @seyedmostafahasani in #4141
iOS
- feat(iOS): add handler for Apple Earpods play/pause command by @sharnik in #4116
- feat: add ads localize by @guyhguy25 in #4113
- fix(ios): build fail due to an unwrapped value by @Fausto95 in #4101
- fix(ios): crash on source change after coming back from background by @blazlew in #4074
- fix(ios): ensure behavior is correct with empty text track list by @freeboub in #4123
- Fix(ios): allow text track selection by index by @freeboub in #4124
- fix(ios): ensure we don't disable tracks when not necessary by @freeboub in #4130
- fix(ios): fix onBandwidth update event (old ios api is deprecated and doesn't work) by @freeboub in #4140
- fix(tvos): fix build (and update sample) by @freeboub in #4134
- fix(VisionOS): do not access to isExternalPlaybackActive on VisionOS by @freeboub in #4109
Others
- docs: add ios platform for
onBandwidthUpdate
callback by @moskalakamil in #4145 - fix(expo-plugin) adding bg mode if none exist yet by @blazlew in #4126
- fix(sample): additionnal sample cleanup by @freeboub in #4122
- fix(sample): update dependencies to fix local asset playback by @freeboub in #4121
New Contributors
- @ashlyWeiting made their first contribution in #4090
- @Fausto95 made their first contribution in #4101
- @uncoolclub made their first contribution in #4034
- @sharnik made their first contribution in #4116
- @guyhguy25 made their first contribution in #4113
- @whdudtod1273 made their first contribution in #4143
Full Changelog: v6.4.5...v6.5.0
v6.4.5
What's Changed
- fix(android): resolve a release issue with DefaultDashChunkSource by @seyedmostafahasani in #4097
Full Changelog: v6.4.4...v6.4.5
v6.4.4
What's Changed
iOS
- fix(ios): updated getLicense call to work with new syntax, and fixed spelling error (#4014) by @EETVApps in #4042
- fix(ios): metadata update race by @blazlew in #4033
- fix(ios): override source metadata with custom metadata by @KrzysztofMoch in #4050
Android
- fix(android): viewType is ignored when set to ViewType.TEXTURE by @mlecoq in #4031
- refactor(android): migrate ReactExoplayerViewManager to Kotlin by @seyedmostafahasani in #4011
- fix(android): return the value as a float for the getCurrentPosition function by @seyedmostafahasani in #4054
- fix(android): build warnings by @KrzysztofMoch in #4058
- Remove resume logic in notification seek closure by @paul-rinaldi in #4068
- refactor(android): migrate DefaultDashChunkSource to Kotlin by @seyedmostafahasani in #4078
Other
- chore(doc): update document (props & method) by @seyedmostafahasani in #4072
New Contributors
Full Changelog: v6.4.3...v6.4.4
v6.4.3
What's Changed
General
- feat: add ability to define
poster
props as Image type and render poster as custom component by @moskalakamil in #3972
Android
- fix(android): app crash at boot with old arch by @freeboub in #4022
- fix(android): remove white stripes appearing after switching from fullscreen by @imalgrab in #4013
- refactor(android): migrate BecomingNoisyListener interface to Kotlin by @seyedmostafahasani in #3996
- fix(android): fix backward compatibility by @KrzysztofMoch in #4020
- fix(android): ResizeMode.COVER by @lovegaoshi in #4010
- feat(android): add error handling for Kotlin version mismatch by @seyedmostafahasani in #4018
- fix(android): index of the selected track by @seyedmostafahasani in #4012
Other
- chore(example/basic): refactor code to follow best react-native practices by @moskalakamil in #3990
- fix(sample): boot failure on emulator by @freeboub in #4016
New Contributors
Full Changelog: v6.4.2...v6.4.3
v6.4.2
What's Changed
Breaking
- feat(android): exit fullscreen mode after finishing video playback by @seyedmostafahasani in #3978
General
- fix(ts): make multiDrm prop optional type by @YangJonghun in #3999
Android
- refactor(android): migrate AudioBecomingNoisyReceiver to Kotlin by @seyedmostafahasani in #3997
- chore(android): migrate FullScreenPlayerView to Kotlin by @seyedmostafahasani in #3969
- refactor(android): migrate ReactExoplayerLoadErrorHandlingPolicy to Kotlin by @seyedmostafahasani in #3995
- refactor(android): migrate ReactExoplayerConfig to Kotlin by @seyedmostafahasani in #3994
- refactor(android): migrate AudioOutput to Kotlin by @seyedmostafahasani in #3993
Other
- fix(android): fix android notification controller order by @YangJonghun in #4002
- fix(android): fix onVideoLoad event field key by @YangJonghun in #4001
- fix(android): handle aspect ratio for rotated videos by @moskalakamil in #4000
Other
- fix(example/basic): select resizeMode by @seyedmostafahasani in #3989
- chore(example): update
MultiValueControl
types by @moskalakamil in #4003
Full Changelog: v6.4.1...v6.4.2
v6.4.1
What's Changed
- fix: expo plugin export by @KrzysztofMoch in #3992
- refactor: internal refactor for prepare new arch by @YangJonghun in #3980 (fixes android build for react-native < 0.74)
Full Changelog: v6.4.0...v6.4.1
v6.4.0
What's Changed
General
- feat: add plugins management by @freeboub in #3909
- feat: add expo plugins by @KrzysztofMoch in #3933
- fix: build issue on the latest react-native version by @seyedmostafahasani in #3963
- refactor: move view type and drm in source by @freeboub in #3867
- feat: add
isSeeking
toonPlaybackStateChanged
by @KrzysztofMoch in #3899
Android
- feat(android): Bump default media3 version from v1.1.1 to v1.3.1 by @YangJonghun in #3977
- feat(android): allow building exoplayer from source by @freeboub in #3932
- chore(android): rework view type by @freeboub in #3940
- fix(android): added setAllowChunklessPreparation to HlsMediaSource.Factory stub by @EETVApps in #3950
- refactor(android): migrate VideoDecoderPropertiesModule to Kotlin by @YangJonghun in #3954
- refactor(android): migrate ReactVideoPackage to Kotlin by @seyedmostafahasani in #3955
- fix(android): fix VideoDecoderPropertiesModule module name by @YangJonghun in #3959
- refactor(android): migrate VideoEventEmitter to Kotlin by @YangJonghun in #3962
- chore(android): migrate DefaultReactExoplayerConfig to Kotlin by @seyedmostafahasani in #3983
- chore(android): migrate AspectRatioFrameLayout to Kotlin by @seyedmostafahasani in #3985
- chore(android): migrate DataSourceUtil to Kotlin by @seyedmostafahasani in #3984
iOS
- refactor(ios): refactor
NowPlayingInfoCenerManager
by @YangJonghun in #3968 - fix(ios): fix fullscreen view controller ANR by @YangJonghun in #3952
- fix(ios): don't pause playback when entering background by @KrzysztofMoch in #3973
- fix(ios): remove pip check for other platforms by @KrzysztofMoch in #3991
Other
- chore(docs): fix typo by @freeboub in #3938
- chore: update homepage field in package.json by @Simek in #3945
- chore(example/basic): refactor basic example from class component to functional component by @seyedmostafahasani in #3934
- chore(example/basic): bump up fabric example react-native iOS by @yungblud in #3951
- feat(fabric): updated ios podspec for implementing new architecture by @yungblud in #3961
- chore: upgrade react-native & expo version in the basic example app by @seyedmostafahasani in #3964
- feat: modified Fabric example android build.gradle for resolving build issue by @yungblud in #3976
- chore(example/basic): refactor state variable by @seyedmostafahasani in #3949
- docs: update deprecated tool by @moskalakamil in #3982
New Contributors
- @Simek made their first contribution in #3945
- @EETVApps made their first contribution in #3950
- @moskalakamil made their first contribution in #3982
Full Changelog: v6.3.0...v6.4.0
v6.3.0
What's Changed
General
- feat: add setFullScreen to component's ref by @seyedmostafahasani in #3855
- fix(typescript): type checks on selectedTextTrack, selectedAudioTrack, selectedVideoTrack by @Polarisation in #3910
- fix(JS): safety check on resolve uri by @freeboub in #3915
- chore: move sample to expo by @freeboub in #3880
- chore(docs): fix sample app link by @mlazari in #3918
Android
- feat(android): add
onControlsVisiblityChange
by @ashnfb in #3925 - fix(android): show controls in notification on older androids by @KrzysztofMoch in #3886
- fix(android): allow chunk less preparation by @freeboub in #3913
- fix(android): use UI thread to pause when lost audio focus by @freeboub in #3916
- fix(android): avoid crash multiplayer with notification by @freeboub in #3931
- Chore(android): refactor drm props by @freeboub in #3846
iOS
- feat(ios): detect livestreams in now playing notification by @paul-rinaldi in #3922
- fix(ios): missing notification controls when enabled from start by @KrzysztofMoch in #3898
- fix(ios): crash on ads after leaving the app by @freeboub in #3911
New Contributors
- @mlazari made their first contribution in #3918
- @Polarisation made their first contribution in #3910
- @paul-rinaldi made their first contribution in #3922
Full Changelog: v6.2.0...v6.3.0
v6.2.0
What's Changed
General
- feat: add getCurrentPosition to component's ref by @seyedmostafahasani in #3824
- fix: ensure progress is sent before
onEnd
callback by @freeboub in #3872 - docs: update min iOS version info by @KrzysztofMoch in #3814
- docs: fix ordering by @freeboub in #3848
- chore(sample): review seeker in sample by @freeboub in #3787
Android
- feat(android): Change subtitleLayout from child to sibling of layout by @YangJonghun in #3830
- feat(android): handle increment forward and rewind buttons by @seyedmostafahasani in #3818
- feat(android): allow chunckless preparation by @freeboub in #3882
- fix(android): allow notification tap to foreground app by @paulrinaldi in #3831
- fix(android): cache header by @lovegaoshi in #3832
- fix(android): refactor source, fix random DRM issue and crop start on local asset by @freeboub in #3835
- fix(android): optimize lag on old android by @freeboub in #3860
- fix(android): video resolution orientation android by @freeboub in #3862
- fix(android): fix null pointer exception at playback start with item metadata by @freeboub in #3879
- chore(android): add colors and dimens files to handle variables by @seyedmostafahasani in #3836
iOS
- fix(ios): don't crash app if view wasn't found by @KrzysztofMoch in #3841
- fix(ios): fix playback status with lifecycle by @YangJonghun in #3819
- fix(ios): notification controls enabled by default by @KrzysztofMoch in #3861
- fix(ios): Implicit use of 'self' in closure - use 'self.' to make capture semantics explicit (#3764) by @dibyendu in #3881
New Contributors
Full Changelog: v6.1.2...v6.2.0