Skip to content

Commit

Permalink
demo: update [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
freeshineit committed Dec 17, 2024
1 parent ba8eb55 commit 07e1fc4
Show file tree
Hide file tree
Showing 3 changed files with 166 additions and 8 deletions.
2 changes: 1 addition & 1 deletion demos/with-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"classnames": "^2.5.1",
"ezuikit-js": "^8.1.1",
"ezuikit-js": "^8.1.2",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
164 changes: 160 additions & 4 deletions demos/with-react-vite/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions demos/with-react-vite/src/Player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ const Player = () => {
// https://open.ys7.com/help/1772?h=domain
// domain默认是 https://open.ys7.com, 如果是私有化部署或海外的环境,请配置对应的domain
// The default domain is https://open.ys7.com If it is a private deployment or overseas (outside of China) environment, please configure the corresponding domain
domain // "https://open.ys7.com"
domain, // "https://open.ys7.com"
},
plugin: ["talk"] // 加载插件,talk-对讲
plugin: ["talk"], // 加载插件,talk-对讲
});
}
}, []);
Expand Down Expand Up @@ -149,7 +149,9 @@ const Player = () => {
return (
<div className="player-wrapper">
<h2>ezopen使用示例 (Example of using ezopen):</h2>
<div id="player-container"></div>
<div>
<div id="player-container"></div>
</div>
<div className="form">
<div className="form-item">
<label>url</label>
Expand Down

0 comments on commit 07e1fc4

Please sign in to comment.