Skip to content

Latest commit

 

History

History

nextjs-mdx-player

This is a Next.js project bootstrapped with create-next-app. It has been modified to illustrate how to embed the Mux Player into blog posts in the .mdx file format.

utils/blogPosts.js uses mdx-bundler to process all .mdx files in the blog directory. And pages/posts/[slug].js renders the <MDX Component /> and imports <MuxPlayer /> for Component Substitution.

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Learn More

To learn more about Next.js, take a look at the following resources:

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.