Commit Graph

198 Commits

Author SHA1 Message Date
d79b5c9a83 Merge remote-tracking branch 'origin/master' into feat/web 2024-10-12 23:40:00 -06:00
Olivier Bouillet
d86adc52f3
Chore: rework ad props ()
* fix: move ad configuration in source
2024-10-10 23:53:39 +02:00
Olivier Bouillet
9a3fcda3b8
feat: add setSource API function fix ads playback ()
* feat: add setSource API function fix ads playback
2024-10-10 22:59:41 +02:00
Seyed Mostafa Hasani
149924ffcb
feat(android): add live video label configuration () 2024-10-02 23:37:18 +02:00
Olivier Bouillet
3ecf324bb3
fix(android): bad rotation handling () 2024-09-29 20:48:44 +02:00
Olivier Bouillet
0c6b47f42c
docs: remove desugaring section as no more need on media3 1.4.1 () 2024-09-29 20:46:11 +02:00
Krzysztof Moch
b11f05f175
fix(tvos): typo ()
* fix(tvos): typo

* lint
2024-09-28 16:39:09 +02:00
Olivier Bouillet
c96f7d41f3
chore(sample): fix default track identification and add audio tracks selection option () 2024-09-20 16:26:20 +02:00
Olivier Bouillet
6fedca0df7
chore(sample): upgrade sample expo version () 2024-09-19 13:51:24 +02:00
Olivier Bouillet
835186a321
fix(JS): improve loader api to allow function call instead of component () 2024-09-17 15:58:47 +02:00
Olivier Bouillet
24d90e9ec8
chore(android): move contentStartTime into source prop () 2024-09-14 19:53:54 +02:00
Olivier Bouillet
84a27f3d9f
fix: refactor side loaded text tracks management ()
* fix: refactor side loaded text tracks management

More textTracks in source.
android/ios: ensure text tracks are not selected by default
android/ios make textTrack field not nullable
clean up doc
check compatibility with the old api
Add comments on deprecated JS apis
Apply API change on basic sample

* chore: fix linter

* fix(ios): fix build with caching & remove warnings
2024-09-13 10:50:33 +02:00
Olivier Bouillet
7118ba6819
chore(ios): remove some warnings () 2024-09-13 10:49:43 +02:00
Olivier Bouillet
809a730198
fix(ios): ensure onBandwidthUpdate is reported only when value change ()
* fix(ios): ensure onBandwidthUpdate is reported only when value change

* chore: fix PodFile.lock
2024-09-06 15:11:12 +02:00
Olivier Bouillet
e18769ab3a
fix(sample): remove warning on ios with NavigationBar ()
* fix(sample): remove warning on ios with NavigationBar
2024-09-06 09:45:24 +02:00
Olivier Bouillet
9707081ab9
Chore/rework fullscreen configuration ()
* feat(android): handle navigation bar status in full-screen mode
* chore: update default value of prop
* chore(android): rework fullscreen configuration

---------

Co-authored-by: mostafahasani <seyedmostafahassani@gmail.com>
2024-09-04 09:53:30 +02:00
Olivier Bouillet
d6bae3cd07
fix(ios): fix onBandwidth update event (old ios api is deprecated and doens't work) () 2024-09-03 15:33:43 +02:00
Olivier Bouillet
308447a5ba
Fix/track selection by title ()
* chore(sample): make track selection by title possible

* fix(android): fix test for track selection by title
2024-09-02 19:10:39 +02:00
Olivier Bouillet
fbe570d62f
Fix/allow text track selection by index ()
* fix(ios): ensure behavior is correct with empty text track list
* fix(ios): add index to text tracks reported
2024-09-02 17:01:39 +02:00
Olivier Bouillet
2fa6c43615
fix(android): add subtitleStyle.subtitlesFollowVideo prop to control subtitles positionning ()
* fix(android): add subtitleStyle.subtitlesFollowVideo prop to control subtitles positionning
* docs: add new prop description
* docs: add supported platform for subtitleStyle
* chore: use constructor instead of parse
2024-09-02 16:13:06 +02:00
Olivier Bouillet
688d98d68f
fix(tvos): fix build (and update sample) ()
* fix(tvos): fix build (and update sample)
2024-09-02 15:42:51 +02:00
Olivier Bouillet
3a32d67087
fix(ios): ensure behavior is correct with empty text track list ()
* fix(ios): ensure behavior is correct with empty text track list
2024-09-02 15:40:38 +02:00
Olivier Bouillet
7a2b4014f4
fix(sample): update dependencies to fix local asset playback ()
* fix(sample): align dependencies and fix local asset playback
2024-09-02 15:40:10 +02:00
Olivier Bouillet
fb3c0da6af
chore(sample): additionnal sample cleanup ()
* chore: move MultiValueControl & toggleControl to component
* fix(sample): fix import / export to avoid circular deps
* chore(sample): fix warning
2024-08-31 18:32:32 +02:00
Krzysztof Moch
38aa2b057a
fix(ios): override source metadata with custom metadata ()
* fix(ios): override source metadata with custom metadata

* lint code
2024-08-05 11:59:49 +02:00
Kamil Moskała
adbd06e2df
feat: add ability to define poster props as Image type and render poster as custom component () 2024-07-22 22:38:35 +02:00
Olivier Bouillet
ffbc977ff9
fix(sample): boot failure on emulator ()
* fix: disable coreLibraryDesugaringEnabled by default
2024-07-18 22:22:58 +02:00
Zoe Roux
9d19157654
Add web command in basic example 2024-07-16 11:33:50 +07:00
Zoe Roux
3dabf5f16f
Fix and improve VideoNativeComponent (canPlay/isWidewine supportd) for web 2024-07-16 11:33:50 +07:00
Zoe Roux
edf5d0c613
Test notifications on web 2024-07-16 11:33:50 +07:00
Zoe Roux
aa85d71b87
Make the basic example app work on web 2024-07-16 11:33:18 +07:00
Kamil Moskała
7611da155f
chore(sample): refactor sample code to follow rn best practices ()
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2024-07-15 23:29:23 +02:00
Kamil Moskała
38bcfa2f6a
chore(example): update MultiValueControl types () 2024-07-15 10:13:21 +02:00
Seyed Mostafa Hasani
39cf477ceb
fix(example/basic): select resizeMode ()
* fix(example/basic): select resizeMode

* chore: refactor the onResizeModeSelected function
2024-07-12 13:42:36 +02:00
Olivier Bouillet
66dcf32b56
refactor: move view type and drm in source ()
* perf: ensure we do not provide callback to native if no callback provided from app

* chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size

* chore: improve issue template

* fix(android): avoid video view flickering at playback startup

* chore(android): refactor DRM props into a dedicated class

* Update android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java

* chore: fix linter

* fix: ensure drm prop is correctly cleaned

* feat(android): move viewType (secure texture) & drm inside the source

The origianl behavior has been kept for interoperability, but marked as deprecated in doc

* chore: fix linter

* chore(ios): move drm prop in source like on android

* chore: fix linter

* chore: clean log

* fix: allow to disable secure View

* chore: fix viewType resolution (source value was not handled)

* chore: use contentDeepEquals instead of manual checks

* chore: fix linter

* fix: ensure player doesn't start when view is unmounted

* Fix/ensure view drop stop playback startup ()

* fix: ensure player doesn't start when view is unmounted

* chore: revert change

* chore: add warning in case of invalid Surface configuration

* chore: code clean

* fix: simplify surface management

* chore: restore previous code

* chore: fix typo

* chore: code cleanup

* feat(android): add multiDrm flag support

* docs: update docs

* chore: fix ios build

* chore: fix deprecated declaration

---------

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2024-07-10 12:17:22 +02:00
Seyed Mostafa Hasani
a3ecc0108c
chore(example/basic): refactor state variable ()
* refactor: basic example from class component to functional component

* refactor: toast component path

* refactor: bufferConfig prop

* refacotr: import component path

* fix: seekbar issue on iOS

* refactor: state variable

* chore: refactor overlay component according to new state structure
2024-07-08 09:54:32 +02:00
yungblud
1d6fb29753
feat: modified Fabric example android build.gradle for resolving build issue () 2024-07-06 10:19:24 +02:00
Seyed Mostafa Hasani
01a00b12ae
chore: upgrade react-native & expo version in the basic example app ()
* chore: upgrade react-native & expo version

* chore: update Podfile.lock
2024-07-04 14:02:05 +02:00
yungblud
de6e71966a
chore(example/fabric): bump up fabric example android deps ()
* feat: 🔥 version bump react native for ios FabricExample

* feat:  copied newly created basic example TS files

* feat: 🔥 bump up native layers of FabricExample android app

* feat: 🔥 turn off buildDir setting in android/build.gradle for correct Fabric codegen dir location

* Revert "feat: 🔥 turn off buildDir setting in android/build.gradle for correct Fabric codegen dir location"

This reverts commit 62ec8d739b1f21906972eb935fc934e87294a8e6.
2024-07-04 12:44:43 +02:00
yungblud
df29c2310d
feat(fabric): updated ios podspec for implementing new architecture ()
* chore: 🔥 updated FabricExample/Gemfile.lock (bundle install)

* feat: updated react-native-video.podspec for implementing new architecture

* feat: updated FabricExample/ios/Podfile.lock (pod install)

* chore: updated examples/basic Gemfile.lock (bundle install)

* chore:  updated examples/basic ios Podfile.lock (pod install)
2024-07-02 10:56:14 +02:00
yungblud
e5a2ee3bd3
feat: bump up fabric example react-native iOS ()
* feat: 🔥 version bump react native for ios FabricExample
* feat:  copied newly created basic example TS files
2024-06-30 17:20:28 +02:00
Seyed Mostafa Hasani
d4f1648681
refactor: basic example from class component to functional component ()
* refactor: basic example from class component to functional component

* refactor: toast component path

* refactor: bufferConfig prop

* refacotr: import component path

* fix: seekbar issue on iOS
2024-06-28 11:33:10 +02:00
Olivier Bouillet
a7d834a80a
feat(android): allow building exoplayer from source ()
* feat(android): allow to build from source code

* fix(android): allow to build plugin from source
2024-06-25 13:20:12 +02:00
Olivier Bouillet
91d27a6009
feat: add plugins management () 2024-06-25 08:55:32 +02:00
Olivier Bouillet
c1c7a056f1
chore: move sample to expo ()
* perf: ensure we do not provide callback to native if no callback provided from app

* chore: rework bufferConfig to make it more generic and reduce ReactExoplayerView code size

* chore: improve issue template

* fix(android): avoid video view flickering at playback startup

* fix: ensure player doesn't start when view is unmounted

* chore: move basic sample to expo

* Update examples/basic/package.json

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>

* chore: use last expo version

* chore: fix podfile

---------

Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2024-06-20 11:58:55 +02:00
Olivier Bouillet
264b57aa2e
fix(android): allow chunk less preparation () 2024-06-20 11:19:35 +02:00
Krzysztof Moch
2d793dbde1
fix(ios): missing notification controls when enabled from start () 2024-06-12 11:54:22 +02:00
Seyed Mostafa Hasani
3a4a13011a
chore: add setFullScreen to component's ref ()
* chore: add setFullScreen to component's ref and remove presentFullscreenPlayer & dismissFullscreenPlayer
2024-06-10 22:41:26 +02:00
Olivier Bouillet
a604cd750a
chore(sample): clean log in sample () 2024-05-31 23:32:20 +02:00
Olivier Bouillet
bdf3e556d8
fix(android): refactor source, fix random DRM issue and crop start on local asset ()
* fix: refactor source parameter parsing

Also fix a side issue when using a local file cropping props were not applied
Also fix random DRM issue by refactoring initializePlayerSource https://github.com/TheWidlarzGroup/react-native-video/issues/3082

* chore: restore metadata checks before appling them
2024-05-30 08:53:49 +02:00