Commit Graph

174 Commits

Author SHA1 Message Date
Sunbreak
aaa961296b fix: remove dummy nativeOnly 2023-04-06 10:14:14 +08:00
Olivier Bouillet
afcde3e335
Merge branch 'master' into AndroidRangePlayback 2023-04-05 22:49:22 +02:00
Olivier Bouillet
081e4fa63d
Merge pull request #3065 from Sunbreak/fix-pip-property
fix: remove dummy needsToRestoreUserInterfaceForPictureInPictureStop
2023-04-05 22:44:04 +02:00
Olivier Bouillet
d5f12b92f3
Merge pull request #3064 from Sunbreak/fix-current-time
fix: remove undocumented currentTime property
2023-04-05 22:26:25 +02:00
Sunbreak
822f8c0774 fix: remove dummy needsToRestoreUserInterfaceForPictureInPictureStop 2023-03-15 10:03:42 +08:00
Sunbreak
d9e4b1efec fix: remove dummy scaleX/Y & translateX/Y property 2023-03-15 09:58:16 +08:00
Sunbreak
2ef2b8eb98 fix: remove undocumented currentTime property 2023-03-15 08:13:09 +08:00
Yavor Ivanov
e3b685b8e3
Update Video.js 2023-03-13 16:14:04 +02:00
Yavor Ivanov
7da44c238f iOS playback range 2023-02-06 23:00:26 +02: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
Axel Vencatareddy
ab5ff01129 [PROP] Fix prop onReceiveAdEvent 2022-11-16 12:11:28 +01:00
Axel Vencatareddy
f54288c54d [IOS] Fix ads when no controls displayed 2022-11-14 11:49:15 +01:00
Axel Vencatareddy
d5c245e675 Merge remote-tracking branch 'olgunkaya/master' 2022-11-09 13:14:04 +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
d67b3c45b5 fix: improve initial test for checking url validity 2022-10-02 21:33:03 +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
Liam Potter
1406b9ad08 Add focusable prop 2022-09-26 01:51:18 +01:00
olivier bouillet
3f44d6ee25 fix: ensure player receive uri update event if the uri is empty 2022-09-14 21:57:37 +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
9e92f1ef3f Merge branch 'master' of https://github.com/react-native-video/react-native-video into feature/add_api_to_retrieve_decoder_capabilities 2022-08-20 14:32:57 +02:00
olivier bouillet
268b34d5de Merge branch 'master' of https://github.com/react-native-video/react-native-video into feat/subtitles_style 2022-08-20 14:29:25 +02:00
olivier bouillet
63008ced42 feat(android): add new events for audioTrack, textTracks and videoTracks 2022-08-06 12:05:07 +02:00
陈曦
f4827e12f4 Merge branch 'master' into fix/support-cameraroll 2022-07-27 20:11:59 +08:00
olivier bouillet
b64c7dbea5 feat: add support of subtitles style configuration 2022-07-05 23:58:30 +02:00
olivier bouillet
3a4cb7f6d9 feat(android): add new apis to query device capabilities
getWidevineLevel => integer between 0 and 3
isCodecSupported(codec, width, height) => boolean
isHEVCSupported() => boolean
2022-06-23 22:54:03 +02:00
olivier bouillet
877b55c92c Merge branch 'master' of https://github.com/react-native-video/react-native-video into fix/remove_deprecated_MediaPlayer_2
# Conflicts:
#	CHANGELOG.md
2022-06-18 22:02:51 +02:00
olivier bouillet
466d7c3170 chore: cleanup documentation 2022-06-15 22:51:04 +02:00
Devon Sams
8509e3a930
Replace Image.propTypes with ImagePropTypes. 2022-06-13 11:26:40 -04:00
Eran Hammer
bf11bb95ed
Merge pull request #2689 from crunchyroll/cr-android-improvements
Crunchyroll Android Improvements
2022-06-08 22:23:07 -07:00
Armands Malejevs
8a057c553b Remove buffer progress event 2022-06-08 11:29:09 +03:00
Eran Hammer
10d8034895
Merge pull request #2625 from renchap/deprecated-prop-types
Use prop types from `deprecated-react-native-prop-types`
2022-06-05 10:44:50 -07:00
Eran Hammer
9ce8e26bd4
Update Video.js
Co-authored-by: Elliott Kember <elliott.kember@gmail.com>
2022-06-04 01:15:25 -07:00
Armands Malejev
8b317ed398
Merge branch 'master' into cr-android-improvements 2022-05-23 11:59:22 +03: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
Eran Hammer
ec8e7eba11
Merge branch 'master' into deprecated-prop-types 2022-05-04 12:34:28 -07:00
Eran Hammer
2cb2f682de
Merge pull request #2587 from owjsub/update-shaka-player
Bump shaka-player to 3.3.2
2022-04-22 00:15:34 -07:00
Eran Hammer
a0716335d7
Merge pull request #695 from chinloongtan/master
Fix nil string uri parameter error
2022-04-22 00:05:12 -07:00
Gabriel Rivero
03f77495fc
VEX-6350: add onPlaybackStateChanged prop (#25)
* Adds the new prop onPlaybackStateChanged
2022-04-19 12:12:47 -04:00
virgil
285e9ca881 fix: 🐛 support ios cameraroll 2022-04-15 17:29:56 +08:00
Renaud Chaput
4bf4ee7392
Use prop types from deprecated-react-native-prop-types
Starting with React Native 0.68, using Prop Types from `react-native` emits a warning.
2022-03-30 22:36:21 +02:00
Gabriel
2af360a7bb add useSecureView prop to prevent screen recording 2022-02-14 21:17:22 -04:00
Owen Hart
5b41407d71 Fix lint 2022-02-04 12:32:34 -08:00
namrog84
79d6ebf99e remove unsupported arch and fix uimanager for rnw release 2021-11-15 15:57:24 -08:00
Gabriel Rivero
292b53916a
VEX-6030: Reduce buffer size based on heap (#13)
This PR changes the behavior on old devices that have poor memory management.

Jira: VEX-6030
https://jira.tenkasu.net/browse/VEX-6030

The solution implied customizing the method shouldContinueLoading from RNVLoadControl to use only the available heap, performing tests on an old Nexus 5 it was determined the ideal bytes allocation to half the reported heap, that provided some buffering during ads but smooth playback during the video with no crashes (23:39 of 23:39 at the moment of writing this, video kept playing as expected after 3 ad breaks)

The fix is only targeting Marshmallow as the reduction of buffer is substantial and other versions that work properly should not get affected.

Depending on the test result of VEX-5758, this same fix can be applied to Nougat

Reviews
Major reviewer (domain expert): @armadilio3
Minor reviewer: @nickfujita
2021-11-09 14:37:52 -04:00
Armands Malejev
f712eecb4f
VEX-6011: Align AVOD resolutions with available resolutions on Content (#14)
Add support for content tracks and improve track selection to work even during ads playback.
2021-11-09 14:22:32 +02:00
Gabriel Rivero
7dbc5eb078 add config parameter maxHeapAllocationPercent 2021-11-04 13:54:43 -04:00
Nick Fujita
e27baeb065
VEX-5938: Update resource loader to handle encrypted local files (#12)
Adds offline decryption key and uses it to decrypt content during offline playback

Jira: VEX-5938
https://jira.tenkasu.net/browse/VEX-5938

- Update to accept scheme for key required to play offline playback
- Uses provided scheme to intercept call from player and return the key
- Fixes player item observer removal pattern

### Reviews
- Major reviewer (domain expert): @armadilio3
2021-10-28 10:34:05 +09:00
sdkcy
0f94a3d956 Custom skin support added for ios. onReceiveAdEvent prop added to catch ad events on ios. 2021-07-26 16:11:37 +03:00
Armands Malejev
93604b2c25
VEX-3245: Buffer Progress UI While Paused (#7)
Add support for onBufferProgress prop on Android to get buffer data even when the player is paused.
2021-07-07 18:59:55 +03:00
Adrian Mui
61e6535b2f
Feature/toggle buffering (#3)
This PR adds the property disableBuffering: boolean for android. The PR was initally created as a personal fork and referenced in crunchyroll/vilos#1227

also updated RNVLoadControl constructor and method to reflect new ExoPlayer.LoadControl api

related ticket: https://jira.tenkasu.net/browse/VEX-3776
2021-03-18 12:58:04 +02:00