Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add Next.js and Remix.js examples #213

Merged
merged 4 commits into from
Apr 9, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update README.md
  • Loading branch information
decepulis committed Apr 9, 2024
commit a950e4b971b40a3284fc846bd22ddd0ca11e94b5
11 changes: 3 additions & 8 deletions remixjs-uploader-and-player/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Mux Video

> [!NOTE]
> This example will be removed from this repository once it is accepted and merged into the official Remix examples: [remix-run/examples#441](https://github.com/remix-run/examples/pull/441).

This example features video uploading and playback in a Remix.js application.
Expand All @@ -19,19 +20,13 @@ Open this example on [CodeSandbox](https://codesandbox.com):

## How to use

### Step 1. Create a Remix app with this example

```bash
npx create-remix@latest --template examples/mux-video
```

### Step 2. Create an account in Mux
### Step 1. Create an account in Mux

All you need to run this example is a [Mux account](https://www.mux.com?utm_source=remix-examples&utm_medium=mux-video&utm_campaign=remix-examples). You can sign up for free. There are no upfront charges -- you get billed monthly only for what you use.

Without entering a credit card on your Mux account all videos are in “test mode” which means they are watermarked and clipped to 10 seconds. If you enter a credit card all limitations are lifted and you get \$20 of free credit. The free credit should be plenty for you to test out and play around with everything.

### Step 3. Set up environment variables
### Step 2. Set up environment variables

Copy the `.env.example` file in this directory to `.env` (which will be ignored by Git):

Expand Down