Commit Graph

636 Commits

Author SHA1 Message Date
Hampton Maxwell
052e532b58 Add support for fullscreen on ExoPlayer 2018-05-17 16:13:12 -07:00
Hampton Maxwell
ad8f6b49f5 Support setting fullscreen UI and generating events for it 2018-05-17 15:42:44 -07:00
Hampton Maxwell
97fac22524
Merge pull request #1018 from react-native-community/patch-1
Fix playableDuration in onProgress & return seekableDuration
2018-05-17 14:16:53 -07:00
Hampton Maxwell
489b16f11e Base bufferedDuration on percentage & total duration. Add seekableDuration 2018-05-17 14:12:04 -07:00
Hampton Maxwell
2d1c0023d0 Clear the progress timer at video end, restore on seek 2018-05-15 22:19:12 -07:00
Hampton Maxwell
f3aec37261
Merge pull request #897 from alejandrorangel/master
add seekableDuration to Android
2018-05-15 18:51:15 -07:00
Hampton Maxwell
77b927157a
Merge pull request #871 from habovh/master
Add requiresMainQueueSetup method
2018-05-15 18:17:58 -07:00
Hampton Maxwell
25f844599e
Merge pull request #949 from masarusanjp/use-local-variable
fxied an issue that does not use passed argument
2018-05-15 18:17:31 -07:00
Rayron Victor
4e85d3a1c4 Using SDK Version variables from root project
Instead of assuming the `compileSdkVersion`, `targetSdkVersion`, etc, read it from the root project.
Default `compileSdkVersion` and `targetSdkVersion` to the latest versions.

Android Target API Level 26 will be required in August 2018.
https://android-developers.googleblog.com/2017/12/improving-app-security-and-performance.html
And the React Native team is already working on this:
facebook/react-native#17741
facebook/react-native#18095
2018-04-24 14:51:07 -03:00
Peace
2477288ea2 Upgrade ExoPlayer to 2.7.2 2018-04-03 12:19:04 -05:00
seansy
28bae40c6c Fixes #963
Bug happens when uri is changed for a video.

The fix:
Remove player layer before addPlayerItemObservers so _playerItemObserversSet is still set to NO if observers have already been removed.
2018-03-26 09:07:25 -07:00
Isaiah Grey
737d348ff0
Merge pull request #610 from lechinoix/patch-1
Add link to propTypes
2018-03-10 13:35:35 -08:00
Isaiah Grey
3a923e34e5
Merge pull request #928 from cranberyxl/docs/poster
Document poster prop
2018-03-10 13:27:18 -08:00
masarusanjp
cfab35d484 fxied an issue that does not use passed argument 2018-02-28 11:15:42 +09:00
Matt Apperson
0d411a25f9
add maintainer to contributors 2018-02-20 10:42:27 -05:00
Param Aggarwal
2c966fe7ad
Fix playableDuration attribute of onProgress event 2018-02-17 19:37:31 +05:30
Andy Stanberry
cf9a5fc635 Document poster prop 2018-01-31 17:53:37 -05:00
Brandon Moon
f2e182addc Bring things up to date with master from copied code 2018-01-29 13:32:31 -07:00
Brandon Moon
5d274631c8 Link up cookies so exoplayer can use them 2018-01-29 13:25:58 -07:00
emrah88
12f93b5463 null pointer 2018-01-15 17:10:54 +01:00
emrah88
5c8e1bd6d4 ensuring datasource is build with headers 2018-01-15 16:15:25 +01:00
Emrah Kaya
db1d83b83e constants renamed to requestheader 2018-01-13 21:29:53 +01:00
Emrah Kaya
57a16b23c5 stringsOnlyObject does typechecking before coercion to string 2018-01-13 21:28:24 +01:00
Alejandro Rangel
7d48f22d98 add seekableDuration to android ReactVideoView 2018-01-11 09:16:29 -08:00
Austin Witherow
093ffccd9b fix(ios): crash due to persistent keyPath observer (#600) 2018-01-02 12:06:43 -05:00
sm2017
dd242476a3
Update ReactVideoView.cs
Fix 'Event' does not contain a constructor that takes 2 arguments ReactNativeVideo
2017-12-24 14:46:02 +03:30
sm2017
64191298e5
Update ReactVideoView.cs
Fix 'Event' does not contain a constructor that takes 2 arguments ReactNativeVideo
2017-12-24 14:44:00 +03:30
Jordan Becker
ce7c732453
Add requiresMainQueueSetup method
Since RN 0.49, `requiresMainQueueSetup` needs to be defined if the module overrides `constantsToExport`.
2017-12-07 19:35:32 +01:00
vengadesh
ebe138fa8d Raising error for source exception (#799) 2017-12-06 11:56:41 -05:00
Kay Plößer
c0a8f7c0c9
Document fullscreen callbacks fix #861 2017-11-24 16:22:41 +01:00
Ahmed Hassan
6e43701092 added native progress notification (#734) 2017-11-18 14:10:58 -08:00
Mathias Scherer
132d420b6a
updates readme with additional infos for expansion files
adds the info that the mp4 files inside expansion files have not to be compressed to get it working
2017-11-06 13:17:56 +01:00
thomasobrien99
1ba6b062e4 View.propTypes -> ViewPropTypes (#824) 2017-11-03 14:38:37 -04:00
Mathias Scherer
fe69081576
adds supported file extensions Android Expansion files
adds mp4 as the only supported file extension for Android Expansion files
2017-11-03 12:08:30 +01:00
Marc-Olivier Duval
3e293407e8 updated readme to with a guid to setup exoplayer 2017-10-24 22:50:20 -04:00
Marc-Olivier Duval
0fe621a26d Updated exoplayer readme 2017-10-24 22:42:51 -04:00
Marc-Olivier Duval
ee5818b6ff Fix bug with playInBackground 2017-10-24 22:42:41 -04:00
Marc-Olivier Duval
f7b7f2666a Apply fix in playInBackground props 2017-10-24 21:49:46 -04:00
Jan Lievens
2ae99bd484 remove observers before adding thus preventing multiple observers for the same notification 2017-10-24 09:52:10 +02:00
Emrah Kaya
270fdfb657 added optional request headers for remote assests (android & ios) 2017-10-02 20:12:59 +02:00
Dan Hodos
10cba5ad5c Reset progress observer on update interval changes 2017-09-28 21:37:52 -04:00
Dan Hodos
435669a944 Extract method to add observer for progress update 2017-09-28 21:37:26 -04:00
Louis Capitanchik
3e0f084c62
Implement 'rate' prop for android devices
- Version locked to 6.0+ because that is the version that introduced setPlaybackParams
- Ignores rate prop as before on android versions lower than 6.0
2017-09-27 16:13:29 +01:00
Anne Glines
1bdd8720fb Reseting isCompleted flag on source change 2017-09-11 22:30:17 -07:00
Alex Fox
451f8d0919 Fixed rate not being respected after seeking
Referenced in issue => https://github.com/react-native-community/react-native-video/issues/763
2017-09-07 13:16:44 +01:00
Alexander Nazarov
f73b7a0484 Fixed seekableDuration for time ranges with non-numeric duration (#709) (#728) 2017-09-06 21:12:34 -04:00
Landon Sherwood
a4ada46b30 Show iOS controls if not fullscreen
Show controls without calling the present full screen method.
2017-08-29 16:39:18 -05:00
Matt Apperson
4bf2b2c45f 2.0 bump 2017-08-16 15:20:47 -04:00
Matt Apperson
472ad49656 1.2.0 published 2017-08-16 15:19:51 -04:00
Mark Miyashita
4ca5956e58 Remove react-native-windows as a direct dependency of react-native-video (#730) 2017-08-11 12:44:38 -04:00