https://github.com/freeshineit/ezuikit_rec_demo
https://github.com/freeshineit/ezuikit_rec_demo
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/freeshineit/ezuikit_rec_demo
- Owner: freeshineit
- Created: 2024-05-09T12:16:29.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-18T14:08:48.000Z (8 months ago)
- Last Synced: 2025-02-18T15:24:59.456Z (8 months ago)
- Language: Vue
- Size: 3.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ezuikit_rec_demo
## Use
```bash
# npm
npm install# yarn
yarn install# pnpm
pnpm install# development
npm run serve# build production
npm run build```
## staticPath
```ts
player = new RecTheme({
id: "video-container", // container id
accessToken,
url,
width: 600,
height: 400,
staticPath: "/", // Currently, no CDN is provided. Locally specify the path of a static resource
autoPlay: true,
env: { domain },
});
````staticPath` is the path of a dependent static resource, and sdk does not provide a CDN.
Copy `node_modules/@ezuikit/theme-rec/dist/PlayCtrlWasm` to `public/PlayCtrlWasm`