パッケージ、リポジトリ、アプリカテゴリを検索

パッケージ詳細v0.11.0

fijkplayer

ijkplayer をベースにしたビデオプレイヤー用Flutterプラグイン。最も一般的なプロトコルおよびコーデックをサポートしています。

AndroidiOS
30日間ダウンロード
750
いいね数
250
Pub ポイント
130

パッケージをインストール

flutter pub add fijkplayer

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

FijkPlayer は ijkplayer フレームワークに基づいて構築された Flutter 動画再生プラグインであり、幅広い動画プロトコルおよびコーデックを強力にサポートしています。Android および iOS プラットフォーム上でさまざまなメディア形式をスムーズに再生できます。高いパフォーマンスと信頼性を実現するように設計されており、動画レンダリングや再生動作に対する低レベル制御を提供します。Flutter のウィジェットシステムとシームレスに統合され、ハードウェアアクセラレーション、字幕レンダリング、カスタムコントロールなどの機能もサポートしています。広範な動画互換性とカスタマイズが必要なアプリに最適です。

用途

  • ストリーミング動画コンテンツ
  • ローカル動画ファイルの再生
  • 複数のコーデックをサポート
  • メディアプレーヤーの構築
  • 字幕の統合

主な機能

  • 広範なコーデックおよびプロトコル対応
  • ハードウェアアクセラレーテッド再生
  • カスタマイズ可能な UI コンポーネント
  • 字幕サポート
  • 低レベルの再生制御

適している対象

  • メディア重視のアプリケーション
  • 動画ストリーミングアプリ
  • オフライン動画再生
  • カスタム動画プレイヤー
  • クロスプラットフォーム動画ソリューション

注意事項

  • ネイティブプラットフォームのセットアップが必要です
  • 限られたドキュメント
  • 高度な機能を使用するには、追加の構成が必要になる場合があります
  • シンプルな利用ケースには適していない
  • ijkplayerの安定性に依存する

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

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

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

HitCount     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 文档

  • 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
  • FAQ https://fijkplayer.befovy.com/docs/zh/faq.html

Installation 安装

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

pub package

dependencies:
  fijkplayer: ^{{latest version}}

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

Use git branch which not published to pub.

dependencies:
  fijkplayer:
    git:
      url: https://github.com/befovy/fijkplayer.git
      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});

  @override
  _VideoScreenState createState() => _VideoScreenState();
}

class _VideoScreenState extends State<VideoScreen> {
  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 (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.

Join Ding Talk Group 加入钉钉群

加入钉钉群 微信赞赏码 支付宝
加入钉钉群 微信赞赏码 支付宝二维码

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト