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 07e1fc4 commit 17db6aa
Show file tree
Hide file tree
Showing 4 changed files with 250 additions and 16 deletions.
5 changes: 3 additions & 2 deletions demos/vue3-demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"preview": "vite preview"
},
"dependencies": {
"ezuikit-js": "^8.1.1",
"vue": "^3.2.41"
"ezuikit-js": "^8.1.2",
"vue": "^3.2.41",
"terser": "^5.36.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^3.2.0",
Expand Down
233 changes: 226 additions & 7 deletions demos/vue3-demo/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/vue3-demo/src/components/Player.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ const init = () => {
// 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",
},
});
window.player = player;
// });
Expand All @@ -139,7 +139,9 @@ onMounted(() => {

<template>
<div class="hello-ezuikit-js">
<div id="video-container" style="width: 600px; height: 400px"></div>
<div>
<div id="video-container" style="width: 600px; height: 400px"></div>
</div>
<div>
<button @click="init">init</button>
<button @click="stop">stop</button>
Expand Down
Loading

0 comments on commit 17db6aa

Please sign in to comment.