Audio Poster issue fix (#1779)
This commit is contained in:
parent
2c5006ac50
commit
0df667692b
5
Video.js
5
Video.js
@ -169,7 +169,10 @@ export default class Video extends Component {
|
||||
};
|
||||
|
||||
_onReadyForDisplay = (event) => {
|
||||
this._hidePoster();
|
||||
if (!this.props.audioOnly) {
|
||||
this._hidePoster();
|
||||
}
|
||||
|
||||
if (this.props.onReadyForDisplay) {
|
||||
this.props.onReadyForDisplay(event.nativeEvent);
|
||||
}
|
||||
|
@ -23,7 +23,7 @@ android {
|
||||
|
||||
dependencies {
|
||||
implementation "com.facebook.react:react-native:${safeExtGet('reactNativeVersion', '+')}"
|
||||
implementation('com.google.android.exoplayer:exoplayer:2.10.4') {
|
||||
implementation('com.google.android.exoplayer:exoplayer:2.10.5') {
|
||||
exclude group: 'com.android.support'
|
||||
}
|
||||
|
||||
@ -32,7 +32,7 @@ dependencies {
|
||||
implementation "androidx.core:core:1.1.0"
|
||||
implementation "androidx.media:media:1.1.0"
|
||||
|
||||
implementation('com.google.android.exoplayer:extension-okhttp:2.10.4') {
|
||||
implementation('com.google.android.exoplayer:extension-okhttp:2.10.5') {
|
||||
exclude group: 'com.squareup.okhttp3', module: 'okhttp'
|
||||
}
|
||||
implementation 'com.squareup.okhttp3:okhttp:3.14.3'
|
||||
|
@ -9,8 +9,8 @@ Pod::Spec.new do |s|
|
||||
s.description = package['description']
|
||||
s.license = package['license']
|
||||
s.author = package['author']
|
||||
s.homepage = 'https://github.com/brentvatne/react-native-video'
|
||||
s.source = { :git => "https://github.com/brentvatne/react-native-video.git", :tag => "#{s.version}" }
|
||||
s.homepage = 'https://github.com/react-native-community/react-native-video'
|
||||
s.source = { :git => "https://github.com/react-native-community/react-native-video.git", :tag => "#{s.version}" }
|
||||
|
||||
s.ios.deployment_target = "8.0"
|
||||
s.tvos.deployment_target = "9.0"
|
||||
|
Loading…
Reference in New Issue
Block a user