diff --git a/Video.js b/Video.js index e5d56729..3cb28bb2 100644 --- a/Video.js +++ b/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); } diff --git a/android-exoplayer/build.gradle b/android-exoplayer/build.gradle index ce5c82fb..502fa599 100644 --- a/android-exoplayer/build.gradle +++ b/android-exoplayer/build.gradle @@ -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' diff --git a/react-native-video.podspec b/react-native-video.podspec index c5e09c11..98ba5537 100644 --- a/react-native-video.podspec +++ b/react-native-video.podspec @@ -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"