Commit Graph
400 Commits
Author SHA1 Message Date
Laurin Quast 6b2c1046dd Use ranges 2018-02-28 17:39:23 +01:00
Laurin Quast 30c437fd04 Update dependencies 2018-02-28 14:10:39 +01:00
Laurin Quast 8b010f81c5 'Disable' example for non iOS devices 2018-02-28 13:56:43 +01:00
Laurin Quast 159dd15f0e Add simple http server 2018-02-28 13:55:08 +01:00
Laurin Quast 125225bd35 Initialize VideoCaching project 2018-02-28 13:45:17 +01:00
Laurin Quast 434b2b0f2a Add submodule for SPTPersistentCache 2018-02-28 13:43:09 +01:00
Laurin Quast c820a9068c Move example to examples dir and rename to basic 2018-02-28 13:37:57 +01:00
Matt AppersonandGitHub 0d411a25f9 add maintainer to contributors 2018-02-20 10:42:27 -05:00
Austin WitherowandMatt Apperson 093ffccd9b fix(ios): crash due to persistent keyPath observer (#600) 2018-01-02 12:06:43 -05:00
vengadeshandMatt Apperson ebe138fa8d Raising error for source exception (#799) 2017-12-06 11:56:41 -05:00
Ahmed HassanandMatt Apperson 6e43701092 added native progress notification (#734) 2017-11-18 14:10:58 -08:00
thomasobrien99andMatt Apperson 1ba6b062e4 View.propTypes -> ViewPropTypes (#824) 2017-11-03 14:38:37 -04:00
Alexander NazarovandMatt Apperson 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 MiyashitaandMatt Apperson 4ca5956e58 Remove react-native-windows as a direct dependency of react-native-video (#730) 2017-08-11 12:44:38 -04:00
Radek CzemerysandMatt Apperson 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 GibadullinandMatt Apperson 961baedb26 Replace PropTypes from react with form prop-types package (#677) 2017-08-04 14:53:53 -04:00
Julien KandMatt Apperson 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 DrbohlavandMatt Apperson 7f2cd8751a updated to ExoPlayer 2.4.0, added support for playback rate change (#605) 2017-06-13 18:45:12 -04:00
Zach NolanandMatt Apperson ef2120b418 added removePlayerLayer to fix iOS crash (#650) 2017-06-09 17:31:46 -04:00
Nawal "Deshi" RahimandMatt Apperson 72a46bc308 Added flag for background mode (#563)
* Added flag for background mode

* Better flag name
2017-05-08 16:30:45 -04:00
Dom DiCiccoandMatt Apperson 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
RalfNieuwenhuizenandMatt Apperson c45f5f5b38 Add progressUpdateInterval to android-exoplayer (#540) 2017-03-31 12:15:39 -04:00
Kevin VanGelderandMatt Apperson 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
melyamriandMatt Apperson d48d7efc5d added progressUpdateInterval to Android (#512)
* use progressUpdateInterval in android

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

* fixed lint
2017-03-21 16:25:46 -04:00
Andrew JackandMatt Apperson e76936b4fc Update ExoPlayer to r2.2.0 (#505) 2017-03-21 16:25:17 -04:00
Andrew JackandMatt Apperson 5a4730cb8c Update readme (#497) 2017-03-21 16:25:04 -04:00
Deon NicholasandMatt Apperson 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
GorjanandMatt Apperson 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 HabdasandGitHub 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 SchmidtandMatt Apperson 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 HildenandMatt Apperson 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 CrestaandMatt Apperson 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 NaghshinehandMatt Apperson 8b17671d74 README fix (#416)
Corrected the instructions for running the example
2017-01-31 07:50:58 -05:00
Jhen-Jie HongandMatt Apperson 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
abrahambotrosandMatt Apperson 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 DahlbomandMatt Apperson 2b709a5d54 Protect events (#444) 2017-01-16 11:27:08 -05:00
Andrew JackandMatt Apperson 9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00
Arjan ScherpenisseandMatt Apperson 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 DahlbomandMatt Apperson 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 HarttandMatt Apperson 9bcf70cbb5 Replace use of RCTBridge with RCTBubblingEventBlock (#381) 2016-12-12 19:16:11 -05:00
LinmicandMatt Apperson 0442061028 better judgement to remove poster (#412) 2016-12-08 09:43:11 -05:00
LinmicandMatt Apperson 7b95bae99a employ onPlaybackRateChange instead to smooth the poster disappearance (#411) 2016-12-08 09:12:34 -05:00
Gil BirmanandMatt Apperson 595bc19c87 Update react-native-video.podspec (#408)
When directory structure was refactored, source files were moved to `ios/` dir, but the podspec wasn't updated to reflect this.
2016-12-06 13:41:07 -05:00