Commit Graph

1048 Commits

Author SHA1 Message Date
Hampton Maxwell
c8d44448c7 Remove obsolete metadata code that shouldn't have been included 2018-05-29 15:25:29 -07:00
Hampton Maxwell
fefbe801ef
Merge branch 'master' into master 2018-05-29 15:08:24 -07:00
Shlok Amin
fc6244e440 adds audioOnly option that always displays poster image (if provided) on top of player 2018-05-29 16:01:06 -04:00
Hampton Maxwell
7f011aba33 Version 2.1.1 to fix missing ExoPlayer import 2018-05-28 23:28:07 -07:00
Hampton Maxwell
e32bf759cc Merge branch 'master' of https://github.com/react-native-community/react-native-video 2018-05-28 23:25:52 -07:00
Hampton Maxwell
6ecaa7420b Add missing import for Exoplayer Player library 2018-05-28 23:25:33 -07:00
Hampton Maxwell
025770eb13
Clean up booleans
Show options as either true or false and include note about default values.
2018-05-28 22:50:42 -07:00
Hampton Maxwell
d63c690899
Add instructions for using ExoPlayer
Update Android instructions for using both ExoPlayer and the old Android player
2018-05-28 22:12:02 -07:00
Hampton Maxwell
fb0610043f Update to 2.1.0 2018-05-28 21:43:18 -07:00
Hampton Maxwell
cc9498d72e
Merge pull request #1037 from react-native-community/feature/exoplayer-repeat
Make ExoPlayer send onEnd when repeat is on
2018-05-28 21:27:11 -07:00
Hampton Maxwell
39d8c4384b Add a comment about why we send onEnd from onPositionDiscontinuity when repeat is on 2018-05-28 21:26:23 -07:00
Hampton Maxwell
5a43f62253 Generate an onEnd event when the end of the video is reached while repeat is on 2018-05-28 21:22:47 -07:00
Hampton Maxwell
0f2753fe6e
Merge pull request #1036 from react-native-community/feature/exoplayer-repeat
Support repeat on ExoPlayer
2018-05-28 21:04:46 -07:00
Hampton Maxwell
db0a17f4a9 Support repeat
Now that we have updated to a newer ExoPlayer, we can use the setRepeatMode that's available from 2.5 on
2018-05-28 21:01:22 -07:00
Hampton Maxwell
0fb2a5469e
Merge pull request #983 from peacechen/master
Upgrade ExoPlayer to 2.7.2
2018-05-28 20:52:04 -07:00
Hampton Maxwell
3bea966756
Merge pull request #771 from alexfoxy/patch-1
Fixed rate not being respected after seeking
2018-05-28 20:02:59 -07:00
Hampton Maxwell
2b934f9e4c
Merge branch 'master' into patch-1 2018-05-28 20:02:23 -07:00
Hampton Maxwell
ed49ce77bc
Merge pull request #778 from ChatLurking/fix(Android)-issue-543
Reset isCompleted flag on source change
2018-05-28 19:41:14 -07:00
Hampton Maxwell
ec2fab2c30
Clean up Windows & Android asset instructions 2018-05-28 18:59:09 -07:00
Hampton Maxwell
c3ea90bc59
Condense instructions for each platform 2018-05-28 18:51:53 -07:00
Hampton Maxwell
139c79b8ef Update NewtonSoft JSON to match react-native-windows version 2018-05-28 18:07:53 -07:00
Hampton Maxwell
bcb9d8411d
Merge pull request #882 from sm2017/patch-1
'Event' does not contain a constructor that takes 2 arguments ReactNativeVideo #878
2018-05-22 16:58:56 -07:00
Akshay Gore
cf1b606696
Merge pull request #1025 from react-native-community/update/distantSourceUrl
update README file for App Transport Security Exception configuration instructions
2018-05-22 12:52:31 -07:00
Hampton Maxwell
1868bd3402
Clean up work about transport security 2018-05-22 12:51:59 -07:00
Akshay Gore
8970a1ea97 add explanation for add modifying the ATS exception 2018-05-22 12:18:35 -07:00
Akshay Gore
9a9e36c71e update the wording 2018-05-22 00:49:51 -07:00
Akshay Gore
76cc5ec4f0 Add App Transport Security Exceptions Configuration 2018-05-22 00:43:10 -07:00
Peace
785cac6f46 Upgrade Exoplayer to 2.7.3; OkHttp to 3.9.1. 2018-05-21 09:28:59 -05:00
Hampton Maxwell
f87b6bd0e9
Merge pull request #798 from Radweb/ImplementAndroid6PlaybackRate
Implement playback rate for Android 6.0+
2018-05-20 23:04:25 -07:00
Hampton Maxwell
fe7766add4
Delay all rate changes until the player unpauses 2018-05-20 23:02:56 -07:00
Hampton Maxwell
bed9997287
Merge pull request #1016 from react-native-community/bugfix/progress-timer-ios-onend
Clear the progress timer on iOS when onEnd is reached
2018-05-20 21:53:52 -07:00
Hampton Maxwell
bedc4b5d20
Merge pull request #862 from kay-is/patch-2
Document fullscreen callbacks fix #861
2018-05-20 21:01:44 -07:00
Hampton Maxwell
7834569e6a
Merge pull request #1023 from react-native-community/bugfix/exoplayer-fullscreen
Add missing prop for enabling fullscreen
2018-05-18 13:31:41 -07:00
Hampton Maxwell
4f6baaa2ac Add missing prop for enabling fullscreen 2018-05-18 13:30:01 -07:00
Hampton Maxwell
7ed443c784
Merge pull request #1020 from react-native-community/feature/exoplayer-fullscreen
Forgot to include comment about disabling ExoPlayer fullscreen
2018-05-17 16:21:14 -07:00
Hampton Maxwell
74eadb2ba8
Merge pull request #1019 from react-native-community/feature/exoplayer-fullscreen
Enable fullscreen UI mode for ExoPlayer
2018-05-17 16:18:27 -07:00
Hampton Maxwell
d0d67eb715 Forgot to include comment about disabling ExoPlayer fullscreen 2018-05-17 16:15:15 -07:00
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