Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6edad1d

Browse files
committed
demo: update v8.1.9-beta.1
1 parent 94b314c commit 6edad1d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

demos/react-demo/src/Player.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const Player = () => {
178178
type="text"
179179
ref={staticPathRef}
180180
style={{ width: 500 }}
181-
defaultValue=""
181+
defaultValue="https://openstatic.ys7.com/ezuikit_js/v8.1.9/ezuikit_static"
182182
/>
183183
</div>
184184
<div>

demos/with-react-vite/src/Player.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ const Player = () => {
7474
streamInfoCBType: 1,
7575
});
7676

77+
(window as any).player = player.current;
78+
7779
player.current.eventEmitter.on(
7880
EZUIKitPlayer.EVENTS.videoInfo,
7981
(info: any) => {
@@ -201,17 +203,17 @@ const Player = () => {
201203
<div className="form-item">
202204
<label>url</label>
203205
{/* prettier-ignore */}
204-
<input ref={urlRef} placeholder="ezopen url" defaultValue="ezopen://open.ys7.com/BB9480953/1.hd.live" />
206+
<input ref={urlRef} placeholder="ezopen url" defaultValue="ezopen://open.ys7.com/BC7799091/1.hd.live" />
205207
</div>
206208
<div className="form-item">
207209
<label>accessToken</label>
208210
{/* prettier-ignore */}
209-
<input ref={accessTokenRef} placeholder="ezopen accessToken" defaultValue="at.2ec3m7dga2v59cps6rv0d1haa2vqsjka-1lbu5f5hyi-1j9rleq-npvuluse" />
211+
<input ref={accessTokenRef} placeholder="ezopen accessToken" defaultValue="at.1gskp9sk9h5t0qzkb9njljgec9szaqkq-4qrit4qict-0r92aaq-ef8rzzvhg" />
210212
</div>
211213
<div className="form-item">
212214
<label>staticPath</label>
213215
{/* prettier-ignore */}
214-
<input ref={staticPathRef} placeholder="ezopen staticPath" defaultValue="" />
216+
<input ref={staticPathRef} placeholder="ezopen staticPath" defaultValue="https://openstatic.ys7.com/ezuikit_js/v8.1.9/ezuikit_static" />
215217
</div>
216218
<div className="form-item">
217219
<label>domain</label>

0 commit comments

Comments
 (0)