Commit Graph

93 Commits

Author SHA1 Message Date
Hampton Maxwell
da7bd43011
Revert setPlayWhenReady change 2018-06-09 16:13:58 -07:00
Hampton Maxwell
fab55f4d5c
Merge branch 'master' into master 2018-06-09 16:11:55 -07:00
Hampton Maxwell
d3bda4a204
Don't affect pause status after playing in the background 2018-06-09 16:11:18 -07:00
Emrah
2d89a3fd54
Merge branch 'master' into master 2018-06-09 21:36:09 +02:00
Emrah Kaya
623b562295 resolving conflicts 2018-06-09 21:30:38 +02:00
Hampton Maxwell
066a0c9c16 Add support for using a TextureView in ExoPlayer 2018-06-08 00:01:13 -07:00
Hampton Maxwell
11584f28d1 Apply initial text track prop when the video is loaded 2018-06-04 11:48:59 -07:00
Hampton Maxwell
4d008e56f2 Add disabled text track selection option 2018-06-02 19:41:50 -07:00
Hampton Maxwell
9764fe3be4 First pass at text track selection, mostly complete 2018-06-02 02:24:13 -07:00
Hampton Maxwell
d716ee48d9
Merge pull request #922 from brandonmoon/link-exoplayer-with-cookies
Link exoplayer with cookies
2018-06-01 11:56:16 -07:00
Hampton Maxwell
0776179834
Re-use the existing OkHttpClient
Use the client we create earlier in the function
2018-06-01 11:55:43 -07:00
Hampton Maxwell
5ce228e9f7
Minor formatting cleanups
Fix spacing
2018-06-01 11:55:00 -07:00
Hampton Maxwell
c8d44448c7 Remove obsolete metadata code that shouldn't have been included 2018-05-29 15:25:29 -07:00
Hampton Maxwell
fefbe801ef
Merge branch 'master' into master 2018-05-29 15:08:24 -07:00
Hampton Maxwell
6ecaa7420b Add missing import for Exoplayer Player library 2018-05-28 23:25:33 -07:00
Hampton Maxwell
39d8c4384b Add a comment about why we send onEnd from onPositionDiscontinuity when repeat is on 2018-05-28 21:26:23 -07:00
Hampton Maxwell
5a43f62253 Generate an onEnd event when the end of the video is reached while repeat is on 2018-05-28 21:22:47 -07:00
Hampton Maxwell
db0a17f4a9 Support repeat
Now that we have updated to a newer ExoPlayer, we can use the setRepeatMode that's available from 2.5 on
2018-05-28 21:01:22 -07:00
Hampton Maxwell
0fb2a5469e
Merge pull request #983 from peacechen/master
Upgrade ExoPlayer to 2.7.2
2018-05-28 20:52:04 -07:00
Hampton Maxwell
4f6baaa2ac Add missing prop for enabling fullscreen 2018-05-18 13:30:01 -07:00
Hampton Maxwell
ad8f6b49f5 Support setting fullscreen UI and generating events for it 2018-05-17 15:42:44 -07:00
Hampton Maxwell
489b16f11e Base bufferedDuration on percentage & total duration. Add seekableDuration 2018-05-17 14:12:04 -07:00
Peace
2477288ea2 Upgrade ExoPlayer to 2.7.2 2018-04-03 12:19:04 -05:00
Param Aggarwal
2c966fe7ad
Fix playableDuration attribute of onProgress event 2018-02-17 19:37:31 +05:30
Brandon Moon
f2e182addc Bring things up to date with master from copied code 2018-01-29 13:32:31 -07:00
Brandon Moon
5d274631c8 Link up cookies so exoplayer can use them 2018-01-29 13:25:58 -07:00
emrah88
12f93b5463 null pointer 2018-01-15 17:10:54 +01:00
emrah88
5c8e1bd6d4 ensuring datasource is build with headers 2018-01-15 16:15:25 +01:00
Emrah Kaya
db1d83b83e constants renamed to requestheader 2018-01-13 21:29:53 +01:00
vengadesh
ebe138fa8d Raising error for source exception (#799) 2017-12-06 11:56:41 -05:00
Marc-Olivier Duval
ee5818b6ff Fix bug with playInBackground 2017-10-24 22:42:41 -04:00
Marc-Olivier Duval
f7b7f2666a Apply fix in playInBackground props 2017-10-24 21:49:46 -04:00
Emrah Kaya
270fdfb657 added optional request headers for remote assests (android & ios) 2017-10-02 20:12:59 +02: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
Michal Drbohlav
7f2cd8751a updated to ExoPlayer 2.4.0, added support for playback rate change (#605) 2017-06-13 18:45:12 -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
RalfNieuwenhuizen
c45f5f5b38 Add progressUpdateInterval to android-exoplayer (#540) 2017-03-31 12:15:39 -04:00
Andrew Jack
79a9ea540d load new source if it is different (#502) 2017-03-21 16:26:23 -04:00
Andrew Jack
e76936b4fc Update ExoPlayer to r2.2.0 (#505) 2017-03-21 16:25:17 -04: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
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
Andrew Jack
9a936c9e8f ExoPlayer (#426) 2017-01-11 07:51:45 -05:00