Commit Graph

403 Commits

Author SHA1 Message Date
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
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
Andy Stanberry
cf9a5fc635 Document poster prop 2018-01-31 17:53:37 -05: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
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
Ahmed Hassan
6e43701092 added native progress notification (#734) 2017-11-18 14:10:58 -08:00
thomasobrien99
1ba6b062e4 View.propTypes -> ViewPropTypes (#824) 2017-11-03 14:38:37 -04:00
Alexander Nazarov
f73b7a0484 Fixed seekableDuration for time ranges with non-numeric duration (#709) (#728) 2017-09-06 21:12:34 -04: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
Radek Czemerys
5738757966 Remove createJSModules @override - RN 0.47 compatibility (#718)
* Remove depreciated createJSModules @ovveride marker

* Remove depreciated createJSModules @ovveride marker

* Added comment in exoplayer

* Added comment

* Remove trailing spaces

* Fix typo in comment

* Fix typo in comment

* Fix typo in comment

* Fix typo in comment
2017-08-08 21:11:11 -04:00
Tim Gibadullin
961baedb26 Replace PropTypes from react with form prop-types package (#677) 2017-08-04 14:53:53 -04:00
Julien K
b303f991ce Added tvOS paltform support (#682)
* [tvOS] Update podspec

* [tvOS] Add tvOS target

* Update README.md

* [docs] Folder that contains pictures and content for documentation

* tvOS Readme

* [JPEG] Update image to JPEG
2017-07-20 13:35:58 -04:00
Michal Drbohlav
7f2cd8751a updated to ExoPlayer 2.4.0, added support for playback rate change (#605) 2017-06-13 18:45:12 -04:00
Zach Nolan
ef2120b418 added removePlayerLayer to fix iOS crash (#650) 2017-06-09 17:31:46 -04:00
Nicolas Ngomai
b6afaa3378 Add link to propTypes
Some props are missing in the documentation, the propTypes provides a full list of those. I think it would help a lot of developers to add a link here.
2017-05-11 13:46:04 +02:00
Nawal "Deshi" Rahim
72a46bc308 Added flag for background mode (#563)
* Added flag for background mode

* Better flag name
2017-05-08 16:30:45 -04: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
RalfNieuwenhuizen
c45f5f5b38 Add progressUpdateInterval to android-exoplayer (#540) 2017-03-31 12:15:39 -04:00
Kevin VanGelder
ebc6617ba4 Initial WPF Support (#385)
* initial support for WPF

* update readme with WPF specific instructions

* remove autogenerated .gitattributes file

* reference RNW NPM package instead of hard-coded local reference
2017-03-31 12:15:26 -04:00
melyamri
d48d7efc5d added progressUpdateInterval to Android (#512)
* use progressUpdateInterval in android

* convert progressUpdateInterval to int
2017-03-21 16:26:39 -04:00
Andrew Jack
79a9ea540d load new source if it is different (#502) 2017-03-21 16:26:23 -04:00
Nawal "Deshi" Rahim
087adef1b9 Pausing progress if it was playing and the stating again (#526) 2017-03-21 16:25:58 -04:00
Ralph Pina
be55cef093 bump android dependencies (#524)
* bump android dependencies

* fixed lint
2017-03-21 16:25:46 -04:00
Andrew Jack
e76936b4fc Update ExoPlayer to r2.2.0 (#505) 2017-03-21 16:25:17 -04:00
Andrew Jack
5a4730cb8c Update readme (#497) 2017-03-21 16:25:04 -04:00
Deon Nicholas
c56fd2d908 [Android] App crash when unmounting video (#533)
* Upgrade to ScalableVideoView version 1.0.4

* Fix bug in cleanupMediaPlayerResources

* Fix VideoView on Android
2017-03-21 16:24:46 -04:00
Gorjan
9ce1f4b5f4 Fix/494 (#537)
* Stop video autoplay when paused prop is 'true' on initial showing of video component

* Fix IOException - java.io.FileNotFoundException: No content provider: thrown in android.MediaPlayer, due to expected uri resource with content provider instead of only a URL
2017-03-21 16:24:32 -04:00
Josh Habdas
911bc5222b Merge pull request #532 from shahen94/master
fix(RCTVideo.m): Fixed status bar disappearing issue
2017-03-15 19:54:51 +08:00
Shahen Hovhannisyan
3ef9555464 fix(RCTVideo.m): Fixed status bar disappearing issue 2017-03-15 15:21:12 +04:00
Daniel Schmidt
01c1124adc Add remark on muted for cover size (#459)
This is related to the comment on #368
2017-02-13 21:39:42 -05:00
Jakob Hilden
e41d0f574e [ExoPlayer] Value of paused prop should be respected when resuming the app (#486)
Before, when you resumed the app the player would **always** start playing again.

After this changed the `paused` prop of the `Video` component (which is the `isPaused` variable internally)
is consulted on resume for whether or not the playback should resume as well.
2017-02-13 21:38:15 -05: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
Matt Apperson
07ac819a46 added compatability note 2017-01-31 08:20:07 -05:00
Ardalan Naghshineh
8b17671d74 README fix (#416)
Corrected the instructions for running the example
2017-01-31 07:50:58 -05:00
Jhen-Jie Hong
d450afc83b [Android] Fix require(...) file resource on production (#429)
* Fix require(...) file resource on Android production

* Update example (use require for ./broadchurch.mp4)

* Fix MainApplication.java of example

* Add default source type
2017-01-31 07:49:23 -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
Olof Dahlbom
2b709a5d54 Protect events (#444) 2017-01-16 11:27:08 -05:00
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Arjan Scherpenisse
cd53e389a0 Android: Resize the video correctly on layout changes (#432)
The transform matrix was not being recalculated when the View
dimensions changed. Fixed by copying the code from the scaleVideoSize
method from the ScalableVideoView.

https://github.com/yqritc/Android-ScalableVideoView/blob/master/library/src/main/java/com/yqritc/scalablevideoview/ScalableVideoView.java#L95
2017-01-11 07:47:56 -05:00
Olof Dahlbom
fe6bc4f3df Support react-native > 0.40 (#437)
* Support react-native > 0.40

* Bumping major version. Breaking change.

* Upgrade example project from 0.33 => 0.40.
2017-01-11 07:43:43 -05:00
James Hartt
9bcf70cbb5 Replace use of RCTBridge with RCTBubblingEventBlock (#381) 2016-12-12 19:16:11 -05:00