Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump version #4

Merged
merged 7 commits into from
Oct 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,25 +56,25 @@ Choose the package manager your preference:
With [npm](https://npmjs.com/):

```bash
$ npm install @ederssouza/react-vimeo-player
$ npm install reactjs-vimeo-player
```

With [yarn](https://yarnpkg.com/):

```bash
$ yarn add @ederssouza/react-vimeo-player
$ yarn add reactjs-vimeo-player
```

With [pnpm](https://pnpm.io/):

```bash
$ pnpm add @ederssouza/react-vimeo-player
$ pnpm add reactjs-vimeo-player
```

## How to use

```jsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'

function Component() {
return <VimeoPlayer id="59777392" />
Expand All @@ -86,8 +86,8 @@ export default Component
## Options

```jsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import type { PlayEvent } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'
import type { PlayEvent } from 'reactjs-vimeo-player'

function Component() {
return <Vimeo id="59777392" autoplay />
Expand Down Expand Up @@ -131,8 +131,8 @@ width | `number` | | The exact width of the v
You can listen for events in the player by attaching a callback as React property:

```tsx
import { VimeoPlayer } from '@ederssouza/react-vimeo-player'
import type { PlayEvent } from '@ederssouza/react-vimeo-player'
import { VimeoPlayer } from 'reactjs-vimeo-player'
import type { PlayEvent } from 'reactjs-vimeo-player'

function Component() {
function onPlay(event: PlayEvent) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reactjs-vimeo-player",
"version": "1.0.2",
"version": "1.0.3",
"type": "module",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
Expand Down