148 Commits

Author SHA1 Message Date
Krzysztof Moch 100aefc8d4 feat: add keepScreenAwake prop (#4700) 2025-09-21 13:12:33 +02:00
Krzysztof Moch 4052514cf2 feat: add buffer config (#4692) 2025-09-13 16:37:01 +02:00
Krzysztof Moch f929d56a87 refactor: load player on initialization (#4673) 2025-09-01 13:50:51 +02:00
Krzysztof Moch 5012373b7c feat: add drm interfaces (#4657) 2025-08-26 13:50:36 +02:00
Jakub Boguski 8e40502172 docs: Update copy around Offline Video SDK on v7 (#4652) 2025-08-12 10:25:56 +02:00
Krzysztof Moch 4de93f43f1 feat: bump nitro modules version (#4641) 2025-08-04 13:43:12 +02:00
Krzysztof Moch f48567b307 feat: add plugins (#4639) 2025-08-04 10:02:59 +02:00
Krzysztof Moch 3509b5d72c feat: add muted property to onVolumeChange event (#4633) 2025-07-29 11:22:36 +02:00
Krzysztof Moch bc2a8f0ca6 docs: upgrade documentation (#4622) 2025-07-24 17:31:01 +02:00
Krzysztof Moch 2cc3430afb docs: update README (#21) 2025-06-30 18:17:28 +02:00
Krzysztof Moch 20fa017fc0 docs: add documentation (#14) 2025-06-02 15:04:22 +02:00
Krzysztof Moch 4ba3b7a61f chore: publish package 2025-06-30 19:32:12 +02:00
Kamil Moskała 9cf780276a feat(plugin): overrideMediaSourceFactory (#4566) 2025-06-05 12:36:55 +02:00
Krzysztof Moch e165cdefa1 docs: update readme (#4554) 2025-05-22 16:56:36 +02:00
Krzysztof Moch 987be4b293 fix(ios): swfit modular headers (#4527) 2025-04-24 19:02:26 +02:00
Kamil Moskała 368830954e docs: update links (#4525) 2025-04-20 22:24:00 +02:00
Krzysztof Moch b1b3db3010 feat(ios): add overridePlayerAsset to AVPlayerPlugin (#4522) 2025-04-18 18:02:55 +02:00
Krzysztof Moch 8836362609 feat(ios): allow to disable audio sessions management (#4492)
* feat(ios): allow to disable audio sessions management

* chore: lint code

* chore: fix alphabetical order
2025-04-06 16:39:18 +02:00
Kamil Moskała 41ddc5c27a feat(android): initial bitrate (#4480)
* feat(android): implement initialBitrate

* refactor: reorder type

* docs: add initialBitrate section

* fix: lint

* refactor: move `initialBitrate` into `source.bufferConfig`
2025-04-06 16:16:58 +02:00
Kamil Moskała 697afd52f6 feat(android): add asset management functions to plugin (#4494)
* feat: manage asset plugins

* fix: continue when plugin is not exoplayer plugin

* refactor: change functions plugin type

* docs: introduce new plugins
2025-03-28 13:41:13 +01:00
Kamil Moskała 4458627051 docs: update favico & add json-ld (#4477) 2025-03-19 10:57:41 +01:00
Emmanuel Ferdman 044e08a78d docs: update examples (#4468)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-03-13 20:19:49 +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
Kamil Moskała b11c1f315d docs: remove ga (#4462) 2025-03-11 17:42:22 +01:00
Krzysztof Moch 9055b14cf4 docs: update structure (#4454)
* [Preview] docs: update  (#9)

Co-authored-by: Bart Widlarz <bart@thewidlarzgroup.com>

* docs: update links

* docs: fix naming

* docs: update footer

* docs: update content

* docs: refine grammar

* fix(docs): update typo

* docs: update url

* refactor: sdk name

* docs: add issue boost link

* docs: add new roadmap to readme

* lint code

---------

Co-authored-by: Bart Widlarz <bart@thewidlarzgroup.com>
Co-authored-by: Kamil <moskalakamil07@gmail.com>
2025-03-06 12:38:25 +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
Szymon Rybczak 3edf511f9b docs: remove additional braces in config file (#4418) 2025-02-19 19:22:35 +01:00
YangJH 8dc10fd4b7 feat(web): implement web pip method and event (#4370)
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2025-01-18 15:19:55 +01:00
Olivier Bouillet 449dfb62b5 chore: fix linter (#4377) 2025-01-18 15:05:58 +01:00
Kamil Moskała 6cc1bff167 docs: fix analytics (#4368) 2025-01-13 15:01:15 +01:00
YangJH 69a7bc2d26 feat: implement enterPictureInPictureOnLeave prop for both platform (Android, iOS) (#3385)
* docs: enable Android PIP

* chore: change comments

* feat(android): implement Android PictureInPicture

* refactor: minor refactor code and apply lint

* fix: rewrite pip action intent code for Android14

* fix: remove redundant codes

* feat: add isInPictureInPicture flag for lifecycle handling

- activity provide helper method for same purpose, but this flag makes code simple

* feat: add pipFullscreenPlayerView for makes PIP include video only

* fix: add manifest value checker for prevent crash

* docs: add pictureInPicture prop's Android guide

* fix: sync controller visibility

* refactor: refining variable name

* fix: check multi window mode when host pause

- some OS version call onPause on multi-window mode

* fix: handling when onStop is called while in multi-window mode

* refactor:  enhance PIP util codes

* fix: fix FullscreenPlayerView constructor

* refactor: add enterPictureInPictureOnLeave prop and pip methods

- remove pictureInPicture boolean prop
- add enterPictureInPictureOnLeave boolean prop
- add enterPictureInPicture method
- add exitPictureInPicture method

* fix: fix lint error

* fix: prevent audio play in background without playInBackground prop

* fix: fix onDetachedFromWindow

* docs: update docs for pip

* fix(android): sync pip controller with external controller state

- for media session

* fix(ios): fix pip active fn variable reference

* refactor(ios): refactor code

* refactor(android): refactor codes

* fix(android): fix lint error

* refactor(android): refactor android pip logics

* fix(android): fix flickering issue when stop picture in picture

* fix(android): fix import

* fix(android): fix picture in picture with fullscreen mode

* fix(ios): fix syntax error

* fix(android): fix Fragment managed code

* refactor(android): remove redundant override lifecycle

* fix(js): add PIP type definition for codegen

* fix(android): fix syntax

* chore(android): fix lint error

* fix(ios): fix enter background handler

* refactor(ios): remove redundant code

* fix(ios): fix applicationDidEnterBackground for PIP

* fix(android): fix onPictureInPictureStatusChanged

* fix(ios): fix RCTPictureInPicture

* refactor(android): Ignore exception for some device ignore pip checker

- some device ignore PIP availability check, so we need to handle exception to prevent crash

* fix(android): add hideWithoutPlayer fn into Kotlin ver

* refactor(android): remove redundant code

* fix(android): fix pip ratio to be calculated with correct ratio value

* fix(android): fix crash issue when unmounting in PIP mode

* fix(android): fix lint error

* Update android/src/main/java/com/brentvatne/react/VideoManagerModule.kt

* fix(android): fix lint error

* fix(ios): fix lint error

* fix(ios): fix lint error

* feat(expo): add android picture in picture config within expo plugin

* fix: Replace Fragment with androidx.activity

- remove code that uses Fragment, which is a tricky implementation

* fix: fix lint error

* fix(android): disable auto enter when player released

* fix(android): fix event handler to check based on Activity it's bound to

---------

Co-authored-by: jonghun <jonghun@toss.im>
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2025-01-04 12:37:33 +01:00
Kamil Moskała 78770d92f5 refactor: make twg badge visible on smaller screens (#4345) 2024-12-21 08:51:45 +01:00
Kamil Moskała 16fa20411f docs: update useful projects list (#4337) 2024-12-14 16:15:18 +01:00
Kamil Moskała 7b4bd9a016 fix(docs): bump next.js version & fix meta warnings (#4327)
* chore(docs): bump `next` version

* docs: fix meta warnings
2024-12-10 19:46:55 +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
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 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 f04b233a40 chore: move minLoadRetryCount into source property (#4233) 2024-10-16 23:41:22 +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 d1883a7e00 feat(android): add settings button to control video playback speed (#4211) 2024-10-05 18:34:25 +02:00
Kamil Moskała d81e6ea31e docs: highlight maintainer services & update twg site links (#4214)
* docs: add cta block

* chore: update twg urls
2024-10-05 11:21:50 +02:00
Seyed Mostafa Hasani 74fb44ddcf docs: update the TextTrackType enum (#4216)
* chore: update the document

* chore: update the document
2024-10-05 11:20:54 +02:00
Seyed Mostafa Hasani 149924ffcb feat(android): add live video label configuration (#4190) 2024-10-02 23:37:18 +02:00
Kamil Moskała 279cc0e5ed feat(android): allow to hide specific controls (#4183)
* feat(android): enable to hide specific controls

* fix: ts

* fix: lint

* docs: update `controlsStyles` docs
2024-09-29 20:51:02 +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
Lukas c81eea54d8 fix(docs): invalid URLs in updating section (#4201) 2024-09-26 20:23:26 +02:00