Commit Graph

1224 Commits

Author SHA1 Message Date
Harrison Mendonça
b4582c681b add mixWithOthers prop 2020-04-20 17:25:59 -03:00
Hampton Maxwell
1ecb09acc4
Update onLoad event to include videoTracks info 2020-03-02 14:31:06 -08:00
Marlon Andrade
91384d8489
Don't set reactViewController view frame to whole screen (#1931)
this fixes the case on any time you have a react view that displays the video, but it's being rendered with controls but not as a full screen (ie. easily reproducible when you have a tabbar for instance - the reactViewController.view frame shouldnt be the whole screen bounds).
2020-02-26 20:43:33 -05:00
Benoit Dion
68dc15242d v5.1.0-alpha5 2020-02-25 19:10:26 -05:00
Benoit Dion
89b6d113a1 Update changelog 2020-02-25 19:09:01 -05:00
Brandon Faulkner
6d1a7bed58
Fix the ref sample code to remove the syntax error 2020-02-25 09:22:41 -05:00
Di Da
a4fec8eb99
Add support for react-native Windows Cpp/WinRT (#1893)
This also deprecates the old react-native windows implementation
2020-02-25 09:21:06 -05:00
Benoit Dion
4f07aab8b1
Bump javascript dependencies (#1914)
Also update linting rules to match other community repositories.
2020-02-22 13:56:31 -05:00
Benoit Dion
f0867d7eef v5.1.0-alpha4 2020-02-20 09:25:37 -05:00
IbrahimSulai
fd8ac76e4d
Fix play/pause regression after added fullscreen support. (#1916) 2020-02-20 09:23:23 -05:00
Piotr Błażejewicz (Peter Blazejewicz)
5fa4cddbf8
docs(video): fix bufferConfig property name (#1855) 2020-02-17 14:12:54 -05:00
Benoit Dion
4d0be29cbb
Update changelog (#1913) 2020-02-17 12:43:27 -05:00
Michael Tintiuc
82c191d97f
Improve Android Audio Focus (#1897)
Implement audio focus as per android docs:
https://developer.android.com/guide/topics/media-apps/audio-focus
https://medium.com/androiddevelopers/audio-focus-3-cdc09da9c122

AUDIOFOCUS_LOSS should abandon focus and not try resuming audio, this is done with AUDIOFOCUS_LOSS_TRANSIENT

This fixes at least:
- Audio not being paused after focus being taken by some voip applications
- Content resuming and pausing instantly sporadically (some race condition perhaps) when activity was resumed from background.
2020-02-17 11:53:56 -05:00
Mohammed Salman
2738892631
Fix readme grammar (#1888) 2020-02-03 13:17:05 -05:00
Benoit Dion
029b893d58 Bump version to 5.1.0-alpha 2020-01-28 18:43:32 -05:00
IbrahimSulai
9200dce1ae
Add full screen support to Android Exoplayer (#1730) 2020-01-28 17:21:21 -05:00
Learnyst
0df667692b Audio Poster issue fix (#1779) 2019-11-26 14:40:03 -05:00
Ash Mishra
2c5006ac50
Merge pull request #1827 from nfb-onf/fix-playerviewcontroller-keypath-leak
Fix playerviewcontroller keypath leak of observers
2019-11-19 13:47:15 -08:00
Ash Mishra
fa20965c35 add try catch block around removal of observer keypaths on playerViewController 2019-11-19 12:47:15 -08:00
Ash Mishra
a5bfba9451 Fixes a situation when exiting fullscreen, where observed keypath values have not been released 2019-11-19 12:32:11 -08:00
Tsukasa Setoguchi
257be246e0 fix README about reportBandwidth (#1816) 2019-11-08 14:21:15 -05:00
Benoit Dion
b97663e092
Clear progress messages on STATE_IDLE and STATE_BUFFERING (#1768)
The progress message handler will duplicate recursions of the `onProgressMessage` handler on change of player state from any state to STATE_READY with `playWhenReady` is true (when video is not paused). This clears the messages on STATE_IDLE and STATE_BUFFERING to break the recursion.
2019-09-30 13:27:08 -04:00
Daniel Mariño Ruiz
b675e59162
Merge pull request #1773 from BaderSerhan/master
fix typo in README
2019-09-29 07:21:25 +02:00
Bader Serhan
040b17159e fix typo in README 2019-09-25 16:47:44 +03:00
Daniel Mariño Ruiz
4a8eea7af3
Add disableFocus to TOC 2019-09-25 07:46:03 +02:00
Daniel Mariño
78f1d29394 update changelog version 2019-09-24 09:30:59 +02:00
Daniel Mariño
c9a248e0e5 update package json version 2019-09-24 09:22:03 +02:00
Benoit Dion
3d40deb734
Update changelog with Exoplayer update (#1766) 2019-09-23 11:08:37 -04:00
Benoit Dion
3e38f88869 Remove Exoplayer deprecations
- Bump Exoplayer to 2.10.4
- Remove deprecated usages of Exoplayer methdos
- Add `ReactExoplayerConfig` as extension points to configure the Exoplayer instance
2019-09-23 08:52:05 -04:00
Benoit Dion
81cfd4e629 Bring the basic example back to a runnable state 2019-09-23 08:52:05 -04:00
Daniel Mariño Ruiz
ed335f3b02
Fix indent and respect previous rate 2019-09-22 07:40:53 +02:00
Daniel Mariño Ruiz
461209f344
Update bug_report.md 2019-09-21 15:39:39 +02:00
Daniel Mariño Ruiz
c90197bbcb
Update bug_report.md 2019-09-21 14:59:34 +02:00
Daniel Mariño Ruiz
9149346425 Update issue templates 2019-09-21 14:57:55 +02:00
Daniel Mariño
a86f316f00 changelog for #1696 2019-09-21 09:53:57 +02:00
Daniel Mariño Ruiz
b954a4f01a
Merge pull request #1699 from andrewchae/mute
Fixed Exoplayer doesn't work with mute=true #1696
2019-09-21 09:52:00 +02:00
Daniel Mariño Ruiz
59be8b5c3e
Merge pull request #1723 from blitzcrank/master
Added support for automaticallyWaitsToMinimizeStalling property on iOS
2019-09-21 08:42:20 +02:00
Daniel Mariño Ruiz
cfcf6ce506
Merge branch 'master' into master 2019-09-21 08:41:55 +02:00
Daniel Mariño Ruiz
f66ca32d49
Merge pull request #1720 from nmarisi/fix-NSInternalInconsistencyException
Removing the call to observeValueForKeyPath:ofObject:change:context: …
2019-09-08 08:29:27 +02:00
Daniel Mariño Ruiz
9272678c8c
Merge branch 'master' into fix-NSInternalInconsistencyException 2019-09-08 08:29:11 +02:00
Daniel Mariño Ruiz
0a2f7bd949
Merge pull request #1715 from jhalvorson/master
Updated README.md to include instructions for React Native 0.60 and a…
2019-09-08 08:26:30 +02:00
Daniel Mariño Ruiz
d858bf7e70
Merge pull request #1690 from 24i/feature/androidx-cherry-pick
[FIX] Fix release 5.0.0 bad merge with 5.0.1
2019-09-08 08:09:08 +02:00
Jovan Stanimirovic
0cfc73252c fix formatting
fix crash iOS9
2019-08-30 16:01:19 +02:00
Jovan Stanimirovic
008f5f03b0 fix formatting issues 2019-08-30 13:33:49 +02:00
Jovan Stanimirovic
4320b56545 bumped version & updated changelog 2019-08-22 11:03:23 +02:00
Jovan Stanimirovic
7615e5dcd1 fix invert boolean property 2019-08-22 10:36:33 +02:00
Jovan Stanimirovic
0a361d1d0f update readme 2019-08-22 10:13:06 +02:00
Jovan Stanimirovic
e3782c4ec6 added support for automaticallyWaitsToMinimizeStalling property on iOS 2019-08-22 10:10:39 +02:00
Nahuel Marisi
923bc59b7c Updated CHANGELOG to reflect bug fix in PR 1720 2019-08-20 10:23:52 +02:00
Nahuel Marisi
7a9081d5af Removing the call to observeValueForKeyPath:ofObject:change:context: on super from RCTVideo.
If the super class is not actually observing the key, the app will crash. Checking to see if
the super class responds to this selector doesn't solve this issue.

react-native-video github issue: https://github.com/react-native-community/react-native-video/issues/1515

Discussion about this particular problem: https://stackoverflow.com/questions/6574714/whats-wrong-with-this-observevalueforkeypathofobjectchangecontext-implement
2019-08-20 09:37:49 +02:00