🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

react-native-video

Package Overview
Dependencies
Maintainers
6
Versions
143
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-video - npm Package Compare versions

Comparing version

to
5.2.2

2

package.json
{
"name": "react-native-video",
"version": "5.2.1",
"version": "5.2.2",
"description": "A <Video /> element for react-native",

@@ -5,0 +5,0 @@ "main": "Video.js",

@@ -124,4 +124,6 @@ ## react-native-video

Or if you have trouble, make the following additions to the given files manually:
Note that with Autolinking the old Android MediaPlayer based player is used.
If you have trouble or if you want to manually select the player to use, make the following additions to the given files manually:
#### **android/settings.gradle**

@@ -128,0 +130,0 @@

@@ -19,2 +19,18 @@ import React, { Component } from 'react';

const VERSION_DEPRECATION_WARNING_MESSAGE =
'react-native-video version 5.x is deprecated and not maintained anymore.' +
'Please migrate to version 6.x. see https://docs.thewidlarzgroup.com/react-native-video/updating for more information. \n' +
'If you have trouble updating, you can reach out to us at https://www.thewidlarzgroup.com/#Contact';
var DID_WARN = false;
function warnOnce() {
if (!DID_WARN) {
console.warn(VERSION_DEPRECATION_WARNING_MESSAGE);
DID_WARN = true;
}
}
warnOnce();
export default class Video extends Component {

@@ -21,0 +37,0 @@