You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

react-native-video

Package Overview
Dependencies
Maintainers
1
Versions
139
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
0.4.4

RCTVideo.xcodeproj/project.xcworkspace/xcuserdata/brentvatne.xcuserdatad/UserInterfaceState.xcuserstate

2

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

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

@@ -70,4 +70,8 @@ var React = require('react-native');

var source = this.props.source;
var isNetwork = !!(source.uri && source.uri.match(/^https?:/));
var isAsset = !!(source.uri && source.uri.match(/^assets-library:/));
var uri = source.uri;
if (uri && uri.match(/^\//)) {
uri = 'file://' + uri;
}
var isNetwork = !!(uri && uri.match(/^https?:/));
var isAsset = !!(uri && uri.match(/^(assets-library|file):/));

@@ -89,3 +93,3 @@ var resizeMode;

src: {
uri: source.uri,
uri: uri,
isNetwork,

@@ -92,0 +96,0 @@ isAsset,

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet