Commit Graph

69 Commits

Author SHA1 Message Date
Ash Mishra
77c48c9dfc added an onCaptionsDeviceSettings event 2018-09-04 15:19:32 -07:00
Ash Mishra
f45d6a2c3e Added fullscreen options for iOS Player 2018-09-04 15:15:30 -07:00
Hampton Maxwell
a0c196f4c9
Merge pull request #926 from ymuzi/master
add ipod-library support
2018-09-03 18:30:30 -07:00
Bryan van Wijk
cd75e72180 Rename to bufferConfig and use stopPlayback 2018-08-02 09:20:08 +02:00
Bryan van Wijk
dde27a320e Pass loadControl parameters as video props 2018-08-01 15:58:02 +02:00
Bryan van Wijk
092ba33e95 Expose DefaultLoadControl parameters Android 2018-07-31 17:23:20 +02:00
Hampton Maxwell
06eb1c57d8 Support selecting audio tracks
Implements audio track selection on iOS & Android ExoPlayer. The prop mirrors the API for selectedTextTrack.
2018-07-17 14:14:21 -07:00
Hampton Maxwell
d003c87b57 Add onAudioBecomingNoisy for iOS 2018-07-12 21:48:58 -07:00
Hampton Maxwell
c67dd7b8ef
Merge branch 'master' into master 2018-06-22 18:57:58 -07:00
Hampton Maxwell
2649242178
Remove duplicate outdated stringsOnlyObject implementation 2018-06-22 18:46:48 -07:00
Hampton Maxwell
9401328d46 Support specifying an alternate seek tolerance on iOS 2018-06-20 22:09:45 -07:00
Hampton Maxwell
06fafc88bf
Merge branch 'master' into master 2018-06-20 17:03:52 -07:00
Hampton Maxwell
b785060b30
Add prop type for audioOnly 2018-06-20 16:52:48 -07:00
Hampton Maxwell
7793e00e9f Add TextTrackType export and textTracks prop 2018-06-12 21:04:15 -07:00
Hampton Maxwell
bd30454aea
Merge pull request #1057 from genglei01/master
Add allowsExternalPlayback Property for ios
2018-06-10 10:56:14 -07:00
Emrah
2d89a3fd54
Merge branch 'master' into master 2018-06-09 21:36:09 +02:00
Hampton Maxwell
066a0c9c16 Add support for using a TextureView in ExoPlayer 2018-06-08 00:01:13 -07:00
genglei01
7460df9edb
Merge branch 'master' into master 2018-06-08 11:18:26 +08:00
Rafael Pinto
41384e2adf
Merge branch 'master' into feature/audio-panning 2018-06-06 04:24:39 +01:00
LeoGeng
b83fda9838 Add allowsExternalPlayback to video for ios 2018-06-06 10:22:19 +08:00
Rafael Pinto
00fe87a2ab replaced channel with stereoPan attribute 2018-06-05 23:04:20 +01:00
Rafael Pinto
8b931cbc5d Added channel property to allow audio panning 2018-06-05 02:28:28 +01:00
Hampton Maxwell
9764fe3be4 First pass at text track selection, mostly complete 2018-06-02 02:24:13 -07:00
Hampton Maxwell
9cf2342c94
Merge pull request #595 from benlime/master
adds resizeMode to poster image
2018-05-29 16:23:58 -07:00
Hampton Maxwell
e47e2a969d
Maintain default poster resize mode
Set contain as the default mode when not specified
2018-05-29 16:22:46 -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
YasirYang
723df5d4ae add ipod-library support 2018-01-31 20:23:19 +08:00
Emrah Kaya
57a16b23c5 stringsOnlyObject does typechecking before coercion to string 2018-01-13 21:28:24 +01:00
thomasobrien99
1ba6b062e4 View.propTypes -> ViewPropTypes (#824) 2017-11-03 14:38:37 -04:00
Emrah Kaya
270fdfb657 added optional request headers for remote assests (android & ios) 2017-10-02 20:12:59 +02:00
Tim Gibadullin
961baedb26 Replace PropTypes from react with form prop-types package (#677) 2017-08-04 14:53:53 -04:00
benlime
e4da5c9773 adds resizeMode to poster image 2017-04-30 13:43:01 +02:00
Dom DiCicco
98c51f114b issue 310 - Added a new property, ignoreSilentSwitch. (#403)
* issue 310 - Added a new property, ignoreSilentSwitch. When true, audio will play even when the silent switch on an iOS device is set to silent. When false, the audio will toggle with the silent switch. Sets the AVAudioSession to either playback or ambient.

* Added ignoreSilentSwitch usage to example app and to readme

* Changed ignoreSilentSwitch to accept two string values, ignore and obey.
This accounts for the case where the user does not want to modify the audio session from a particular video instance. The user would not use the ignoreSilentSwitch property at all in that case.
Also, the audio session will only be updated when the video is unpaused, instead of whenever the video component has updated props. This allows for multiple videos to be on the screen, with the most recent video unpaused (aka played) being the video that has control over the audio session.
2017-04-20 14:10:06 -04:00
Andrea Cresta
d792427ce1 Added onTimedMetadata callback for iOS player and Exoplayer (#487)
* added listener for timedMetadata event.

* added callback in RCTVideo for the timed metadata

* exposing onTimedMetadata to JS

* added forgotten method declaration

* returning array of string values

* added metadata type to the array

* added onMetadata method

* overridden onMetadata method on exoplayer2

* added format of return value from onMetadata

* added function reference in README file
2017-02-13 21:38:02 -05:00
abrahambotros
201335f05c Fix src type=nil NSDictionary crash (#455)
- Use NSNull object in NSDictionary when type (or URI) missing from supplied
  src object.
- In addition, defensively supply valid strings for URI and type from JS.
2017-01-28 20:46:30 -05:00
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
James Hartt
9bcf70cbb5 Replace use of RCTBridge with RCTBubblingEventBlock (#381) 2016-12-12 19:16:11 -05:00
Linmic
0442061028 better judgement to remove poster (#412) 2016-12-08 09:43:11 -05:00
Linmic
7b95bae99a employ onPlaybackRateChange instead to smooth the poster disappearance (#411) 2016-12-08 09:12:34 -05:00
Linmic
5c2940f73d This is to provide a HTML5-like poster attribute for react-native-video component. (#400)
* offered html5-like poster attribute

* prevent unnecessary setState
2016-12-05 16:57:35 -05:00
Eric Rozell
8cc1dbda4f feat(Windows): Adds Windows support to react-native-video
This PR adds react-native-windows support to react-native-video.  The Video component is implemented with a XAML MediaPlayerElement.  Most of the features implemented by Android (and some additional ones) are implemented by Windows.

Known issues and missing features include:
* onReadyForDisplay event
* local URI convention (e.g., "broadchurch" in examples changed to require("./broadchurch.mp4")
* `playableDuration` in `onVideoProgress` event is always 0.0
* `playInBackground` is not yet supported
* Volume settings are applied, but the UWP control does not handle it properly
2016-11-09 14:49:04 -08:00
ndao
6b62119ce0 add ability to change progress update interval (#289)
* added progressUpdateInterval prop iOS

* add prop to Video.js

* added progressUpdateInterval prop iOS

* add prop to Video.js
2016-10-01 14:23:50 -04:00
Simon Gough
4b8101398c Added Android Expansion File Support (#142)
* Add Android Expansion File Support

* Added notes for usage with Android Expansion file

* Update README.md

Added notes re: expansion file usage.

* formatting issue fixes
2016-09-14 07:28:06 -04:00
Brent Vatne
6f969a8614 Merge pull request #251 from mroswald/feat/play-react-native-assets
use react native asset resolving
2016-08-15 18:13:41 -07:00
Mark Oswald
c95d87b53b
replace bind statements 2016-06-22 16:33:32 +02:00
Mark Oswald
7fc7b3dc1b
use react native asset resolving 2016-06-22 15:52:12 +02:00
tobias
36f62d333b Merge https://github.com/brentvatne/react-native-video 2016-05-23 13:52:08 +02:00
Stanisław Chmiela
654ae1a27c Merge pull request #199 from sjchmiela/feature/additional_playback_callbacks
Additional playback callbacks
2016-05-09 16:12:29 +02:00
tobias
eb31337837 Added play when inactive to support playing while showing notification center. 2016-04-29 13:55:34 +02:00