Commit Graph

112 Commits

Author SHA1 Message Date
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
45dcded576
fix(example): update metro config (#3291) 2023-10-12 10:36:15 +02:00
Olivier Bouillet
1f0137608a
feat(sample): merge ios and android samples (#3015)
* chore: split components
2023-10-07 23:14:09 +02:00
Olivier Bouillet
4dd2319dee
Merge pull request #3263 from TheWidlarzGroup/chore/bump-example-react-native-version
chore(example/basic): bump react native version
2023-09-29 22:40:50 +02:00
KrzysztofMoch
a279a0cb3a chore(example/basic): bump react native version 2023-09-28 08:25:13 +02:00
KrzysztofMoch
04b52023f7 chore: update basic example 2023-09-25 08:30:08 +02:00
olivier
ddc87acf84 fix: implement lost presentFullscreenPlayer & dismissFullscreenPlayer
These apis has been removed during swift porting
2023-09-04 23:57:45 +02:00
olivier
4aca30d308 fix: disable Google IMA by default on ios. now shall be enabled in project podfile 2023-03-12 23:29:03 +01:00
Sunbreak
9baa1391ca fix: update debug JSBundle name & rootView component 2023-03-10 11:02:02 +08:00
olivier
a3b4b94f71 chore: fix build of andrpoid sample 2023-02-07 23:15:05 +01:00
olivier
57b4a76775 fix: add stub for IMA and option to enable it on demand 2023-02-07 23:14:50 +01:00
Olivier Bouillet
9bcca0c5be
Merge pull request #2806 from iFeelSmart/feat/add_new_events_on_tracks_changed
Feature(android): new events on tracks changed
2023-01-03 18:50:38 +01:00
olivier bouillet
2b6654b458 Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
# Conflicts:
#	API.md
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	android/src/main/java/com/brentvatne/exoplayer/VideoEventEmitter.java
#	examples/basic/yarn.lock
2023-01-02 22:59:10 +01:00
olivier bouillet
11b9449692 chore: fix sample typing mismatch 2023-01-02 22:39:04 +01:00
olivier bouillet
58c719c275 fix: upgrade react-native version on basic sample 2022-12-17 16:35:37 +01:00
olivier bouillet
845f34fefd test: add fullscreen prop in sample 2022-11-03 08:26:31 +01:00
olivier bouillet
64e024d149 Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
# Conflicts:
#	CHANGELOG.md
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	examples/basic/src/VideoPlayer.android.tsx
2022-10-29 15:20:36 +02:00
olivier bouillet
c197271889 chore: revert strange url in sample 2022-10-02 21:33:24 +02:00
olivier bouillet
f0a7a636c0 Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/ensure_player_stop_on_invalid_url
# Conflicts:
#	CHANGELOG.md
2022-10-02 21:25:26 +02:00
olivier bouillet
88ddd0702b demo: update sample to support invalid uri 2022-09-14 21:58:59 +02:00
olivier bouillet
5aa4d6697d Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/add_new_events_on_tracks_changed
# Conflicts:
#	android/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
2022-09-12 21:58:51 +02:00
olivier bouillet
747665b5a3 chore: update yarn.lock 2022-09-11 17:02:06 +02:00
olivier bouillet
568e1806a2 feat(sample): add an option to make controls testable in basic sample 2022-09-11 17:01:53 +02:00
olivier bouillet
710a5b4664 test(android): use new on*Tracks events in sample 2022-08-06 12:09:35 +02:00
olivier bouillet
8408664600 feat(android): add sample to test decoder capabilities 2022-06-23 22:54:47 +02:00
olivier bouillet
466d7c3170 chore: cleanup documentation 2022-06-15 22:51:04 +02:00
Tai Le Tuan
daf5e595ec
feat: upgrade exoplayer to v2.17.1 (#2498)
Describe the changes
Upgrade ExoPlayer to version 2.17.1

Provide an example of how to test the change
Tested with a forked of react-native-video-test

* Update exoplayer to v2.15.1

* feat: upgrade ExoPlayer to version 2.17.1

* chore: update CHANGELOG

* remove ExoPlayerFullscreenVideoActivity

* Fix build issues

* Fix build & runtime issues

Co-authored-by: Eran Hammer <eran@hammer.io>
Co-authored-by: Armands Malejev <armands.malejevs@gmail.com>
2022-06-15 10:24:55 -07:00
olivier bouillet
fd63607221 chore(android): update yarn.lock 2022-06-10 23:58:30 +02:00
Eran Hammer
3666fd8d42
Merge pull request #2710 from iFeelSmart/chore/enable_sample_on_androidtv
test(android): enable app on androidtv
2022-06-05 10:43:47 -07:00
olivier bouillet
99ba90cc09 test(android): enable app on androidtv 2022-06-03 22:02:31 +02:00
olivier bouillet
556192da1d test(android): add additional sample streams 2022-06-03 21:51:53 +02:00
Nick Fujita
68b9db4d11
iOS Swift Conversion (#2527)
Converts iOS implementation from Objective-c to Swift

# During the conversion process some updates to the code structure were also made
- Modularize codebase from single file to smaller focused files
- Untangled large nested IF statements
- Added more null checks, since Swift is more strict with null pointers
- Added property to allow for decoding of local video sources with self contained key for offline playback
- Updates example apps to test react-native 0.63.4 and uses auto native dependency imports for android and ios
2022-05-19 22:29:25 +09:00
olivier bouillet
3d40461a32 fix: improve basic player
- allow to set multiple video to to play and zap to next channel
- display toast on error
- add resizing test
- add a seek bar
- add text and audio tracks picker
- add loader during buffering
- add repeat mode test
- add toggle fullscreen
2022-04-26 23:00:43 +02:00
olivier bouillet
603956b893 chore(sample): move source in source folder 2022-04-26 19:19:41 +02:00
olivier bouillet
2657441113 chore: fix bad default state 2022-04-23 22:54:34 +02:00
olivier bouillet
da4ebcee78 chore: add yarn android shortcut 2022-04-23 22:27:17 +02:00
olivier bouillet
a0c9b4e090 fix: move basic sample to typescript 2022-04-23 22:25:44 +02:00
olivier bouillet
89f6c40686 fix(android): update build tools 2022-04-23 22:15:11 +02:00
olivier bouillet
b0e25bea8f fix: runtime issue 2022-04-23 22:14:38 +02:00
olivier bouillet
c56848c5b9 fix(android) : allow clearTextTraffic for easier testing 2022-04-23 21:52:41 +02:00
olivier bouillet
02b1399463 fix(android): allow multidex support 2022-04-23 21:52:08 +02:00
namrog84
79d6ebf99e remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
Jon Thysell
d7ac23d39b
React Native Windows updates (#2206)
Various updates for React Native Windows

**Docs**
* Fixed windows installation in readme
* Added local dev setup instructions

**Build**
* Added VS solutions for RNW 0.61, 0.62, and 0.63+
* Added clang-formatting definition

**Features**
* Fixed autolinking for RNW 0.63+
* Added support for `rate` property

**Examples**
* Upgraded examples/basic to RN 0.61 and replaced broken windows app
2021-04-08 13:37:35 -04:00
Harrison Mendonça
052f49e472 Update index.ios.js 2020-04-20 20:12:34 -03:00
Benoit Dion
81cfd4e629 Bring the basic example back to a runnable state 2019-09-23 08:52:05 -04:00
vok
a1679efef2 chang maven to google
(cherry picked from commit 8a8f21547e)
2019-07-28 15:48:06 +02:00
vok
6bd8f33f0e change minSdkVersion back to 16
(cherry picked from commit a96fa33714)
2019-07-28 15:43:28 +02:00
Daniel Mariño
88d3a4a0ba cpck androidx 2019-07-28 15:42:32 +02:00
Daniel Mariño Ruiz
a45e857bbc
Merge branch 'release/5.0.0' into update-androidx 2019-07-25 10:05:53 +02:00
vok
222adf5f7b remove matchingfallbacks in example 2019-07-24 09:02:50 +07:00
Daniel Mariño Ruiz
d748d17aea
Update MainApplication.java
fix indent
2019-07-23 12:02:31 +02:00
vok
8a8f21547e chang maven to google 2019-07-06 07:37:38 +07:00
vok
438df8b188 change dead code in example 2019-06-25 15:12:56 +07:00
vok
1cd979625f remove duplicated line in example 2019-06-25 15:01:29 +07:00
vok
a203aeadea pre androidX, upgrade to 28 2019-06-21 09:32:51 +07:00
vok
3762a323fd remove duplicate ReactVideoPackage() 2019-06-20 09:02:06 +07:00
vok
a96fa33714 change minSdkVersion back to 16 2019-06-19 14:46:20 +07:00
vok
4f36eb1254 update for androidX 2019-06-19 14:37:21 +07:00
Nicolas Gonzalez
67a963328a updated basic example, added filterEnabled flag, check for HLS playlist before applying filter 2018-12-13 21:30:38 -06:00
Ash Mishra
bbf37ed5cb Removed autoRotate from codebase; added TV_OS target check for
orientation; added tvOS target to examples/basic/ios project
2018-10-11 16:42:11 -07:00
Laurin Quast
6b55d8a890 update basic sample to newest react-native version 2018-08-01 00:09:01 +02:00
Laurin Quast
c820a9068c Move example to examples dir and rename to basic 2018-02-28 13:37:57 +01:00