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 installto install dependencies - Run
npm startto 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 秒播放,体验最佳
Demo Video / 演示视频
https://www.bilibili.com/video/BV1679oYKEdX
Finally / 最后
If you like this project, please give me a star. Thank you.
如果你喜欢这个项目,请给予我一个 star ,谢谢。