Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Mar 12, 2023
1 parent 54939cd commit 7f2db8d
Show file tree
Hide file tree
Showing 137 changed files with 77 additions and 96 deletions.
3 changes: 3 additions & 0 deletions package/play/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"cmake.sourceDirectory": "${workspaceFolder}/example/linux"
}
Empty file modified package/play/CHANGELOG.md
100755 → 100644
Empty file.
Empty file modified package/play/LICENSE
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion package/play/README.md
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ flutter pub add play
|---------|------------|
| Android | Tested |
| Linux | Tested |
| Windows | Tested |
| Windows | NOT Tested |
| ios | Tested |
| Web | Tested |
| macOS | Not Tested |
Expand Down
Empty file modified package/play/analysis_options.yaml
100755 → 100644
Empty file.
4 changes: 3 additions & 1 deletion package/play/bin/play.dart
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ play ./audio.mp3
""";

print("slebew");
Play play = Play(
gui: false,
);

await play.open(
medias: [
"/home/hexaminate/Documents/hexaminate/app/play/audio.mp3",
// "/home/hexaminate/Documents/hexaminate/app/play/audio.mp3",
"C:\Users\Glx\Downloads\K-Pop\video.mp4"
],
);
double volume = await play.player.streams.volume.first;
Expand Down
Empty file modified package/play/example/README.md
100755 → 100644
Empty file.
Empty file modified package/play/example/analysis_options.yaml
100755 → 100644
Empty file.
Empty file modified package/play/example/android/app/build.gradle
100755 → 100644
Empty file.
Empty file modified package/play/example/android/app/src/debug/AndroidManifest.xml
100755 → 100644
Empty file.
Empty file modified package/play/example/android/app/src/main/AndroidManifest.xml
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file modified package/play/example/android/app/src/main/res/values/styles.xml
100755 → 100644
Empty file.
Empty file.
Empty file modified package/play/example/android/build.gradle
100755 → 100644
Empty file.
Empty file modified package/play/example/android/gradle.properties
100755 → 100644
Empty file.
Empty file modified package/play/example/android/gradle/wrapper/gradle-wrapper.jar
100755 → 100644
Empty file.
Empty file.
Empty file modified package/play/example/android/gradlew
100755 → 100644
Empty file.
Empty file modified package/play/example/android/gradlew.bat
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion package/play/example/android/local.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
sdk.dir=/home/hexaminate/Android/Sdk
flutter.sdk=/home/hexaminate/development/flutter
flutter.sdk=C:\\Users\\Glx\\Documents\\development\\flutter
flutter.buildMode=debug
flutter.versionName=1.0.0
flutter.versionCode=2
Empty file modified package/play/example/android/settings.gradle
100755 → 100644
Empty file.
Empty file modified package/play/example/ios/Flutter/AppFrameworkInfo.plist
100755 → 100644
Empty file.
Empty file modified package/play/example/ios/Flutter/Debug.xcconfig
100755 → 100644
Empty file.
14 changes: 0 additions & 14 deletions package/play/example/ios/Flutter/Generated.xcconfig

This file was deleted.

Empty file modified package/play/example/ios/Flutter/Release.xcconfig
100755 → 100644
Empty file.
13 changes: 0 additions & 13 deletions package/play/example/ios/Flutter/flutter_export_environment.sh

This file was deleted.

Empty file modified package/play/example/ios/Runner.xcodeproj/project.pbxproj
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified package/play/example/ios/Runner/AppDelegate.swift
100755 → 100644
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file modified package/play/example/ios/Runner/Base.lproj/Main.storyboard
100755 → 100644
Empty file.
Empty file modified package/play/example/ios/Runner/Info.plist
100755 → 100644
Empty file.
Empty file modified package/play/example/ios/Runner/Runner-Bridging-Header.h
100755 → 100644
Empty file.
1 change: 1 addition & 0 deletions package/play/example/lib/main.dart
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,7 @@ class _MainPageState extends State<MainPage> {
},
itemBuilder: (context, i) {
return Video(
key: Key("video :${i}"),
mediaData: MediaData.file(file: File(files[i].path)),
id: i,
onProcces: (context) {
Expand Down
Empty file modified package/play/example/linux/CMakeLists.txt
100755 → 100644
Empty file.
Empty file modified package/play/example/linux/flutter/CMakeLists.txt
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file modified package/play/example/linux/flutter/generated_plugins.cmake
100755 → 100644
Empty file.
Empty file modified package/play/example/linux/main.cc
100755 → 100644
Empty file.
Empty file modified package/play/example/linux/my_application.cc
100755 → 100644
Empty file.
Empty file modified package/play/example/linux/my_application.h
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Flutter/Flutter-Debug.xcconfig
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Flutter/Flutter-Release.xcconfig
100755 → 100644
Empty file.
Empty file.

This file was deleted.

This file was deleted.

Empty file modified package/play/example/macos/Runner.xcodeproj/project.pbxproj
100755 → 100644
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified package/play/example/macos/Runner/AppDelegate.swift
100755 → 100644
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified package/play/example/macos/Runner/Base.lproj/MainMenu.xib
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Configs/AppInfo.xcconfig
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Configs/Debug.xcconfig
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Configs/Release.xcconfig
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Configs/Warnings.xcconfig
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/DebugProfile.entitlements
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Info.plist
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/MainFlutterWindow.swift
100755 → 100644
Empty file.
Empty file modified package/play/example/macos/Runner/Release.entitlements
100755 → 100644
Empty file.
18 changes: 17 additions & 1 deletion package/play/example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.0.1"
media_kit_libs_windows_audio:
dependency: transitive
description:
name: media_kit_libs_windows_audio
sha256: "417c1578cd9dbd490a7ac5ba447e31d3c3139a65c089b31095b7980d54aeeec5"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
media_kit_libs_windows_video:
dependency: transitive
description:
name: media_kit_libs_windows_video
sha256: aadc5b6a24b8cfc3adda910fa824ed2af6cb2d33fef84227d2bb2900ce207bd6
url: "https://pub.dev"
source: hosted
version: "1.0.0"
media_kit_video:
dependency: transitive
description:
Expand Down Expand Up @@ -286,7 +302,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.22"
version: "0.0.24"
plugin_platform_interface:
dependency: transitive
description:
Expand Down
12 changes: 1 addition & 11 deletions package/play/example/pubspec.yaml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,7 @@ description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html

version: 1.0.0+2

environment:
Expand Down
Empty file modified package/play/example/web/favicon.png
100755 → 100644
Empty file modified package/play/example/web/icons/Icon-192.png
100755 → 100644
Empty file modified package/play/example/web/icons/Icon-512.png
100755 → 100644
Empty file modified package/play/example/web/icons/Icon-maskable-192.png
100755 → 100644
Empty file modified package/play/example/web/icons/Icon-maskable-512.png
100755 → 100644
Empty file modified package/play/example/web/index.html
100755 → 100644
Empty file.
Empty file modified package/play/example/web/manifest.json
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/CMakeLists.txt
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/flutter/CMakeLists.txt
100755 → 100644
Empty file.

This file was deleted.

Empty file.
Empty file.
2 changes: 2 additions & 0 deletions package/play/example/windows/flutter/generated_plugins.cmake
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ list(APPEND FLUTTER_PLUGIN_LIST
)

list(APPEND FLUTTER_FFI_PLUGIN_LIST
media_kit_libs_windows_audio
media_kit_libs_windows_video
)

set(PLUGIN_BUNDLED_LIBRARIES)
Expand Down
Empty file modified package/play/example/windows/runner/CMakeLists.txt
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/Runner.rc
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/flutter_window.cpp
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/flutter_window.h
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/main.cpp
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/resource.h
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/resources/app_icon.ico
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/runner.exe.manifest
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/utils.cpp
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/utils.h
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/win32_window.cpp
100755 → 100644
Empty file.
Empty file modified package/play/example/windows/runner/win32_window.h
100755 → 100644
Empty file.
Empty file modified package/play/lib/play.dart
100755 → 100644
Empty file.
Empty file modified package/play/lib/play_dart.dart
100755 → 100644
Empty file.
74 changes: 45 additions & 29 deletions package/play/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ packages:
dependency: transitive
description:
name: args
sha256: "139d809800a412ebb26a3892da228b2d0ba36f0ef5d9a82166e5e52ec8d61611"
sha256: "4cab82a83ffef80b262ddedf47a0a8e56ee6fbf7fe21e6e768b02792034dd440"
url: "https://pub.dev"
source: hosted
version: "2.3.2"
version: "2.4.0"
asn1lib:
dependency: transitive
description:
Expand Down Expand Up @@ -85,10 +85,10 @@ packages:
dependency: transitive
description:
name: coverage
sha256: "961c4aebd27917269b1896382c7cb1b1ba81629ba669ba09c27a7e5710ec9040"
sha256: "2fb815080e44a09b85e0f2ca8a820b15053982b2e714b59267719e8a9ff17097"
url: "https://pub.dev"
source: hosted
version: "1.6.2"
version: "1.6.3"
crypto:
dependency: transitive
description:
Expand Down Expand Up @@ -167,10 +167,10 @@ packages:
dependency: transitive
description:
name: html
sha256: d9793e10dbe0e6c364f4c59bf3e01fb33a9b2a674bc7a1081693dba0614b6269
sha256: "79d498e6d6761925a34ee5ea8fa6dfef38607781d2fa91e37523474282af55cb"
url: "https://pub.dev"
source: hosted
version: "0.15.1"
version: "0.15.2"
http:
dependency: transitive
description:
Expand Down Expand Up @@ -251,6 +251,22 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.0.1"
media_kit_libs_windows_audio:
dependency: "direct main"
description:
name: media_kit_libs_windows_audio
sha256: "417c1578cd9dbd490a7ac5ba447e31d3c3139a65c089b31095b7980d54aeeec5"
url: "https://pub.dev"
source: hosted
version: "1.0.1"
media_kit_libs_windows_video:
dependency: "direct main"
description:
name: media_kit_libs_windows_video
sha256: aadc5b6a24b8cfc3adda910fa824ed2af6cb2d33fef84227d2bb2900ce207bd6
url: "https://pub.dev"
source: hosted
version: "1.0.0"
media_kit_video:
dependency: "direct main"
description:
Expand Down Expand Up @@ -279,10 +295,10 @@ packages:
dependency: transitive
description:
name: node_preamble
sha256: "8ebdbaa3b96d5285d068f80772390d27c21e1fa10fb2df6627b1b9415043608d"
sha256: "6e7eac89047ab8a8d26cf16127b5ed26de65209847630400f9aefd7cd5c730db"
url: "https://pub.dev"
source: hosted
version: "2.0.1"
version: "2.0.2"
package_config:
dependency: transitive
description:
Expand All @@ -303,10 +319,10 @@ packages:
dependency: transitive
description:
name: plugin_platform_interface
sha256: dbf0f707c78beedc9200146ad3cb0ab4d5da13c246336987be6940f026500d3a
sha256: "6a2128648c854906c53fa8e33986fc0247a1116122f9534dd20e3ab9e16a32bc"
url: "https://pub.dev"
source: hosted
version: "2.1.3"
version: "2.1.4"
pointycastle:
dependency: transitive
description:
Expand Down Expand Up @@ -388,10 +404,10 @@ packages:
dependency: transitive
description:
name: source_maps
sha256: "490098075234dcedb83c5d949b4c93dad5e6b7702748de000be2b57b8e6b2427"
sha256: "708b3f6b97248e5781f493b765c3337db11c5d2c81c3094f10904bfa8004c703"
url: "https://pub.dev"
source: hosted
version: "0.10.11"
version: "0.10.12"
source_span:
dependency: transitive
description:
Expand Down Expand Up @@ -444,10 +460,10 @@ packages:
dependency: "direct dev"
description:
name: test
sha256: b54d427664c00f2013ffb87797a698883c46aee9288e027a50b46eaee7486fa2
sha256: "5301f54eb6fe945daa99bc8df6ece3f88b5ceaa6f996f250efdaaf63e22886be"
url: "https://pub.dev"
source: hosted
version: "1.22.2"
version: "1.23.1"
test_api:
dependency: transitive
description:
Expand All @@ -460,10 +476,10 @@ packages:
dependency: transitive
description:
name: test_core
sha256: "95ecc12692d0dd59080ab2d38d9cf32c7e9844caba23ff6cd285690398ee8ef4"
sha256: d2e9240594b409565524802b84b7b39341da36dd6fd8e1660b53ad928ec3e9af
url: "https://pub.dev"
source: hosted
version: "0.4.22"
version: "0.4.24"
typed_data:
dependency: transitive
description:
Expand Down Expand Up @@ -500,50 +516,50 @@ packages:
dependency: "direct main"
description:
name: video_player
sha256: "59f7f31c919c59cbedd37c617317045f5f650dc0eeb568b0b0de9a36472bdb28"
sha256: "868a139229acb5018d22aded3eb9cb4767ff43a8216573c086b6c535a4957481"
url: "https://pub.dev"
source: hosted
version: "2.5.1"
version: "2.6.0"
video_player_android:
dependency: transitive
description:
name: video_player_android
sha256: "984388511230bac63feb53b2911a70e829fe0976b6b2213f5c579c4e0a882db3"
sha256: "86d9d56ffe760a1e3b4855ea94bac6c944e99b9050946464857b3e2818e1662b"
url: "https://pub.dev"
source: hosted
version: "2.3.10"
version: "2.4.1"
video_player_avfoundation:
dependency: transitive
description:
name: video_player_avfoundation
sha256: d9f7a46d6a77680adb03ec05a381025d6e890ebe636637c6c3014cc3926b97e9
sha256: "9d8585be0d63943f0dc46e0aed6697a715f64d7faab39b6053ecf9b6da3ca01d"
url: "https://pub.dev"
source: hosted
version: "2.3.8"
version: "2.4.1"
video_player_platform_interface:
dependency: transitive
description:
name: video_player_platform_interface
sha256: "42bb75de5e9b79e1f20f1d95f688fac0f95beac4d89c6eb2cd421724d4432dae"
sha256: "72ba04ad0eff76123c6d782ac46621cb8be476a89c33c89173fce982b6ec049b"
url: "https://pub.dev"
source: hosted
version: "6.0.1"
version: "6.0.2"
video_player_web:
dependency: transitive
description:
name: video_player_web
sha256: b649b07b8f8f553bee4a97a0a53d0fe78a70b115eafaf0105b612b32b05ddb99
sha256: fb3bbeaf0302cb0c31340ebd6075487939aa1fe3b379d1a8784ef852b679940e
url: "https://pub.dev"
source: hosted
version: "2.0.13"
version: "2.0.15"
vm_service:
dependency: transitive
description:
name: vm_service
sha256: "2277c73618916ae3c2082b6df67b6ebb64b4c69d9bf23b23700707952ac30e60"
sha256: eb3cf3f45fc1500ae30481ac9ab788302fa5e8edc3f3eaddf183945ee93a8bf3
url: "https://pub.dev"
source: hosted
version: "10.1.2"
version: "11.2.0"
watcher:
dependency: transitive
description:
Expand Down Expand Up @@ -578,4 +594,4 @@ packages:
version: "3.1.1"
sdks:
dart: ">=2.19.0 <3.0.0"
flutter: ">=2.10.0"
flutter: ">=3.3.0"
4 changes: 3 additions & 1 deletion package/play/pubspec.yaml
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: play
description: a library dart simple for play audio or video any format on cross platform.
version: 0.0.23
version: 0.0.24
homepage: https://youtube.com/@azkadev
repository: https://github.com/azkadev/play
issue_tracker: https://github.com/azkadev/play/issues
Expand Down Expand Up @@ -28,6 +28,8 @@ dependencies:
media_kit: ^0.0.1
media_kit_video: ^0.0.1
galaxeus_lib: ^0.0.56
media_kit_libs_windows_video: ^1.0.0
media_kit_libs_windows_audio: ^1.0.1


executables:
Expand Down

0 comments on commit 7f2db8d

Please sign in to comment.