react-native-youtube
Advanced tools
Comparing version 0.7.1 to 0.7.2
{ | ||
"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 { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 1 instance in 1 package
319815
244
85