215 Commits

Author SHA1 Message Date
Krzysztof Moch 4ba3b7a61f chore: publish package 2025-06-30 19:32:12 +02:00
Krzysztof Moch 987be4b293 fix(ios): swfit modular headers (#4527) 2025-04-24 19:02:26 +02:00
Krzysztof Moch 1c95041a4a chore(example): bump react-native & expo version (#4500) 2025-04-23 12:42:36 +02:00
Krzysztof Moch b1b3db3010 feat(ios): add overridePlayerAsset to AVPlayerPlugin (#4522) 2025-04-18 18:02:55 +02:00
Kamil Moskała f188a7fd48 refactor(ios): unpause after exiting fullscreen (#4472)
* refactor(ios): unpause after exiting fullscreen

* chore: lint code
2025-03-26 12:20:32 +01:00
Krzysztof Moch 6e6f91517c feat: enhance react-native-video plugins [Plugins API Breaking] (#4366)
* feat: allow plugins for providing custom DRM manager

This will allow plugins to provide DRM manger to create custom implementations, eg. using SKD from DRM providers

* chore(example): fix drm example on android

* chore: lint code

* fix: remove platform player logic & dependency from `RNVPlugin`

* chore: change warning to debug msg

* chore: lint code

* chore(example/bare): update Podfile.lock

* refactor: reorganize ReactNativeVideoManager plugin registration methods

* refactor: add helpers & clean code

* docs: update documentation

* lint code

* add comment

* docs: update plugins section
2025-03-12 14:13:46 +01:00
Olivier Bouillet f9d3878ecc chore(ios): remove duplicated code (#4439) 2025-03-12 13:37:03 +01:00
Kamil Moskała 13a5da8955 chore: update utm links (#4447)
* chore: update utm links

* Update package.json
2025-03-04 15:32:40 +01:00
Olivier Bouillet faac5ad456 fix(sample): remove duplicate code in sample (#4391)
* fix: remove duplicated code in sample
2025-02-15 17:05:59 +01:00
Olivier Bouillet 3d3eba97e8 fix(ios): fix paused video by default (#4379)
* fix: update style to allow show control click
* fix: push missing revert
2025-01-22 22:56:50 +01:00
Kamil Moskała abc4d76099 docs: link tv example (#4342) 2024-12-18 09:24:21 +01:00
Chris Wood d757a44bb1 Docs(README): correct Expo heading link (#4316) 2024-12-03 16:32:13 +01:00
Olivier Bouillet 63c592f7cd fix(android): disable caching on local asset files (#4304) 2024-12-01 13:29:24 +01:00
Olivier Bouillet 2b7c215e66 Fix(android): restart issue react76 (#4302)
* fix: upgrade to expo 54
* fix: more bufferConfig inside source
- restart issue on react 0.76
- fix constness
- deprecate bufferConfig in root props
- update documentation
2024-11-24 21:19:46 +01:00
Kamil Moskała de81829d73 chore: cleanup ref (#4288)
* refactor: cleanup ref
* fix: video-ref type
* refactor: cleanup code
2024-11-15 21:17:56 +01:00
Olivier Bouillet 681aed0aed chore(sample): fix run of expo sample (#4284)
* chore: fix expo sample tun
* chore: update ios sample files
2024-11-15 21:17:29 +01:00
zoriya 5fa77c4562 Add react-native-web support (#3958)
Co-authored-by: Kamil Moskała <91079590+moskalakamil@users.noreply.github.com>
2024-11-13 21:19:57 +01:00
Kamil Moskała 0288d61e46 chore: update docs link (#4242) 2024-11-07 09:28:20 +01:00
Kamil Moskała 6080e96e82 docs: update drm token generator links (#4263) 2024-10-29 10:31:50 +01:00
Krzysztof Moch f850b7a71c chore: update DRM example (#4259) 2024-10-26 14:55:11 +02:00
Krzysztof Moch 324fc2ac65 chore: update examples README 2024-10-20 20:31:30 +02:00
Krzysztof Moch 9eb5502076 chore: rework examples (#4225)
* remove unused examples

* init bare example with test app

* add react-native-video

* add test app suport in expo plugin

* expo plugin: skip keys that are already in pod file

* fix podfile

* add src files

* fix metro config

* finalize react native test app configuration

* init expo example

* remove old examples

* add guide for example

* Add link to examples apps in docs

* adopt bare example to CI tests

* update CI workflows

* CI build lib after node_modules install

* fix examples readme

* fix iOS CI

* Add Example for DRM

* Update examples/README.md

* fix links

* update examples README

* sync example code

* update README
2024-10-20 20:04:02 +02:00
Olivier Bouillet d86adc52f3 Chore: rework ad props (#4220)
* 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 (#4185)
* 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 (#4190) 2024-10-02 23:37:18 +02:00
Olivier Bouillet 3ecf324bb3 fix(android): bad rotation handling (#4205) 2024-09-29 20:48:44 +02:00
Olivier Bouillet 0c6b47f42c docs: remove desugaring section as no more need on media3 1.4.1 (#4206) 2024-09-29 20:46:11 +02:00
Krzysztof Moch b11f05f175 fix(tvos): typo (#4204)
* 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 (#4184) 2024-09-20 16:26:20 +02:00
Olivier Bouillet 6fedca0df7 chore(sample): upgrade sample expo version (#4179) 2024-09-19 13:51:24 +02:00
Olivier Bouillet 835186a321 fix(JS): improve loader api to allow function call instead of component (#4171) 2024-09-17 15:58:47 +02:00
Olivier Bouillet 24d90e9ec8 chore(android): move contentStartTime into source prop (#4160) 2024-09-14 19:53:54 +02:00
Olivier Bouillet 84a27f3d9f fix: refactor side loaded text tracks management (#4158)
* 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 (#4159) 2024-09-13 10:49:43 +02:00
Olivier Bouillet 809a730198 fix(ios): ensure onBandwidthUpdate is reported only when value change (#4149)
* 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 (#4148)
* fix(sample): remove warning on ios with NavigationBar
2024-09-06 09:45:24 +02:00
Olivier Bouillet 9707081ab9 Chore/rework fullscreen configuration (#4142)
* 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) (#4140) 2024-09-03 15:33:43 +02:00
Olivier Bouillet 308447a5ba Fix/track selection by title (#4129)
* 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 (#4124)
* 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 (#4133)
* 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) (#4134)
* 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 (#4123)
* 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 (#4121)
* 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 (#4122)
* 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 (#4050)
* 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 (#3972) 2024-07-22 22:38:35 +02:00
Olivier Bouillet ffbc977ff9 fix(sample): boot failure on emulator (#4016)
* fix: disable coreLibraryDesugaringEnabled by default
2024-07-18 22:22:58 +02:00
Kamil Moskała 7611da155f chore(sample): refactor sample code to follow rn best practices (#3990)
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 (#4003) 2024-07-15 10:13:21 +02:00