diff --git a/README.md b/README.md index 70a02ed..c8ca2e2 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ export default function Page() { ``` -### Custom Player +### Custom Player ([Demo](https://next-video-demo.vercel.app/custom-player)) You can customize the player by passing a custom player component to the `as` prop. The custom player component accepts the following props: @@ -254,19 +254,21 @@ The custom player component accepts the following props: ```tsx import Video from 'next-video'; -import { ReactPlayerAsVideo } from './player'; +import ReactPlayer from './player'; import awesomeVideo from '/videos/awesome-video.mp4'; export default function Page() { - return