8ad018fb35
### Documentation / Examples Hello Next.js 👋🏼 This PR aims to update the with-apivideo example by: - Updating images domain name - Switch to `export default function` for pages - Updating the uploader playable and ingested status ### What do we use In this example, we use several Next.js features: - Routes and dynamic routes - API and dynamic API routes And api.video tools: - NodeJS client - React player (instead of our Player SDK) - TypeScript uploader Thank's in advance for your review 🙏🏼
23 lines
525 B
JSON
23 lines
525 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next dev",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@api.video/nodejs-client": "2.2.5",
|
|
"@api.video/react-player": "^1.0.1",
|
|
"@api.video/video-uploader": "^1.1.3",
|
|
"next": "latest",
|
|
"react": "18.2.0",
|
|
"react-dom": "18.2.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "17.0.23",
|
|
"@types/react": "17.0.43",
|
|
"@types/react-dom": "17.0.14",
|
|
"eslint-config-next": "latest",
|
|
"typescript": "4.6.3"
|
|
}
|
|
}
|