163 Commits
Author SHA1 Message Date
a01d203bcb chore: Upgrade to Nitro 0.35.0 (#4849)
* chore: Upgrade to Nitro 0.35.0

* Replace `bigint` with `UInt64`

* chore: Regenerate specs now for Nitro 0.35.0

* fix: Use Int64 as it can be -1

* Remove unnecessary patches

* fix: change duration type to number

* fix: avoid mutating VideoInformation fields after init

* chore: regenerate specs with new duration type

* fix: use Double for duration in VideoInformation

* docs: react-native-nitro-modules version

* chore: update react-native-nitro-modules version (rnv & drm)

---------

Co-authored-by: fnwk <filip.wnek200@gmail.com>
2026-03-18 22:44:49 +01:00
Kamil MoskałaandGitHub a1cc9eb7e3 docs: change fundaments with fundamentals (#4836) 2026-02-04 20:25:35 +01:00
Kamil MoskałaandGitHub 0b273d16de docs: refactor tabs (#4827)
* docs: refactor tabs

* docs: update video-view docs

* docs: lowercase tabs

* feat(docs): add downloading section

* chore: add chapters example video

* docs: update sidebar type

* docs: update tab heading

* docs: add title to fundaments

* docs: lowercase plugin

* docs(sidebar): remove link to offline sdk

* docs: add `ads` tab

* chore: add `build` to eslint ignore

* docs: remove theme mermaid

* refactor: update deploy values

* chore: upper case tabs

* refactor: update configuration tabs name

* feat: add `ask for plugin` tab

* refactor: update analytics tab

* docs: update player class tip

* docs: make chapters paid

* docs: update utm's

* docs(downloading): update intro

* chore: bump `docusaurus-ui` package to 0.1.2

* fix: update paths

* docs: update dashes

* docs: update downloading events example imports

* docs: update readme

* docs: update case

* refactor: update intro & offer
2026-02-04 20:19:49 +01:00
Kamil MoskałaandGitHub b30eeef89c chore: resolve lint & tsc errors (#4823) 2026-01-22 00:20:06 +01:00
Filip WnękandGitHub 2a4f2da296 docs: add pro player banner to README (#4818) 2026-01-14 14:23:07 +01:00
Kamil MoskałaandGitHub 69f3dd9e31 docs: update landing page (#4807) 2025-12-29 20:52:14 +01:00
Kamil MoskałaandGitHub 6aaeebce8a docs: add eslint (#4805)
* docs: add eslint

* chore: remove @eslint/css

* feat(docs): add custom eslint rule for css variables

* ci: check lint on css changes in docs

* ci: update lefthook configuration
2025-12-24 00:07:13 +01:00
Kamil MoskałaandGitHub 84d7abb89f docs: restyle (#4803)
* docs: add twg theme

* docs: import theme css
2025-12-23 12:13:05 +01:00
Krzysztof Moch b2ea78bd45 docs: sync with branches changes 2025-12-22 12:32:29 +01:00
Krzysztof MochandGitHub 0f318bacbf chore: prepare for beta release (#4796) 2025-12-09 17:35:37 +01:00
Krzysztof Moch 09e2c97ed7 docs: fix links 2025-10-26 12:28:43 +01:00
Søren FrederiksenandGitHub e3813d057f docs: fix minor issues in v7 intro.md, installation.md documentation (#4741) 2025-10-23 16:06:47 +02:00
Krzysztof Moch 6f8282616c chore: rename drm plugin package name 2025-10-10 15:40:51 +02:00
Krzysztof MochandGitHub 4ebc9b7f05 feat(android): add surface type prop (#4719) 2025-10-03 15:58:29 +02:00
zoriyaandGitHub 07b55755d1 refactor: event handler to use add/remove style (#4708) 2025-10-02 12:53:32 +02:00
Krzysztof MochandGitHub 100aefc8d4 feat: add keepScreenAwake prop (#4700) 2025-09-21 13:12:33 +02:00
Krzysztof MochandGitHub 4052514cf2 feat: add buffer config (#4692) 2025-09-13 16:37:01 +02:00
Krzysztof MochandGitHub f929d56a87 refactor: load player on initialization (#4673) 2025-09-01 13:50:51 +02:00
Krzysztof MochandGitHub 5012373b7c feat: add drm interfaces (#4657) 2025-08-26 13:50:36 +02:00
Jakub BoguskiandGitHub 8e40502172 docs: Update copy around Offline Video SDK on v7 (#4652) 2025-08-12 10:25:56 +02:00
Krzysztof MochandGitHub 4de93f43f1 feat: bump nitro modules version (#4641) 2025-08-04 13:43:12 +02:00
Krzysztof MochandGitHub f48567b307 feat: add plugins (#4639) 2025-08-04 10:02:59 +02:00
Krzysztof MochandGitHub 3509b5d72c feat: add muted property to onVolumeChange event (#4633) 2025-07-29 11:22:36 +02:00
Krzysztof MochandGitHub bc2a8f0ca6 docs: upgrade documentation (#4622) 2025-07-24 17:31:01 +02:00
Krzysztof MochandGitHub 2cc3430afb docs: update README (#21) 2025-06-30 18:17:28 +02:00
Krzysztof MochandGitHub 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łaandGitHub 9cf780276a feat(plugin): overrideMediaSourceFactory (#4566) 2025-06-05 12:36:55 +02:00
Krzysztof MochandGitHub e165cdefa1 docs: update readme (#4554) 2025-05-22 16:56:36 +02:00
Krzysztof MochandGitHub 987be4b293 fix(ios): swfit modular headers (#4527) 2025-04-24 19:02:26 +02:00
Kamil MoskałaandGitHub 368830954e docs: update links (#4525) 2025-04-20 22:24:00 +02:00
Krzysztof MochandGitHub b1b3db3010 feat(ios): add overridePlayerAsset to AVPlayerPlugin (#4522) 2025-04-18 18:02:55 +02:00
Krzysztof MochandGitHub 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łaandGitHub 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łaandGitHub 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łaandGitHub 4458627051 docs: update favico & add json-ld (#4477) 2025-03-19 10:57:41 +01:00
Emmanuel FerdmanandGitHub 044e08a78d docs: update examples (#4468)
Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2025-03-13 20:19:49 +01:00
Krzysztof MochandGitHub 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łaandGitHub b11c1f315d docs: remove ga (#4462) 2025-03-11 17:42:22 +01:00
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łaandGitHub 13a5da8955 chore: update utm links (#4447)
* chore: update utm links

* Update package.json
2025-03-04 15:32:40 +01:00
Szymon RybczakandGitHub 3edf511f9b docs: remove additional braces in config file (#4418) 2025-02-19 19:22:35 +01:00
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 BouilletandGitHub 449dfb62b5 chore: fix linter (#4377) 2025-01-18 15:05:58 +01:00
Kamil MoskałaandGitHub 6cc1bff167 docs: fix analytics (#4368) 2025-01-13 15:01:15 +01:00
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łaandGitHub 78770d92f5 refactor: make twg badge visible on smaller screens (#4345) 2024-12-21 08:51:45 +01:00
Kamil MoskałaandGitHub 16fa20411f docs: update useful projects list (#4337) 2024-12-14 16:15:18 +01:00
Kamil MoskałaandGitHub 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 BouilletandGitHub 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