Introduction / 简介

A program that plays videos in the Mac Dock bar by utilizing the Dock icon dynamic replacement API.
利用Dock图标动态替换API,实现的一款在Mac Dock栏播放视频的程序。
Usage Guide / 使用教程
- Run
npm install
to install dependencies (ffmpeg-static installation might have issues, it’s recommended to use a China-based mirror) - Run
npm start
to launch the Electron application - Load a video
- Click play to see the video displayed in the Dock bar
- The repository includes a BadApple sample video. For the best experience, set audio playback to 1x speed and start it 0.2 seconds earlier
- 运行
npm install
安装依赖(ffmpeg-static安装可能会有点问题,建议直接使用国内镜像源下载) - 运行
npm start
启动Electron应用 - 加载视频
- 点击播放即可在Dock栏中看到视频画面
- 仓库中提供了BadApple的范例视频,建议将音频的播放时间设置为1倍速+提前0.2秒播放,体验最佳
Github
https://github.com/7gugu/Dock-Video-Player
Demo Video / 演示视频
Finally / 最后
If you like this project, please give me a star. Thank you.
如果你喜欢这个项目,请给予我一个star,谢谢。