Commit Graph

29 Commits

Author SHA1 Message Date
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 677b8545e1 chore(example): fix react native path 2025-01-23 17:05:18 +01: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 85a9a1472f chore: lint code 2025-01-20 13:28:27 +01:00
Krzysztof Moch a172eac96f chore(js): clean code 2025-01-20 13:25:36 +01:00
Krzysztof Moch e5314d7c31 chore: update example 2025-01-18 23:56:27 +01:00
Krzysztof Moch 1f89daa460 chore(example): bump react-native version 2025-01-18 23:52:30 +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 501be406fc fix: export types 2024-11-27 13:47:37 +01:00
Krzysztof Moch 9474bb4fdf chore(example): add more platforms and fix metro resolve 2024-11-11 13:25:36 +01:00
Krzysztof Moch 2fff50c697 chore(deps): bump nitro modules version 2024-11-11 13:19:14 +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
Dom DiCicco 98c51f114b issue 310 - Added a new property, ignoreSilentSwitch. (#403)
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.

* Added ignoreSilentSwitch usage to example app and to readme

* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
2017-04-20 14:10:06 -04:00
Ralph Pina be55cef093 bump android dependencies (#524)
* bump android dependencies

* fixed lint
2017-03-21 16:25:46 -04: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
Eric Rozell 8cc1dbda4f feat(Windows): Adds Windows support to react-native-video
This PR adds react-native-windows support to react-native-video.  The Video component is implemented with a XAML MediaPlayerElement.  Most of the features implemented by Android (and some additional ones) are implemented by Windows.

Known issues and missing features include:
* onReadyForDisplay event
* local URI convention (e.g., "broadchurch" in examples changed to require("./broadchurch.mp4")
* `playableDuration` in `onVideoProgress` event is always 0.0
* `playInBackground` is not yet supported
* Volume settings are applied, but the UWP control does not handle it properly
2016-11-09 14:49:04 -08:00
Andrew Jack 0c746e8fe8 Clean project structure (#320) 2016-09-21 09:34:25 -04:00