From 07825877601fc35318d94520ccdfe1d1aeaa3354 Mon Sep 17 00:00:00 2001 From: Thibault Deckers Date: Fri, 2 Apr 2021 09:54:20 +0900 Subject: [PATCH] video: controller switch prep --- pubspec.yaml | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 7896035e6..5955c41dd 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -41,8 +41,11 @@ dependencies: firebase_crashlytics: flutter_highlight: # fijkplayer: +## path: ../fijkplayer +# git: +# url: git://github.com/deckerst/fijkplayer.git +# ref: aves-config flutter_ijkplayer: -# path: ../flutter_ijkplayer git: url: git://github.com/deckerst/flutter_ijkplayer.git flutter_localized_locales: @@ -88,6 +91,21 @@ flutter: generate: true uses-material-design: true +################################################################################ +# Build + +# deckerst/fijkplayer + +# This fork depends on a local .aar, but Flutter does not support this well +# cf https://github.com/flutter/flutter/issues/28195 +# so building an app with this plugin requires the file to be present at: +# `/android/app/libs/fijkplayer-full-release.aar` +# The .aar file in the app will take precedence over the one in the plugin itself. + +# The reference file is available at: +# - [git] https://github.com/deckerst/fijkplayer/blob/aves-config/android/libs/fijkplayer-full-release.aar +# - [local/win] C:\Users\\AppData\Local\Pub\Cache\git\fijkplayer-\android\libs\fijkplayer-full-release.aar + ################################################################################ # Localization @@ -121,15 +139,16 @@ flutter: # - does not support AVI/XVID, AC3 # - cannot play if only the video or audio stream is supported -# fijkplayer (as of v0.8.7, backed by IJKPlayer & ffmpeg): -# - support content URIs -# - does not support XVID, AC3 (by default, but possible by custom build) -# - can play if only the video or audio stream is supported -# - crash when calling `seekTo` for some files (e.g. TED talk videos) -# - no edge smear (with default build) - # flutter_ijkplayer (as of v0.3.5+1, backed by IJKPlayer & ffmpeg): -# - support content URIs (`DataSource.photoManagerUrl` from v0.3.6, but need fork to support content URIs on Android