Socket
Socket
Sign inDemoInstall

react-native-youtube

Package Overview
Dependencies
Maintainers
4
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.8.1 to 0.8.2

index.d.ts

2

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

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

@@ -13,2 +13,4 @@ # 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)

```javascript
import YouTube from 'react-native-youtube'
<YouTube

@@ -64,5 +66,5 @@ ref="youtubePlayer"

### Installation
## Installation
##### IOS
#### iOS
(requires react-native >= 0.6.0)

@@ -74,3 +76,3 @@

##### OPTIONAL : Activated sound when phone is on vibrate mode
##### OPTIONAL: Activated sound when phone is on vibrate mode

@@ -83,26 +85,25 @@ Open AppDelegate.m and add :

##### Android : rnpm is not working yet !!
#### Android: rnpm is not working yet !!
In node_module :
In node_module:
`$ git clone https://github.com/inProgress-team/react-native-youtube.git`
Then add in settings.gradle :
```
Then add in settings.gradle:
```
include ':RCTYouTube', ':app'
project(':RCTYouTube').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-youtube/RCTYouTube')
```
In build.gradle : ( The one inside android/app . **NOT** android/build.gradle )
project(':RCTYouTube').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-youtube/android')
```
In build.gradle: ( The one inside android/app . **NOT** android/build.gradle )
```
dependencies {
```
dependencies {
[...]
compile project(':RCTYouTube') // From node_modules
}
}
```
In MainApplication.java :
In MainApplication.java:
```
```java
import com.inprogress.reactnativeyoutube.ReactNativeYouTube;

@@ -109,0 +110,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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