YangJH
336eb44dc6
fix: fix typo ( #3497 )
2024-01-23 22:14:21 +01:00
Krzysztof Moch
51828f350f
chore(typescript): upgrade enum types ( #3453 )
2024-01-04 08:48:56 +01:00
Krzysztof Moch
f20d68b814
fix: add missing audioOutput
prop ( #3450 )
2023-12-28 14:19:05 +01:00
Delphine Bugner
d986b7bf57
fix(ReactVideoProps): add accessibility & testID in typing ( #3434 )
2023-12-21 07:44:11 +01:00
Olivier Bouillet
fbb5654a8e
fix: revert drm type definition change ( #3409 )
...
And add drm content in android sample
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-12-08 11:58:00 +01:00
Tarun Chauhan
72679a7d63
fix: add allowsExternalPlayback missing on ReactVideoProps ( #3398 )
2023-12-04 17:59:28 +01:00
Axel Vencatareddy
d05231d76b
feat(ad): add data to onReceiveAdEvent ( #3378 )
...
* feat(ad): add adData to onReceiveAdEvent
* fix: remove adData from response if empty
* fix: add getAdData to stub file
* chore: fix build without IMA
* fix: rename `adData` to `data`
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-27 21:43:30 +01:00
YangJH
2648502b36
feat: implement startPosition ( #3355 )
...
* feat(android): implement startPosition
* feat(ios): implement startPosition
* feat: implement startPosition type
* docs: fix typo
* docs: update startPosition
* refactor: put startPosition inside source prop
- put startPosition inside source prop
- rename existing prop (startTime, endTime)
* docs: update startPosition property description
* fix: fix invalid assignments
* refactor: remove redundant optional chaining
* feat: allow "0" to work too
2023-11-24 12:52:46 +01:00
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
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
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