Commit Graph

84 Commits

Author SHA1 Message Date
Laurin Quast
4bf56cd8f1 Remove debug info 2018-03-02 10:13:12 +01:00
Laurin Quast
e71b89dccb Fix header search paths 2018-03-02 00:43:18 +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
434b2b0f2a Add submodule for SPTPersistentCache 2018-02-28 13:43:09 +01:00
masarusanjp
cfab35d484 fxied an issue that does not use passed argument 2018-02-28 11:15:42 +09: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
Ahmed Hassan
6e43701092 added native progress notification (#734) 2017-11-18 14:10:58 -08:00
Jan Lievens
2ae99bd484 remove observers before adding thus preventing multiple observers for the same notification 2017-10-24 09:52:10 +02:00
Emrah Kaya
270fdfb657 added optional request headers for remote assests (android & ios) 2017-10-02 20:12:59 +02:00
Dan Hodos
10cba5ad5c Reset progress observer on update interval changes 2017-09-28 21:37:52 -04:00
Dan Hodos
435669a944 Extract method to add observer for progress update 2017-09-28 21:37:26 -04:00
Alex Fox
451f8d0919 Fixed rate not being respected after seeking
Referenced in issue => https://github.com/react-native-community/react-native-video/issues/763
2017-09-07 13:16:44 +01:00
Alexander Nazarov
f73b7a0484 Fixed seekableDuration for time ranges with non-numeric duration (#709) (#728) 2017-09-06 21:12:34 -04:00
Landon Sherwood
a4ada46b30 Show iOS controls if not fullscreen
Show controls without calling the present full screen method.
2017-08-29 16:39:18 -05: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
Zach Nolan
ef2120b418 added removePlayerLayer to fix iOS crash (#650) 2017-06-09 17:31:46 -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
Nawal "Deshi" Rahim
087adef1b9 Pausing progress if it was playing and the stating again (#526) 2017-03-21 16:25:58 -04:00
Shahen Hovhannisyan
3ef9555464 fix(RCTVideo.m): Fixed status bar disappearing issue 2017-03-15 15:21:12 +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
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
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
jimmymeego
18ad1cd580 add cookies (#345) 2016-10-06 17:34:01 -04: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
Andrew Jack
0c746e8fe8 Clean project structure (#320) 2016-09-21 09:34:25 -04:00