YangJH
17dbf6e826
feat(android): bump media3 version from v1.1.1 to v1.2.0 ( #3362 )
...
* feat(android): bump media3 version from v1.1.1 to v1.2.0
* chore: add lint file for ignore UnstableApi lint error
2023-11-20 08:20:27 +01:00
Olivier Bouillet
725ddb3110
doc: Update README.md
...
clarify doc link & v6 version as last tag is beta
2023-11-18 16:48:24 +01:00
olivier
4b2374421d
chore: release v6.0.0-beta.0
2023-11-18 15:43:22 +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
YangJH
f2e80e9f2d
feat(android): replace deprecated ExoPlayer2 with AndroidX media3 ( #3337 )
...
* feat(android): implement AndroidX media3 dependencies
* refactor(android): remove duplicate code
* refactor(android): remove unused codes
* feat(android): replace ExoPlayer2 with AndroidX media3
* fix(android): move default properties to gradle.properties
* revert(android): prevent security exception
* chore: align indent
* chore: remove redundant comments
* chore: reorder import
* fix: apply media3's legacy player control view
2023-11-18 14:13:54 +01:00
Krzysztof Moch
1ba93f9e9d
fix(ios): change isPlaybackLikelyToKeepUp check ( #3357 )
2023-11-17 17:35:22 +01:00
Krzysztof Moch
9f1bf8f913
docs: add source local file name waring ( #3359 )
2023-11-17 15:38:32 +01:00
Krzysztof Moch
0e23952cea
fix(ios): fix cache playerItemPrepareText type ( #3358 )
2023-11-17 15:09:28 +01:00
Krzysztof Moch
211c3c7d08
fix(example): remove dependency loop ( #3353 )
...
* chore(examples/basic): fix eslint config
* chore(examples/basic): change manual linking for react-native-video
* Update examples/basic/package.json
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
---------
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-11-17 08:38:26 +01:00
Krzysztof Moch
782e7e0df1
fix(ios): fix external text tracks crashes with m3u8 files ( #3330 )
...
* fix(ios): fix crash when using textTracks with m3u8
* docs: add warning to `textTracks` prop
* chore: apply code review
* chore: remove indents
2023-11-17 08:19:39 +01:00
Olivier Bouillet
8777b0a35e
Fix(ios): another video caching fix ( #3348 )
...
* fix: another fix from video caching
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-16 22:13:53 +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
abd73dca4a
chore: release v6.0.0-alpha.11
2023-11-15 21:42:30 +01:00
Olivier Bouillet
f961f952a4
fix: fix bad package release process ( #3347 )
...
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-15 21:39:34 +01:00
olivier
d9d52599af
chore: release v6.0.0-alpha.10
2023-11-13 22:29:26 +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
Olivier Bouillet
da270891fb
feat: add release-it ( #3342 )
...
* feat: add release-it
* Update package.json
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2023-11-13 21:35:27 +01:00
Krzysztof Moch
9054db35d7
feat(ios): add onBandwidthUpdate event ( #3331 )
...
* feat(ios): add onBandwidthUpdate event
2023-11-08 22:06:29 +01:00
YangJH
8fbdc28a73
fix: fixes where Android's muted prop behavior differs from iOS ( #3339 )
2023-11-08 19:39:04 +01:00
YangJH
7f49b56027
fix(ios): fix wrong fullscreen method definition ( #3338 )
2023-11-08 19:04:39 +01:00
Krzysztof Moch
6df0f7d1c0
chore(android): bump kotlin version ( #3334 )
...
* chore(android): update gradle files
* docs: update android installation section
2023-11-08 07:41:17 +01:00
Andrii Drobiazko
722ae3477a
fix(ios): player is frozen after re-focusing on the app ( #3326 )
...
* [bugfix] player is frozen after re-focusing on the app
* Fix playback rate on resume
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
---------
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2023-11-06 10:20:42 +01:00
Krzysztof Moch
cdbc856387
feat: add onVolumeChange
event ( #3322 )
...
* feat: implement `onVolumeChange` event
2023-11-04 18:11:54 +01:00
olivier
50e0b33bf6
v6.0.0-alpha.9
2023-11-04 17:00:09 +01:00
Olivier Bouillet
08b1c57fd6
chore: fix Readme ( #3332 )
...
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-04 15:02:32 +01:00
Andy Garron
68beb2701a
[Android] use explicit not-exported flag for AudioBecomingNoisyReceiver ( #3327 )
...
* using explicit not-exported flag for AudioBecomingNoisyReceiver
* androidx.core:core version 1.9.0, androix.activity:activity version 1.6.0
---------
Co-authored-by: Andy G <Andy Garron>
2023-11-04 14:59:59 +01:00
Randall71
ad0422d989
docs: fix broken link ( #3323 )
2023-10-30 09:09:27 +01:00
Olivier Bouillet
16a43dc7af
Chore/prepare alpha 9 release ( #3320 )
...
* chore: add missing PR in changeLog
* chore: add a link to previous documentation
* fix: add prepare open to build the package prior to release
* fix: do not include doc in generated package
* chore: include lib in package
* chore: fix tsc call which tries to parse docs folder
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-10-27 08:59:46 +02:00
Krzysztof Moch
9ba1ca6c32
fix(ci/docs): fix docs deploy ( #3317 )
2023-10-26 11:08:16 +02:00
Krzysztof Moch
85e30f0335
feat: move docs to github pages ( #3296 )
...
* feat(docs): setup nextra
* feat(docs): add pages
* docs: update introduction page
* docs: fix typos
* docs: fix links
* docs: update README
* docs: sync with master
* docs: remove old docs
* fix(ci/docs): fix typos
* fix(ci/docs): fix docs setup
* fix(docs): update next config
* chore(ci/docs): clean up
* chore(docs): add meta tags
* chore: apply review changes
* docs: move drm into api section
* docs: fix next config
* docs: fix links
* docs: add methods section
* chore: sync with main
* docs: add missing onAudio events
2023-10-26 08:54:14 +02: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
286418e4a5
fix(ios): remove false calls at onPlaybackRateChange
( #3306 )
2023-10-24 22:10:29 +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
Olivier Bouillet
0bfbda66e4
fix(android): ensure audio volume is changed in UI thread ( #3292 )
...
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-10-18 22:45:19 +02:00
Jay Kim
c78077ff0a
fix(android): remove kotlin-android-extensions ( #3299 )
2023-10-18 22:31:31 +02:00
Olivier Bouillet
9252663b4b
doc: create static.yml
2023-10-14 10:37:30 +02:00
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