Skip to content

Commit b53a839

Browse files
committed
example: set default playback id in link
1 parent e40b474 commit b53a839

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/nextjs-with-typescript/pages/MuxPlayer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ const DEFAULT_INITIAL_STATE: Partial<MuxPlayerProps> = Object.freeze({
121121
crossOrigin: undefined,
122122
customDomain: undefined,
123123
tokens: undefined,
124-
playbackId: 'ihZa7qP1zY8oyLSQW9TS602VgwQvNdyIvlk9LInEGU2s',
124+
playbackId: undefined,
125125
streamType: undefined,
126126
storyboardSrc: undefined,
127127
theme: undefined,

examples/nextjs-with-typescript/pages/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function HomePage() {
66
<ul>
77
<li><Link href="/MuxVideo" className="video">&lt;MuxVideo&gt;</Link></li>
88
<li><Link href="/MuxAudio"className="audio">&lt;MuxAudio&gt;</Link></li>
9-
<li><Link href="/MuxPlayer" className="player">&lt;MuxPlayer&gt;</Link></li>
9+
<li><Link href='/MuxPlayer?playbackId="ihZa7qP1zY8oyLSQW9TS602VgwQvNdyIvlk9LInEGU2s"' className="player">&lt;MuxPlayer&gt;</Link></li>
1010
<li><Link href="/MuxPlayerPosterSlot" className="player"><>&lt;MuxPlayer&gt;<br/>(poster slot)</></Link></li>
1111
<li><Link href="/MuxPlayerTheme" className="player"><>&lt;MuxPlayer&gt;<br/>(theme)</></Link></li>
1212
<li><Link href="/MuxPlayerCuePoints" className="player"><>&lt;MuxPlayer&gt;<br/>(CuePoints)</></Link></li>

0 commit comments

Comments
 (0)