Commit Graph

2375 Commits

Author SHA1 Message Date
Olivier Bouillet
ab0398d7dc
Chore/refactor in api folder (#3285)
* feat: add prop to allow controlling of debug log level

* fix: move props parsing to safeGetters

* chore: fix typing

* chore: fix types and lintter

* chore: move file VideoEventEmitter

* fix: make VideoEventEmitter player agnostic

And create a dedicated API data for that

* chore: move generic file in API folder

---------

Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-10-13 17:27:55 +02:00
Olivier Bouillet
ad581ea2dc
chore(android): Fix/make videoEventEmitter agnostic on player (#3281) 2023-10-12 21:46:40 +02:00
Olivier Bouillet
a4073d3e70
chore(android): fix some android studio warning (#3290)
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-10-12 10:36:43 +02:00
Krzysztof Moch
45dcded576
fix(example): update metro config (#3291) 2023-10-12 10:36:15 +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
Krzysztof Moch
03a579e10f
fix(ci): bump node version (#3289) 2023-10-11 21:55:42 +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
Craig Martin
0ad2e52499
Fix: iOS - audio does not work with headphones (#3284)
* Fix: Make AVAudioSession.Category.playAndRecord opt-in
* Fix: Call configureAudio when audioOutput is changed
* Update CHANGELOG.md
2023-10-09 22:27:29 +02:00
Olivier Bouillet
1f0137608a
feat(sample): merge ios and android samples (#3015)
* chore: split components
2023-10-07 23:14:09 +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
Leonardo Russo
e6e8f621fe
fix(ios): resuming video ad after closing the in-app browser on iOS (#3275) 2023-10-06 18:43:35 +02:00
Konstantin
7b6b84c8cb
fix(tvOS): compile issues with tvOS linked to earpiece & pip (#3276) 2023-10-06 18:42:53 +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
Facundo Gutierrez
f4acaccd80
fix(ios): fairplay different key per asset (#3261)
* [Fix] Replace _loadingRequest instance with _loadingRequests dictionary to support multiple concurrent requests
* Remove stored finished requests from dictionary
* Keep contentId as is, and send loadingRequest.url in licenseUrl.
* Update DRM.md

---------

Co-authored-by: Facundo Gutierrez <facundo.gutierrez@tcc.com.uy>
2023-10-05 21:37:28 +02:00
Olivier Bouillet
c6ee294403
Merge pull request #3245 from TheWidlarzGroup/feat/playback-ref-functions
feat: expose playback functions
2023-09-30 09:28:49 +02:00
Krzysztof Moch
6e98cb9700
Merge branch 'master' into feat/playback-ref-functions 2023-09-29 22:44:32 +02:00
Olivier Bouillet
4dd2319dee
Merge pull request #3263 from TheWidlarzGroup/chore/bump-example-react-native-version
chore(example/basic): bump react native version
2023-09-29 22:40:50 +02:00
Olivier Bouillet
21de75eac6
Merge pull request #3254 from TheWidlarzGroup/feat/is-codec-supported-update
feat(android): update `isCodecSupported` to return enum
2023-09-29 18:28:18 +02:00
KrzysztofMoch
f85983ba9c docs: update changelog 2023-09-28 09:09:46 +02:00
KrzysztofMoch
a279a0cb3a chore(example/basic): bump react native version 2023-09-28 08:25:13 +02:00
Olivier Bouillet
0655e9d273
Merge pull request #3239 from iFeelSmart/fix/compile_xcode_17_beta
fix: fix build on xcode 17 beta
2023-09-27 22:06:04 +02:00
Olivier Bouillet
9f938682a7
Merge pull request #3255 from TheWidlarzGroup/chore/update-namespace-handler
chore(android): fix react native 0.73 support
2023-09-27 21:47:06 +02:00
KrzysztofMoch
01c8e54e12 chore(android/gradle): add suport for AGP 8 2023-09-25 12:24:08 +02:00
KrzysztofMoch
842a156b3c chore(android/gradle): remove doubled compileOptions 2023-09-25 12:21:21 +02:00
KrzysztofMoch
4ad210b6c7 chore(android/gradle): update namespace handler 2023-09-25 12:21:21 +02:00
KrzysztofMoch
eb77617eff docs: update changelog 2023-09-25 08:51:52 +02:00
KrzysztofMoch
f79e68ba46 docs: update API docs 2023-09-25 08:34:38 +02:00
KrzysztofMoch
04b52023f7 chore: update basic example 2023-09-25 08:30:08 +02:00
KrzysztofMoch
812e9dc84f feat(android): update isCodecSupported to return enum 2023-09-25 08:17:03 +02:00
KrzysztofMoch
f9743fdbd6 chore: invert setPlayerPauseState logic 2023-09-22 09:04:20 +02:00
KrzysztofMoch
106257aa80 Revert "chore: update basic example"
This reverts commit c991a0e8f7.
In order to avoid big conflicts with #3015
2023-09-21 08:12:59 +02:00
KrzysztofMoch
421712825b chore: rename setPlayerStatus to setPlayerPauseState 2023-09-21 07:25:21 +02:00
Olivier Bouillet
01a47840be
Merge pull request #3248 from yooasd11/master
fix: Player shows black screen on re-enter (iOS)
2023-09-20 11:00:56 +02:00
Olivier Bouillet
300b583bed
Merge pull request #3246 from chrisglein/sdkVersion
Remove explicit SDK version for Windows builds
2023-09-20 10:59:53 +02:00
Olivier Bouillet
03306d9c76
Merge pull request #3241 from lrusso/master
Fix: Not showing video ads when the PIP mode is enabled on iOS
2023-09-19 19:56:21 +02:00
lrusso
362f80c23f adding note regarding the pip mode on iOS 2023-09-19 14:39:18 -03:00
Coco
be8cdfdd33 [bugfix] Player shows black screen on re-enter 2023-09-19 17:42:48 +09:00
Olivier Bouillet
f066001090
Merge branch 'master' into sdkVersion 2023-09-19 09:09:13 +02:00
Olivier Bouillet
ef5c63fdd2
Merge pull request #3247 from chrisglein/windowsOnError
Fix lack of `onError` event for Windows
2023-09-19 08:56:33 +02:00
Olivier Bouillet
a4e59f4600
Merge pull request #3243 from TheWidlarzGroup/chore/bump-ci-node-version
chore(ci): bump actions node version
2023-09-19 07:48:48 +02:00
Chris Glein
0d515b646c Add changelog 2023-09-18 18:21:01 -07:00
Chris Glein
bd4064f877 Add changelog entry 2023-09-18 18:19:57 -07:00
Chris Glein
f39c97d0f6 Update API.md to show onError for Windows 2023-09-18 18:16:01 -07:00
Chris Glein
06593344f6 Fix lack of onError event
The native code was receiving the event, but not reasing the event.
Which [apparently](https://github.com/microsoft/react-native-windows/issues/4206) needs to be prefixed with "top" and then that turns into "onError".

Note that this raises the event, but no error object is included. Better than nothing.
2023-09-18 18:08:21 -07:00
Chris Glein
50f59b8a61 Don't force Windows SDK versions
Fallback to them if undefined
2023-09-18 14:53:51 -07:00
KrzysztofMoch
01ce04c7ac docs: update change log 2023-09-18 16:22:31 +02:00
KrzysztofMoch
c991a0e8f7 chore: update basic example 2023-09-18 16:20:14 +02:00
KrzysztofMoch
e7276922a2 docs: update API docs 2023-09-18 14:21:20 +02:00