Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
3659b5e7
Unverified
Commit
3659b5e7
authored
Jan 20, 2023
by
Dylan Jhaveri
Committed by
GitHub
Jan 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update Mux Player to latest, pin to ^1 and pin upchunk to ^3 add Mux … (#45121)
Co-authored-by:
JJ Kasper
<
jj@jjsweb.site
>
parent
259cbc18
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
package.json
examples/with-mux-video/package.json
+2
-2
[id].tsx
examples/with-mux-video/pages/v/[id].tsx
+5
-1
No files found.
examples/with-mux-video/package.json
View file @
3659b5e7
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
},
},
"dependencies"
:
{
"dependencies"
:
{
"@mux/mux-node"
:
"^7.0.0"
,
"@mux/mux-node"
:
"^7.0.0"
,
"@mux/mux-player-react"
:
"^1
.4.0
"
,
"@mux/mux-player-react"
:
"^1"
,
"@mux/upchunk"
:
"^3
.0.0
"
,
"@mux/upchunk"
:
"^3"
,
"next"
:
"latest"
,
"next"
:
"latest"
,
"react"
:
"^18.2.0"
,
"react"
:
"^18.2.0"
,
"react-dom"
:
"^18.2.0"
,
"react-dom"
:
"^18.2.0"
,
...
...
examples/with-mux-video/pages/v/[id].tsx
View file @
3659b5e7
...
@@ -67,7 +67,11 @@ export default function Playback({
...
@@ -67,7 +67,11 @@ export default function Playback({
loadTwitterWidget
loadTwitterWidget
>
>
<
div
className=
"flash-message"
>
This video is ready for playback
</
div
>
<
div
className=
"flash-message"
>
This video is ready for playback
</
div
>
<
MuxPlayer
style=
{
{
width
:
'100%'
}
}
playbackId=
{
playbackId
}
/>
<
MuxPlayer
style=
{
{
width
:
'100%'
}
}
playbackId=
{
playbackId
}
metadata=
{
{
player_name
:
'with-mux-video'
}
}
/>
<
p
>
<
p
>
Go
{
' '
}
Go
{
' '
}
<
Link
href=
"/"
legacyBehavior
>
<
Link
href=
"/"
legacyBehavior
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment