这是一个基于VUE + Go做的一个本地视频播放器项目,欢迎fork或star。
预览地址(无后端数据) : https://hustpython.github.io/lmdb
# 安装依赖
npm install
# 开发模式
npm run dev
# 打包
npm run build
# 启动后端
bee run
-
解压 lmdb\releases.zip
-
进入releases文件夹
-
进入 js 目录,将js文件中 "192.168.31.54:9090"
换成 自己的ip+port(主要是为了移动端能够访问本地PC后台)
-
返回 双击 run.bat(本命令是打开index.html文件),如果需要监听端口方便移动端访问需要在index.html命令
打开cmd,输入 http-server 回车
键名 | 功能 |
---|---|
Space | 播放/暂停 |
Ctrl | 打开评论/关闭评论窗口 |
Enter | 确认评论 |
Left | 左快进6s |
Right | 右快进6s |
Insert | 截图 |
Alt + A | 打开/关闭评论列表 |