Skip to content

Commit e11582a

Browse files
authored
Merge pull request #13 from devj3ns/patch-1
docs(mux): add note about webhook API endpoint
2 parents 3b69b33 + 2957050 commit e11582a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

packages/mux-video/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ Features include:
1414
![muxVideoPreview](/gifs/mux-preview.gif)
1515

1616
## Payload Setup
17-
There are two possible setups for this plugin: The public setup, andthe signed URLs setup. The main difference between the two is that the signed URLs setup requires setting up a little extra configuration, but that's about it.
17+
There are two possible setups for this plugin: The public setup, and the signed URLs setup. The main difference between the two is that the signed URLs setup requires setting up a little extra configuration, but that's about it.
18+
19+
To get started, you’ll need to generate your MUX tokens and secrets from the MUX Dashboard. When configuring the webhook, set the URL to the automatically generated API endpoint provided by this plugin at `/api/mux/webhook`.
1820

1921
### Public Setup
2022
```tsx
@@ -38,6 +40,8 @@ export default buildConfig({
3840
})
3941
```
4042

43+
44+
4145
### Signed URLs Setup
4246
```tsx
4347
import { buildConfig } from 'payload'
@@ -178,4 +182,4 @@ export default Page
178182

179183
## Credits
180184
* Huge shoutout to [jamesvclements](https://github.com/jamesvclements) for building the initial version of this plugin!
181-
* Shoutout to [Paul](https://github.com/paulpopus) for being a real one.
185+
* Shoutout to [Paul](https://github.com/paulpopus) for being a real one.

0 commit comments

Comments
 (0)