diff --git a/android/src/main/java/com/brentvatne/exoplayer/DataSourceUtil.java b/android/src/main/java/com/brentvatne/exoplayer/DataSourceUtil.java index 5913e674..5a037896 100644 --- a/android/src/main/java/com/brentvatne/exoplayer/DataSourceUtil.java +++ b/android/src/main/java/com/brentvatne/exoplayer/DataSourceUtil.java @@ -38,7 +38,7 @@ public class DataSourceUtil { public static String getUserAgent(ReactContext context) { if (userAgent == null) { - userAgent = Util.getUserAgent(context, "ReactNativeVideo"); + userAgent = Util.getUserAgent(context, context.getPackageName()); } return userAgent; } diff --git a/docs/pages/component/props.mdx b/docs/pages/component/props.mdx index f6d7fcaf..adc81eb0 100644 --- a/docs/pages/component/props.mdx +++ b/docs/pages/component/props.mdx @@ -290,7 +290,7 @@ If a preferred [fullscreenOrientation](#fullscreenorientation) is set, causes th ### `headers` - + Pass headers to the HTTP client. Can be used for authorization. Headers must be a part of the source object. @@ -831,7 +831,7 @@ textTracks={[ ### `showNotificationContorols` - + Controls whether to show media controls in the notification area. For Android each Video component will have its own notification controls and for iOS only one notification control will be shown for the last Active Video component.