Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/befovy/fijkplayer
ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter video/audio player. Flutter media player plugin for android/iOS based on ijkplayer. fijkplayer 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
https://github.com/befovy/fijkplayer
ffmpeg fijkplayer flutter ijkplayer player video video-player
Last synced: about 18 hours ago
JSON representation
ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter video/audio player. Flutter media player plugin for android/iOS based on ijkplayer. fijkplayer 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer
- Host: GitHub
- URL: https://github.com/befovy/fijkplayer
- Owner: befovy
- License: mit
- Created: 2019-05-29T15:03:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-18T21:20:31.000Z (4 months ago)
- Last Synced: 2024-12-04T15:04:09.173Z (8 days ago)
- Topics: ffmpeg, fijkplayer, flutter, ijkplayer, player, video, video-player
- Language: Dart
- Homepage: https://fijkplayer.befovy.com
- Size: 2.78 MB
- Stars: 1,654
- Watchers: 28
- Forks: 354
- Open Issues: 243
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-github-star - fijkplayer
README
# fijkplayer (Video player plugin for Flutter) Flutter 媒体播放器
✨ **[手把手带你写 Flutter 系统音量插件](https://www.yuque.com/befovy/share/flutter_volume)** ✨ **[Flutter 多版本管理工具 fvm](https://github.com/befovy/fvm)** ✨
[![HitCount](https://hits.dwyl.com/befovy/fijkplayer.svg)](https://hits.dwyl.com/befovy/fijkplayer)
[![pub package](https://img.shields.io/pub/v/fijkplayer.svg)](https://pub.dartlang.org/packages/fijkplayer)
[![Action Status](https://github.com/befovy/fijkplayer/workflows/Flutter/badge.svg?branch=master)](https://github.com/befovy/fijkplayer/actions)A Flutter media player plugin for iOS and android based on [ijkplayer](https://github.com/befovy/ijkplayer)
您的支持是我们开发的动力。 欢迎Star,欢迎PR~。
[Feedback welcome](https://github.com/befovy/fijkplayer/issues) and
[Pull Requests](https://github.com/befovy/fijkplayer/pulls) are most welcome!## Documentation 文档
* Development Documentation https://fijkplayer.befovy.com/docs/en/ quick start、guide、and concepts about fijkplayer
* 开发文档 https://fijkplayer.befovy.com/docs/zh/ 包含快速开始、使用指南、fijkplayer 中的概念理解
* dart api https://pub.dev/documentation/fijkplayer/ detail API and argument explaination
* Release Notes https://github.com/befovy/fijkplayer/releases and [CHANGELOG.md](./CHANGELOG.md)
* FAQ https://fijkplayer.befovy.com/docs/zh/faq.html## Installation 安装
Add `fijkplayer` as a [dependency in your pubspec.yaml file](https://flutter.io/using-packages/).
[![pub package](https://img.shields.io/pub/v/fijkplayer.svg)](https://pub.dartlang.org/packages/fijkplayer)
```yaml
dependencies:
fijkplayer: ^{{latest version}}
```Replace `{{latest version}}` with the version number in badge above.
Use git branch which not published to pub.
```yaml
dependencies:
fijkplayer:
git:
url: https://github.com/befovy/fijkplayer.git
ref: develop # can be replaced to branch or tag name
```## Example 示例
```dart
import 'package:fijkplayer/fijkplayer.dart';
import 'package:flutter/material.dart';class VideoScreen extends StatefulWidget {
final String url;VideoScreen({@required this.url});
@override
_VideoScreenState createState() => _VideoScreenState();
}class _VideoScreenState extends State {
final FijkPlayer player = FijkPlayer();_VideoScreenState();
@override
void initState() {
super.initState();
player.setDataSource(widget.url, autoPlay: true);
}@override
Widget build(BuildContext context) {
return Scaffold(
appBar: AppBar(title: Text("Fijkplayer Example")),
body: Container(
alignment: Alignment.center,
child: FijkView(
player: player,
),
));
}@override
void dispose() {
super.dispose();
player.release();
}
}```
## Contributors 贡献者 ✨
Thanks goes to [these wonderful people](./CONTRIBUTORS.md) ([emoji key](https://allcontributors.org/docs/en/emoji-key))
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome
## iOS Warning 警告
Warning: The fijkplayer video player plugin is not functional on iOS simulators. An iOS device must be used during development/testing. For more details, please refer to this [issue](https://github.com/flutter/flutter/issues/14647).
## Join Ding Talk Group 加入钉钉群
加入钉钉群
微信赞赏码
支付宝