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

パッケージ詳細v0.1.3

videos_player

chewie および video player を活用して動画リストを表示するためのFlutterパッケージ

30日間ダウンロード
40
いいね数
50
Pub ポイント
40

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

flutter pub add videos_player

パッケージ概要

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

videos_player パッケージは、chewie および video_player パッケージの機能を活用して、リスト内に動画コンテンツを表示するための Flutter ソリューションです。組み込みコントロール、プログレス追跡、再生カスタマイズを備えた動画再生のための直感的なインターフェースを提供します。Flutter アプリでの動画統合を簡素化するために設計されており、ローカルおよびネットワークベースの動画ソースに対してスムーズな再生と応答性のある UI をサポートしています。強力な下位ライブラリを一貫性があり使いやすいコンポーネントに統合することで、実装を簡略化します。

用途

  • メディアアプリで動画リストを表示する
  • 教育プラットフォームにおける動画再生の統合
  • コンテンツ豊富なモバイル体験の向上
  • チュートリアルやウォークスルーの埋め込み
  • ソーシャルアプリにおけるストリーミング動画コンテンツ

主な機能

  • video_player および chewie に基づく
  • ローカルおよびリモートの動画ソースをサポートしています
  • カスタマイズ可能なコントロールによるスムーズな再生
  • リスト対応の動画表示
  • モバイルデバイス用のレスポンシブUI

適している対象

  • メディア重視のFlutterアプリを開発する開発者
  • 教育またはチュートリアル向けのアプリケーション
  • 動画統合を必要とするコンテンツプラットフォーム
  • 動画ギャラリー付きモバイルアプリ
  • 信頼できる動画再生ソリューションを探しているチーム

注意事項

  • 高度な機能を利用するには追加の設定が必要です
  • 限定されたプラットフォーム固有の最適化
  • 外部パッケージ(chewie、video_player)に依存しています
  • ユニークなUI要件に対応するため、カスタムスタイルが必要になる場合があります
  • 高容量の動画ストリーミングに最適化されていません

元の README

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

videos_player

The videos player for Flutter which uses chewie and video_player behind the scenes to play list of videos to be displayed and switched when needed without any complicating configurations.

The video_player plugin provides low-level access to video playback. The chewie plugin uses the video_player under the hood and wraps it in a friendly Material or Cupertino UI!

Videos Player handles both configurations in a single package.

Demo

Demo Demo
Style 1 Style 2

Installation

In your pubspec.yaml file within your Flutter Project:

dependencies:
  videos_player: <latest_version>

Use it

import 'package:videos_player/model/video.model.dart';
import 'package:videos_player/videos_player.dart';
import 'package:videos_player/model/control.model.dart';

final widget = VideosPlayer(
                       networkVideos: [
                         new NetworkVideo(
                             id: "2",
                             name: "Elephant Dream",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ElephantsDream.jpg",
                             videoControl: new NetworkVideoControl(
                               fullScreenByDefault: true,
                             )),
                         new NetworkVideo(
                             id: "3",
                             name: "Big Buck Bunny",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/BigBuckBunny.jpg",
                             videoControl: new NetworkVideoControl(autoPlay: true)),
                         new NetworkVideo(
                             id: "4",
                             name: "For Bigger Blazes",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerBlazes.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerBlazes.jpg"),
                         new NetworkVideo(
                             id: "5",
                             name: "For Bigger Escape",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerEscapes.jpg"),
                         new NetworkVideo(
                             id: "6",
                             name: "For Bigger Fun",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerFun.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerFun.jpg"),
                         new NetworkVideo(
                             id: "7",
                             name: "For Bigger Joyrides",
                             videoUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerJoyrides.mp4",
                             thumbnailUrl:
                                 "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/images/ForBiggerJoyrides.jpg"),
                       ],
                       playlistStyle: Style.Style2,
                     );

Video Controls

Video controls support is added according to each video.

Example

Please run the app in the example/ folder to start playing!

iOS warning

The video player plugin is not functional on iOS simulators. An iOS device must be used during development/testing. Please refer to this issue.

カテゴリー

依存関係

依存関係一覧 2 件

ソースリポジトリ

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

データはまだありません。