Commit Graph

412 Commits

Author SHA1 Message Date
Laurin Quast
d05b57521e Install dependendencies via cocoapods 2018-03-04 23:40:59 +01:00
Laurin Quast
4bf56cd8f1 Remove debug info 2018-03-02 10:13:12 +01:00
Laurin Quast
c0ab21e728 Link project with example 2018-03-02 01:04:00 +01:00
Laurin Quast
e71b89dccb Fix header search paths 2018-03-02 00:43:18 +01:00
Laurin Quast
e918c02ba9 Add some contributing guide 2018-03-01 23:54:37 +01:00
Laurin Quast
4b5ac43ded Update example 2018-03-01 23:51:30 +01:00
Laurin Quast
c926d8ba6c First iteration implementing video caching 2018-03-01 23:38:38 +01:00
Laurin Quast
d5e012b749 Add DVAssetLoaderDelegate to project 2018-03-01 23:37:45 +01:00
Laurin Quast
e65a0b3081 Add DVAssetLoaderDelegate as a submodule 2018-03-01 23:32:52 +01:00
Laurin Quast
a2de5908ae Add SPTPersistentCache as a dependency 2018-03-01 23:25:29 +01:00
Laurin Quast
05feefaa82 Change SPTPersistentCache version to 1.1.1 2018-03-01 23:19:43 +01:00
Laurin Quast
438aa79494 Add cache property; Make playerItemForSource in 'RCTVideoManager.m' async 2018-02-28 17:42:49 +01:00
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 Apperson
0d411a25f9
add maintainer to contributors 2018-02-20 10:42:27 -05:00
Austin Witherow
093ffccd9b fix(ios): crash due to persistent keyPath observer (#600) 2018-01-02 12:06:43 -05: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
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