Socket
Socket
Sign inDemoInstall

react-native-youtube

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-youtube - npm Package Compare versions

Comparing version 0.7.1 to 0.7.2

2

package.json
{
"name": "react-native-youtube",
"version": "0.7.1",
"version": "0.7.2",
"description": "A <YouTube/> component for React Native.",

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

@@ -65,3 +65,5 @@ # react-native-youtube [![react-native-youtube](http://img.shields.io/npm/dm/react-native-youtube.svg)](https://www.npmjs.org/package/react-native-youtube) [![npm version](https://badge.fury.io/js/react-native-youtube.svg)](http://badge.fury.io/js/react-native-youtube) [![Dependency Status](https://david-dm.org/inProgress-team/react-native-youtube.svg)](https://david-dm.org/inProgress-team/react-native-youtube)

`$ add YTPlayerView-iframe-player.html from Assets to your xcode project`
## Example

@@ -68,0 +70,0 @@ Try the included `RCTYouTubeExample`:

@@ -29,2 +29,3 @@ /**

play: PropTypes.bool,
rel: PropTypes.bool,
hidden: PropTypes.bool,

@@ -115,2 +116,6 @@ onReady: PropTypes.func,

};
if (this.props.rel!==undefined) {
nativeProps.playerParams.playerVars.rel = this.props.rel ? 1 : 0;
delete nativeProps.rel;
};
};

@@ -117,0 +122,0 @@ } else {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc