41 Commits

Author SHA1 Message Date
Kamil Moskała 1b0726cf0e fix(ios): notification controls flow (#4854)
* fix(ios): load artwork asynchronously to unblock notification controls

* fix(ios): remove playback observer on player removal and guard artwork callback

* fix: cleaning up player

* refactor: `if` syntax

* fix: add missing cleaner

* fix: remove `rounded` from current time

* chore: update pod versions

* refactor(ios): use targeted update functions at each call site

* refactor(ios): use async/await to load artwork metadata

* fix(ios): update static now playing info after setting external metadata

* fix: find new player before updating playback state

* fix(ios): take over notification controls when registering an already-playing player

* fix(ios): clear stale artwork and guard against item change in async artwork load

* fix: guard notification controls updates against stale player item

* fix: update playback duration periodically to handle streams with initially unknown duration
2026-03-09 17:44:12 +01:00
Krzysztof Moch ff882c23d0 refactor: don't use nitro dispose (#4802) 2025-12-19 13:19:46 +01:00
Krzysztof Moch 3c9bae7741 refactor: events logic (#4798) 2025-12-11 17:38:23 +01:00
Kamil Moskała 9db3e41575 fix(nitrogen): release build issue for plugins (#4793)
* chore: bump example version

* fix(nitrogen): release build with plugins issue

* refactor: create new nitrogen files
2025-12-08 21:26:26 +01:00
Krzysztof Moch 0a6c35784d feat: enhance source loading (#4755) 2025-11-03 14:15:50 +01:00
Krzysztof Moch 8ce38cab1b fix(android): call start foreground service if needed (#4733) 2025-10-15 15:50:47 +02:00
Krzysztof Moch 6f8282616c chore: rename drm plugin package name 2025-10-10 15:40:51 +02:00
Krzysztof Moch 375fbeb0eb feat: bump nitro modules (#4720) 2025-10-03 16:14:47 +02:00
Krzysztof Moch 4ebc9b7f05 feat(android): add surface type prop (#4719) 2025-10-03 15:58:29 +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
Krzysztof Moch 4de93f43f1 feat: bump nitro modules version (#4641) 2025-08-04 13:43:12 +02:00
Krzysztof Moch 3509b5d72c feat: add muted property to onVolumeChange event (#4633) 2025-07-29 11:22:36 +02:00
Krzysztof Moch 7b8d0b879d fix: codegen config (#4616) 2025-07-21 11:54:37 +02:00
Krzysztof Moch a561d6b85d feat(ios): allow to side load subtitles when playing hls stream (#4593) 2025-07-07 10:58:20 +02:00
Krzysztof Moch c3c75b6d79 chore: release 7.0.0-alpha.0 2025-06-30 20:07:42 +02:00
pieczasz-thewidlarzgroup b31f8f0732 fix(ios): Improves playback state and buffering events (#18)
Co-authored-by: Pieczasz <bartekp854@gmail.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2025-06-25 22:38:26 +02:00
Krzysztof Moch cf34670c0a feat(ios): set proper audiovisualBackgroundPlaybackPolicy for background mode (#16) 2025-06-18 08:45:12 +02:00
Krzysztof Moch 235bc3bea3 feat: implement background audio playback and video enhancements (#15) 2025-06-15 20:07:04 +02:00
Krzysztof Moch 5de9b9a541 feat: add isPlaying property 2025-05-15 14:52:05 +02:00
Krzysztof Moch d9406e9d44 feat: allow null in replaceSourceAsync (#12) 2025-05-15 09:11:35 +02:00
Krzysztof Moch 742ddb3183 feat: events callbacks & external subtitles (#9) 2025-05-08 17:13:39 +02:00
Krzysztof Moch c165dfb3b0 feat: add fullscreen & Picture in Picture API (#7) 2025-04-30 15:20:39 +02:00
Krzysztof Moch dcffd29f37 feat(android): add support for hls & dash (#6) 2025-04-17 16:48:51 +02:00
Krzysztof Moch 047d74de38 feat: add more basic functionality (#5) 2025-04-16 22:28:25 +02:00
Krzysztof Moch 950dde6a7d chore(example): update react-native version 2025-04-07 21:28:18 +02:00
Krzysztof Moch a72c2d6078 chore: update nitro modules version 2025-04-07 19:59:45 +02:00
Krzysztof Moch 6adbba4c87 chore(ios): refactor & clean codebase 2025-01-23 15:15:08 +01:00
Krzysztof Moch 30d58d3a39 chore(infra): move to monorepo 2025-01-22 23:18:23 +01:00
Krzysztof Moch e1781e2e1a chore: rename from NitroVideo to ReactNativeVideo 2025-01-20 13:37:06 +01:00
Krzysztof Moch a172eac96f chore(js): clean code 2025-01-20 13:25:36 +01:00
Krzysztof Moch cf17963709 chore: bump nitro version 2025-01-18 23:14:20 +01:00
Krzysztof Moch c75be7f08b feat: add useVideoPlayer hook 2025-01-16 09:13:12 +01:00
Krzysztof Moch 275204f53f fix(android): no video after onDetachedFromWindow 2024-11-27 15:33:22 +01:00
Krzysztof Moch 9474bb4fdf chore(example): add more platforms and fix metro resolve 2024-11-11 13:25:36 +01:00
Krzysztof Moch 4ba3b7a61f chore: publish package 2025-06-30 19:32:12 +02:00
Laurin Quast c820a9068c Move example to examples dir and rename to basic 2018-02-28 13:37:57 +01:00
Jhen-Jie Hong d450afc83b [Android] Fix require(...) file resource on production (#429)
* Fix require(...) file resource on Android production

* Update example (use require for ./broadchurch.mp4)

* Fix MainApplication.java of example

* Add default source type
2017-01-31 07:49:23 -05:00
Andrew Jack 9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Olof Dahlbom fe6bc4f3df Support react-native > 0.40 (#437)
* Support react-native > 0.40

* Bumping major version. Breaking change.

* Upgrade example project from 0.33 => 0.40.
2017-01-11 07:43:43 -05:00
Andrew Jack 0c746e8fe8 Clean project structure (#320) 2016-09-21 09:34:25 -04:00