yungblud
d505de5910
fix: add missing node_modules paths to metro.config.js of basic example app ( #3555 )
2024-03-01 14:43:36 +01:00
coofzilla
253ffb5956
feat(ios): Add ios support for accessing WebVTT Subtitle Content ( #3541 )
...
* feature: add support to get subtitle content data
* refactor: return a string of the subtitles
Push the parsing/formatting to the consumer side.
* chore: add types for new subtitle feature
* chore: run swiftlint and swiftformat
* chore: add documentation for new onSubtitleTracks callback
* chore: added test uri; basic implementation of feature; hotfix onTextTracks
added optional chaining for `return x?.selected` because tracks that don't have a track selected either by default or manually will return undefined and this can cause an error.
* feat: rename onSubtitleTracks to onTextTrackDataChanged
Renamed the onSubtitleTracks event to onTextTrackDataChanged across the codebase to clearly indicate the callback's purpose: being called when the text track's data changes. This change is reflected in the events documentation, example usage in VideoPlayer.tsx, and the relevant iOS implementation files for consistency and clarity, in line with PR feedback.
* chore: omit target property
target could be confusing for users so we have removed it. using the delete operator instead of using {target,...eventData} as that would give an eslint error about unused vars.
2024-02-29 14:41:04 +01:00
Krzysztof Moch
b5ac4d6a11
chore(example): bump react-native version ( #3466 )
...
* chore(example): bump react-native version
* fix(ci): bump java version
2024-01-10 08:45:37 +01:00
Olivier Bouillet
22a2655dca
fix: ensure save doesn't crash on android ( #3415 )
...
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-12-10 15:53:48 +01:00
Olivier Bouillet
fbb5654a8e
fix: revert drm type definition change ( #3409 )
...
And add drm content in android sample
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-12-08 11:58:00 +01:00
Olivier Bouillet
472820123a
chore(sample): fix lint and ts sample & add ci jobs to build samples ( #3365 )
...
* chore: start fixing linter and tsc warning and errors
* chore(ci): add basic example build
* chore: allow to build with or without ads on android
* chore: fix job definition
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
Co-authored-by: Krzysztof Moch <krzysmoch.programs@gmail.com>
2023-11-30 21:17:41 +01:00
Olivier Bouillet
fe89122524
fix(android): ads build and enable ads in android sample ( #3376 )
...
* fix: refactor androidx core version management
* chore: fix missing import rework for media3
* fix: enable IMA in sample
* chore: rename stub fie
* chore: code review, fix variable name
* chore: reorder imports
* chore: fix linking in sample
* chore: fix stub management
* chore: few cleans and ensure we don't use ima is disabled
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-24 13:17:13 +01:00
Olivier Bouillet
5beef383cb
fix(android): revert media3 update, back to 1.1.1 ( #3369 )
...
* fix: revert last media3 upgrade
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-22 15:03:57 +01:00
Krzysztof Moch
211c3c7d08
fix(example): remove dependency loop ( #3353 )
...
* chore(examples/basic): fix eslint config
* chore(examples/basic): change manual linking for react-native-video
* Update examples/basic/package.json
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
---------
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-11-17 08:38:26 +01:00
Olivier Bouillet
dfac7a6ed3
Fix(ios): restore caching feature ( #3341 )
...
* chore: fix build issue
* fix: try to fix save typings
* chore: fix podspec
* fix: update integration guide for ios Caching
* fix: update sample to test the save function
---------
Co-authored-by: olivier <olivier.bouillet@ifeelsmart.com>
2023-11-13 21:36:16 +01:00
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
Konstantin
a855284d8d
feat(tvos): add custom image metadata option for tvos and add missing types for custom metadata properties ( #3280 )
...
* fix: add typescript types for custom metadata properties
* chore: add possibility to override image metadata of video playback
---------
Co-authored-by: Olivier Bouillet <62574056+freeboub@users.noreply.github.com>
2023-10-07 15:14:10 +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 Bouillet
a0fa8312ba
Merge pull request #3216 from Duell10111/tvos-custom-playback-exerpience-fork
...
feat: allow customization of tvOS playback expierence
2023-09-13 21:27:37 +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
Konstantin Späth
8bd5525d87
chore: use bunny example video again
2023-08-25 12:57:43 +02:00
Konstantin Späth
6cbc7cdc89
chore: add chapter images
2023-08-25 12:54:37 +02:00
Konstantin Späth
b225b0f800
chore: add custom titles, description and chapters
2023-08-25 12:54:37 +02:00
Konstantin Späth
f4851ba181
chore: add tvOS example project
2023-08-11 23:59:39 +02:00
yungblud
d81d59d00f
feat: setup pod-install script with fabric enabled on Podfile
2023-07-19 16:47:56 +09:00
yungblud
0cd28cfdf1
feat: changed folder name to FabricExample
2023-07-19 16:36:52 +09:00
yungblud
805ccb9f47
feat: renamed with react-native-rename
2023-07-19 16:36:24 +09:00
yungblud
0ca348f4b5
feat: ⚡ setup kotlin
2023-07-19 16:32:19 +09:00
yungblud
650b3a6a24
feat: ⚡ setup android example app for fabric android
2023-07-19 16:31:47 +09:00
yungblud
7b6e76e2d0
feat: ⚡ setup example app new arch
2023-07-19 16:31:27 +09:00
yungblud
0be9de98d8
feat: ⚡ turn on newarch enabled on example app
2023-07-19 16:31:08 +09:00
jiyong1
bc4d2cacc5
example app change
2023-07-19 16:29:59 +09:00
jiyong1
2c2f812359
chore: update example package
2023-07-19 16:28:32 +09:00
yungblud
b2bf6f8333
chore: ⚡ chore
2023-07-19 16:25:16 +09:00
yungblud
9e9c5ec01a
feat: ⚡ added example video
2023-07-19 16:24:06 +09:00
yungblud
4ddecbf42b
feat: ⚡ modified setup
2023-07-19 16:24:00 +09:00
yungblud
f5dc4992fb
feat: ⚡ modified setup
2023-07-19 16:23:53 +09:00
yungblud
fe4e2bfcd9
feat: ⚡ Pod install
2023-07-19 16:23:45 +09:00
yungblud
f9fe2b0f38
feat: ⚡ set path
2023-07-19 16:23:39 +09:00
yungblud
70bab9e69c
feat: ⚡ added setup for exapmle
2023-07-19 16:23:06 +09:00
yungblud
617bcb36a2
feat: ⚡ added laftel video example app
2023-07-19 16:21:39 +09: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
Hampton Maxwell
c36a9cf2ef
Merge pull request #1441 from nfb-onf/1319-fullscreen-rotation-issues
...
1319 - fullscreen rotation issues with iOS built-in controls
2019-03-12 21:52:10 -07:00
Ash Mishra
b6ed6819f0
Fix missing layout calls in full-screen when using built-in video controls on iOS
2019-01-24 16:04:31 -08:00
Laurin Quast
125d5dc9c5
fix: omit packager assets from caching ( #1438 )
2019-01-24 13:15:58 +01: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
Nicolas Gonzalez
e9008cfa9e
merge CHANGELOG
2018-11-19 21:23:25 -06:00
Nicolas Gonzalez
8a3b6490dc
Updated save function README, updated video-caching example to test saving function
2018-11-06 20:33:33 -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
2260ae5b8c
Merge remote-tracking branch 'upstream/master' into implement-ios-caching
2018-07-30 21:20:34 +02:00