react-native-video
Advanced tools
Comparing version
{ | ||
"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 @@ |
16
Video.js
@@ -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 @@ |
URL strings
Supply chain riskPackage contains fragments of external URLs or IP addresses, which the package may be accessing at runtime.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4868
0.25%1491
0.13%0
-100%486603
-3.43%78
-4.88%1
Infinity%