Skip to content
ijkplayer for flutter. ijkplayer 的 flutter 封装。 Flutter media player plugin for android/iOS based on ijkplayer. fijkplayr 是基于 ijkplayer 封装的 flutter 媒体播放器,开箱即用,无需编译 ijkplayer。 QQ 交流群: 670245439
Dart Java Objective-C Go Ruby C
Branch: master
Clone or download
befovy chore: Update issue templates
Add section What attempts have you made to resolve this error?
Latest commit 3305851 Jan 16, 2020
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github chore: Update issue templates Jan 16, 2020
android feat: show cover after prepared (#162) Jan 6, 2020
docs docs: update faq cover [skip ci] Jan 7, 2020
go fix: null width and height event (#147) Dec 20, 2019
ios chore: release 0.5.0 Jan 6, 2020
lib feat: show cover after prepared (#162) Jan 6, 2020
res/values new flutter plugin, initial commit May 31, 2019
test refactor: fix spell error Nov 29, 2019
.clang-format fix posd framework sign error, add clang-format Jul 15, 2019
.gitignore git: update gitignore Aug 19, 2019
.gitmessage.txt chore: add git commit template Sep 12, 2019
.metadata recreate project, and copy file from old project. Jul 17, 2019 chore: release 0.5.0 Jan 6, 2020 docs: add mrdong916 as a contributor (#157) Jan 1, 2020
LICENSE update license, changelog, readme Jun 28, 2019 docs: replace version number with badge Jan 1, 2020
pubspec.lock feat: lazy init surface after prepared (#148) Dec 20, 2019

fijkplayer (Video player plugin for Flutter) Flutter 媒体播放器

手把手带你写 Flutter 系统音量插件 Flutter 多版本管理工具 fvm

pub package     Action Status    

A Flutter media player plugin for iOS and android based on ijkplayer

您的支持是我们开发的动力。 欢迎Star,欢迎PR~。 Feedback welcome and Pull Requests are most welcome!

Documentation 文档

Installation 安装

Add fijkplayer as a dependency in your pubspec.yaml file.

pub package

  fijkplayer: ^{{latest version}}

Replace {{latest version}} with the version number in badge above.

Use git branch which not published to pub.

      ref: develop # can be replaced to branch or tag name

Example 示例

import 'package:fijkplayer/fijkplayer.dart';
import 'package:flutter/material.dart';

class VideoScreen extends StatefulWidget {
  final String url;

  VideoScreen({@required this.url});

  _VideoScreenState createState() => _VideoScreenState();

class _VideoScreenState extends State<VideoScreen> {
  final FijkPlayer player = FijkPlayer();


  void initState() {
    player.setDataSource(widget.url, autoPlay: true);

  Widget build(BuildContext context) {
    return Scaffold(
        appBar: AppBar(title: Text("Fijkplayer Example")),
        body: Container(
          child: FijkView(
            player: player,

  void dispose() {

Already in use in following apps

Contact me or create pull request to add your app here.

Contributors 贡献者

Thanks goes to these wonderful people (emoji key)

This project follows the 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.

Next Plan 计划

See the development plan of next version in

You can’t perform that action at this time.