Commit Graph

2278 Commits

Author SHA1 Message Date
Olgun Kaya
a47eb819dc version updated 2021-10-12 17:08:46 +03:00
Armands Malejev
2fcc1de626
VEX-5825: Android player error handling improvements (#10)
Improve error handling.
2021-10-12 14:56:50 +03:00
Olgun Kaya
e7933187e2
Merge pull request #2 from ahmetberkinc/android-fullscreen-play-pause-fix
Android fullscreen play/pause bug fixed
2021-10-12 14:52:15 +03:00
ahmetberkinc
8cbbb1334f pausePlayback() function deleted because it was causing play/pause problem when content playing fullscreen
https://github.com/react-native-video/react-native-video/issues/2130
2021-10-12 12:41:10 +03:00
ahmetberkinc
a42cfdbb5c Android fullscreen play/pause bug fixed 2021-10-12 11:20:27 +03:00
Olgun Kaya
61ecc97121 version updated 2021-10-11 19:46:56 +03:00
Olgun Kaya
08952f8525 Fixed to send events only for player playing the actual content. 2021-10-11 19:45:46 +03:00
Jonas Dalesjö
d05f3dd5b9 Typo 2021-10-11 10:27:04 +02:00
Jonas Dalesjö
31f866cd9f Release 5.2.0-alpha1 2021-10-11 10:20:32 +02:00
Armands Malejev
a0b679cc07
VEX-5545: Some Android codecs don't support specific resolutions (#8)
Add support for detecting if format is supported and exclude unsupported resolutions from auto quality selection and video track info in RN.
2021-09-26 16:38:10 +03:00
Jonas Dalesjö
bf11502fdb
Merge pull request #2215 from valtech-sd/master
Resolved ignored silent switch in iOS when player is set to paused
2021-09-09 21:34:50 +02:00
Olgun Kaya
fee3654af5 version updated to 0.0.4 2021-09-04 15:31:34 +03:00
Olgun Kaya
09933acb6e Updated readme for notification about onReceiveAdEvent function property 2021-09-04 15:30:48 +03:00
Olgun Kaya
79b659d614 implemented ad event propogation towards react component from native view for android. 2021-09-04 15:27:28 +03:00
Shane Mckenna
688650a9db
Merge pull request #1 from valtech-sd/bugfix/fix-tvOS-audio-menu
Fix for tvOS native audio menu language selector
2021-08-26 15:33:10 -07:00
Shane Mckenna
a42240d554 Fix for tvOS native audio menu language selector 2021-08-23 11:59:53 -07:00
Jonas Dalesjö
724b8629f6
Merge pull request #2412 from crunchyroll/exo-pre-init
Update exoplayer to allow pre-init and content clear
2021-08-19 10:50:15 +02:00
Tuan Luong
7c17f5ec96
Update ReactExoplayerView.java 2021-08-06 10:56:07 +07:00
Olgun Kaya
7e9e9e1393 version updated 2021-08-01 14:48:56 +03:00
Olgun Kaya
7a1bc64c08 Since exo add API changed removed the ads media source implementation. 2021-08-01 14:47:11 +03:00
Olgun Kaya
112310c38d
Merge pull request #1 from olgunkaya/sdkcy-ios-receive-event
Custom skin support added for ios. onReceiveAdEvent prop added to cat…
2021-07-26 18:02:46 +03: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
Tuan Luong
4951c2e13c Merge https://github.com/react-native-video/react-native-video into feature/android-fullscreen 2021-07-04 15:18:38 +07:00
Nick
b5b5da0684 update exoplayer to allow pre-init and content clear 2021-06-30 11:34:02 +09:00
Nick Fujita
cba88fa9d8
VEX-5044: Allow exoplayer to preinit with empty source (#6)
- Allow player to be init before source is provided, and later update once a source is provided.
- Adds handling for providing a empty source in order to stop playback and clear out any existing content
2021-06-30 10:24:21 +09:00
Jonas Dalesjö
db58ba90f1
Merge pull request #2167 from redspear/1930-ios-reapply-rate-modifier
Fix: iOS rate is reset to 1.0 after play/pause #1930
2021-06-24 17:49:05 +02:00
Armands Malejev
141192a56d
Upgrade ExoPlayer to 2.13.2 (#2317)
Upgrade ExoPlayer from 2.11.4 to 2.13.2 and fix any issues related to the upgrade and deprecated method use.
2021-06-24 14:01:11 +09:00
Armands Malejev
fcc66df945
Fix AudoFocus pausing video when attempting to play (#2311)
Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances.

Fixes issue #1945

This was caused by the player requesting audio focus on each play (un-pause) and that resulted in a small window of Audio focus loss and then gain. The focus loss results in the player being paused while the player was supposed to play at the time. The solution is to keep track of Audio focus and not request new focus if we already have it.
2021-06-24 14:00:38 +09:00
Olgun Kaya
96c717d6df
Update README.md
added mention to great RobbyWH and his branch plus the property needs to be used in the project.
2021-06-22 17:46:46 +03:00
Olgun Kaya
7263b8ecc0 pre test version 2021-06-18 13:52:44 +03:00
Olgun Kaya
3fed079b34 no message 2021-06-18 13:52:03 +03:00
Olgun Kaya
f6e70de15f little positional tweak to make it look more composed on gradle build file 2021-06-18 13:51:47 +03:00
Olgun Kaya
6c46dcffa8 Merge branch 'implement-ima-sdk' into master
# Conflicts:
#	android-exoplayer/src/main/java/com/brentvatne/exoplayer/ReactExoplayerView.java
#	examples/basic/package.json
#	examples/basic/yarn.lock
#	ios/Video/RCTVideo.h
#	ios/Video/RCTVideo.m
#	ios/Video/RCTVideoManager.m
#	react-native-video.podspec
2021-06-15 15:42:07 +03:00
Tuan Luong
d094886087 keep screen on when in fullscreen mode 2021-06-13 12:06:37 +07:00
Tuan Luong
c89649b513 Merge https://github.com/react-native-video/react-native-video into feature/android-fullscreen 2021-06-13 11:06:05 +07:00
anderslemke
dcea67eb96 Make sure modifiers are applied before playing 2021-06-03 15:11:57 +02:00
Dan Levy
adf895dcdf
Fix for issue #2153 2021-05-18 09:20:32 -06:00
Armands Malejev
80873102a4
VEX-4579: Network loss handling (#5)
Add support for customizing back buffer duration and handle network errors gracefully to prevent releasing the player when network is lost.
2021-05-17 13:09:09 +03:00
Armands Malejev
f6cce0d819
VEX-4556: The app crashes when the premium episode is loaded (#4)
Fix player crashing when it is being cleared.
2021-05-07 11:37:57 +03:00
Milan Susnjar
1eb11ce7b7
Update README.md (#2292)
Fix broken link for ignoresilentswitch
2021-04-08 13:52:10 -04: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
Sean Holbert
3dc607c461
Exoplayer: Use okhttp version specified in gradle.properties (#2340)
Because React Native uses okhttp, including exoplayer causes apps to use two different versions of okhttp.  This results in some unpredictable behavior.  Clients of `react-native-video` should be able to specify the same OKHTTP version to react-native and react-native video.

See where it's specified in react-native trunk: 
- https://github.com/facebook/react-native/blob/master/ReactAndroid/gradle.properties#L15
- e1b6cd3f75/ReactAndroid/build.gradle (L452-L453)
2021-04-08 13:36:11 -04:00
Alexander Sklar
edf0e27769
Update ReactNativeVideoCPP.vcxproj (#2288) 2021-04-07 20:51:01 -04: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
Armands Malejev
6100981760
Upgrade exoplayer to 2.13.2 (#2)
Upgrade ExoPlayer from 2.11.4 to 2.13.2 and fix any related issues related to the upgrade and deprecated method use.
2021-03-17 17:49:10 +02:00
Armands Malejev
568971be77
Fix AudoFocus pausing video when attempting to play (#1)
Fix AudioFocus bug that could cause the player to stop responding to play/pause in some instances.

Fixes issue react-native-video#1945

This was caused by the player requesting audio focus on each play (un-pause) and that resulted in a small window of Audio focus loss and then gain. The focus loss results in the player being paused while the player was supposed to play at the time. The solution is to keep track of Audio focus and not request new focus if we already have it.
2021-03-15 16:51:16 +02:00
Nick
5adedb131b Update package.json version number to 5.1.1 2021-01-14 11:13:39 +09:00
Nick Fujita
88b636f158
iOS DRM Fixes for License Fetching (#2208) 2021-01-13 19:18:01 +09:00
Cameron Perry
f79782b447 Resolved an issue where setting a video to paused would ignore the “silent switch” setting 2020-11-19 16:18:31 -08:00