Skip to content

c10342/player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

146 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

electron-player

概述

全新重构的版本,如果需要查看旧版本的代码,可以查看master-01分支

底层使用libvlc.dll库实现视频播放功能,libvlc.dll的版本是3.0.8

核心是使用koffi库调用libvlc.dll库的函数

核心文件放在src\renderer\src\player\index.ts

效果展示

效果展示

效果展示

启动项目

安装依赖

$ npm install

开发

$ npm run dev

构建

# For windows
$ npm run build:win

# For macOS
$ npm run build:mac

# For Linux
$ npm run build:linux

生成应用图标

1、将新 SVG 图标放到 build/icon.svg

2、运行如下命令

$ npm run generate:icon

脚本会自动生成:

  • build/icon.png (512×512)
  • build/icon.ico (Windows 多尺寸图标)
  • resources/icon.png (512×512)

项目架构文档

ARCHITECTURE.md

About

electron+libvlc音视频播放器

Resources

Stars

381 stars

Watchers

6 watching

Forks

Packages

 
 
 

Contributors