diff --git a/.all-contributorsrc b/.all-contributorsrc index 3e5e786..8994878 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -16,7 +16,7 @@ }, ], "contributorsPerLine": 7, - "projectName": "react-native-vimeo-player", + "projectName": "react-native-vimeo-iframe", "projectOwner": "Marcoo09", "repoType": "github", "repoHost": "https://github.com", diff --git a/README.md b/README.md index 99837e7..c4721e4 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -# React Native Vimeo Player +# React Native Vimeo Iframe -React Native Vimeo Player is a library to render Vimeo videos in a React Native app. +React Native Vimeo Iframe is a library to render Vimeo videos in a React Native app. This component allows you to embed a Vimeo video in your app and have full access to the Vimeo player JS API (more information https://developer.vimeo.com/player/js-api). @@ -9,7 +9,7 @@ the Vimeo player JS API (more information https://developer.vimeo.com/player/js- 1. Go through the instructions for installing the `React Native Webview` library: https://github.com/react-native-webview/react-native-webview. -1. Run `npm install react-native-vimeo-player` or `yarn add react-native-vimeo-player` within your project. +1. Run `npm install react-native-vimeo-iframe` or `yarn add react-native-vimeo-iframe` within your project. 1. Compile and build to make sure everything is set up properly. @@ -37,7 +37,7 @@ information to your application. ## Example -If you want to see `MetaLabs-inc/react-native-vimeo-player` in action, just move into the [example](/example) folder and run `yarn && cd ios && pod install && cd .. && yarn ios` or `yarn && yarn android`. By seeing its source code, you will have a better understanding of the library usage. +If you want to see `MetaLabs-inc/react-native-vimeo-iframe` in action, just move into the [example](/example) folder and run `yarn && cd ios && pod install && cd .. && yarn ios` or `yarn && yarn android`. By seeing its source code, you will have a better understanding of the library usage. ## Contributors diff --git a/example/src/App.tsx b/example/src/App.tsx index 6ab253e..ff0436a 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -1,6 +1,6 @@ import React from 'react' import { SafeAreaView, View } from 'react-native' -import { Vimeo } from 'react-native-vimeo-player' +import { Vimeo } from 'react-native-vimeo-iframe' const App = () => { return ( diff --git a/example/tsconfig.json b/example/tsconfig.json index 2555552..d7b1949 100644 --- a/example/tsconfig.json +++ b/example/tsconfig.json @@ -8,7 +8,7 @@ "module": "CommonJS", "noEmit": true, "paths": { - "react-native-vimeo-player": ["../src"] + "react-native-vimeo-iframe": ["../src"] }, "skipLibCheck": true, "strict": true, diff --git a/package.json b/package.json index 9acc167..5dad82c 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { - "name": "react-native-vimeo-player", + "name": "react-native-vimeo-iframe", "version": "1.0.0", "description": "", - "homepage": "https://github.com/MetaLabs-inc/react-native-vimeo-player#readme", + "homepage": "https://github.com/MetaLabs-inc/react-native-vimeo-iframe#readme", "main": "src/index.tsx", "types": "lib/index.d.ts", "author": "Marco Fiorito ",