zkjan-player
v1.2.43
Published
1.2.18: PC端去除播放器获取焦点限制,取消阻止键盘事件代码,分别写入对应按键位置; 1.2.19: 解决输入框左右移动光标与视频快进后退冲突;1.2.20: 延长上次播放提示气泡时间; 1.2.21: 去除视频预加载,是否自动播放传参控制; 1.2.22: 增加props;1.2.23: 去除首页播放器倍速、宽屏按钮;1.2.24: 添加1.75倍速按钮;1.2.25: 添加静音播放选项;1.2.26预加载设置为props动态选择;1.2.27更新tcplayer.js版本,视频卡顿问题;1.2.
Readme
播放器项目
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need TypeScript Vue Plugin (Volar) to make the TypeScript language service aware of .vue types.
If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a Take Over Mode that is more performant. You can enable it by the following steps:
- Disable the built-in TypeScript Extension
- Run
Extensions: Show Built-in Extensionsfrom VSCode's command palette - Find
TypeScript and JavaScript Language Features, right click and selectDisable (Workspace)
- Run
- Reload the VSCode window by running
Developer: Reload Windowfrom the command palette.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm installCompile and Hot-Reload for Development
npm run devType-Check, Compile and Minify for Production
npm run buildLint with ESLint
npm run lint