V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
爱意满满的作品展示区。
7gugu
V2EX  ›  分享创造

[开源] Dock Video Player

  •  1
     
  •   7gugu ·
    7gugu · 16 小时 24 分钟前 · 454 次点击

    Introduction / 简介

    https://i.v2ex.co/685kIq50.png

    A program that plays videos in the Mac Dock bar by utilizing the Dock icon dynamic replacement API.

    利用 Dock 图标动态替换 API ,实现的一款在 Mac Dock 栏播放视频的程序。

    Usage Guide / 使用教程

    1. Run npm install to install dependencies
    2. Run npm start to launch the Electron application
    3. Load a video
    4. Click play to see the video displayed in the Dock bar
    5. The repository includes a BadApple sample video. For the best experience, set audio playback to 1x speed and start it 0.2 seconds earlier

    1. 运行npm install安装依赖( ffmpeg-static 安装可能会有点问题,建议直接使用国内镜像源下载)
    2. 运行npm start启动 Electron 应用
    3. 加载视频
    4. 点击播放即可在 Dock 栏中看到视频画面
    5. 仓库中提供了 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 ,谢谢。

    Contact / 联系方式

    1 条回复    2025-03-06 09:19:52 +08:00
    dandycheung
        1
    dandycheung  
       7 小时 57 分钟前 via Android
    创意不错!
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5171 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 20ms · UTC 09:17 · PVG 17:17 · LAX 01:17 · JFK 04:17
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.