Olivier Bouillet
80e7139897
Chore/fix lintter and ts on source prop ( #3361 )
...
* fix: Fix types for `ReactVideoSource` to also allow `require(..)` sources
We need to be careful here to not use `any`, so I used `NodeRequire` - which is afaik present in all React Native environments as a type.
---------
Co-authored-by: Marc Rousavy <me@mrousavy.com>
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-18 15:39:22 +01:00
Olivier Bouillet
fdbd6a6ba8
fix: update onError definition to match implementation ( #3349 )
...
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-16 08:40:14 +01:00
Olivier Bouillet
dfac7a6ed3
Fix(ios): restore caching feature ( #3341 )
...
* chore: fix build issue
* fix: try to fix save typings
* chore: fix podspec
* fix: update integration guide for ios Caching
* fix: update sample to test the save function
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-13 21:36:16 +01:00
Krzysztof Moch
9054db35d7
feat(ios): add onBandwidthUpdate event ( #3331 )
...
* feat(ios): add onBandwidthUpdate event
2023-11-08 22:06:29 +01:00
Krzysztof Moch
cdbc856387
feat: add onVolumeChange
event ( #3322 )
...
* feat: implement `onVolumeChange` event
2023-11-04 18:11:54 +01:00
Olivier Bouillet
0f8467f51d
chore: rework typescript integration ( #3304 )
...
* create few new types
* Add missing api
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2023-10-26 08:46:04 +02:00
Krzysztof Moch
9373493d6a
feat(ios): implement onPlaybackStateChanged callback ( #3307 )
...
* chore: fix typo
* feat(ios): implement onPlaybackStateChanged
* docs: update onPlaybackStateChanged platforms
2023-10-23 18:23:57 +02:00
Krzysztof Moch
5c3baca1d8
fix: update types ( #3288 )
2023-10-11 22:15:58 +02:00
Krzysztof Moch
7fd7b3ff32
feat: refactor resize prop handler ( #3286 )
2023-10-11 21:56:54 +02:00
Olivier Bouillet
add87922a6
feat(android): add prop to control debug log level ( #3277 )
...
* feat: add prop to allow controlling of debug log level
* fix: move props parsing to safeGetters
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-10-10 09:47:56 +02:00
Konstantin
a855284d8d
feat(tvos): add custom image metadata option for tvos and add missing types for custom metadata properties ( #3280 )
...
* fix: add typescript types for custom metadata properties
* chore: add possibility to override image metadata of video playback
---------
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-10-07 15:14:10 +02:00
Krzysztof Moch
067adde124
chore: lint project ( #3279 )
...
* chore: update eslint config
* chore: lint lib files
2023-10-07 12:56:35 +02:00
Krzysztof Moch
92831afd5f
feat: add typescript ( #3266 )
...
* chore: update dependencies
* chore: add typescript config
* feat: add types
* chore: add build command
* chore: fix types
* fix: update linters
* chore: add display name to component
* chore: fix types
* chore: remove re-declare name variables
* docs: update changelog
2023-10-06 18:39:14 +02:00