diff --git a/OAT.xml b/OAT.xml
new file mode 100644
index 0000000000000000000000000000000000000000..e6853d4d5cb369825a92b3423ecc851355d2a781
--- /dev/null
+++ b/OAT.xml
@@ -0,0 +1,311 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/video_player/video_player_ohos/.gitignore b/packages/video_player/video_player_ohos/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..7ec225305d1580562b9856e4c9e0488a2ea19b63
--- /dev/null
+++ b/packages/video_player/video_player_ohos/.gitignore
@@ -0,0 +1,51 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+migrate_working_dir/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
+
+pubspec.lock
+GeneratedPluginRegistrant*
+ohos/**/oh_modules
+ohos/**.har
+ohos/**/BuildProfile.ets
+ohos/**/oh-package-lock.json5
\ No newline at end of file
diff --git a/packages/video_player/video_player_ohos/.metadata b/packages/video_player/video_player_ohos/.metadata
new file mode 100644
index 0000000000000000000000000000000000000000..a8cbceb35aea9fe29acf18f3eea0c825552a419e
--- /dev/null
+++ b/packages/video_player/video_player_ohos/.metadata
@@ -0,0 +1,43 @@
+# Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled.
+
+version:
+ revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ channel: unknown
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ base_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ - platform: ohos
+ create_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ base_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/packages/video_player/video_player_ohos/CHANGELOG.md b/packages/video_player/video_player_ohos/CHANGELOG.md
new file mode 100644
index 0000000000000000000000000000000000000000..b44d1643ac994cd7ea2d265efcd66a28b39b4d81
--- /dev/null
+++ b/packages/video_player/video_player_ohos/CHANGELOG.md
@@ -0,0 +1,3 @@
+## 1.0.0+1
+
+* Support OpenHarmony
diff --git a/packages/video_player/video_player_ohos/LICENSE b/packages/video_player/video_player_ohos/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..c6823b81eb845db89cee59cbbc7ee0b0b63d86ec
--- /dev/null
+++ b/packages/video_player/video_player_ohos/LICENSE
@@ -0,0 +1,25 @@
+Copyright 2013 The Flutter Authors. All rights reserved.
+
+Redistribution and use in source and binary forms, with or without modification,
+are permitted provided that the following conditions are met:
+
+ * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+ * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived
+ from this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
+ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
+(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
+ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/packages/video_player/video_player_ohos/OAT.xml b/packages/video_player/video_player_ohos/OAT.xml
new file mode 100644
index 0000000000000000000000000000000000000000..6c97f87cc99d3191bec3ea358eb97e1856f8ce62
--- /dev/null
+++ b/packages/video_player/video_player_ohos/OAT.xml
@@ -0,0 +1,342 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/packages/video_player/video_player_ohos/README.md b/packages/video_player/video_player_ohos/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..def2ce2e63bd893825441fb587ad6f818542953b
--- /dev/null
+++ b/packages/video_player/video_player_ohos/README.md
@@ -0,0 +1,286 @@
+## 仓库介绍
+
+该仓库基于上游Flutter社区[packages仓库](https://github.com/flutter/packages/),基于commitId:b8b84b2304f00a3f93ce585cc7a30e1235bde7a0。
+
+该仓库主要新增对OpenHarmony平台的兼容。
+
+## OpenHarmony平台已兼容库
+
+| 序号 | 原库名 | 原库基线版本 | 仓库名 | 状态 |
+| -------- | ---- | ---- | ---- | -------- |
+| 1 | [pigeon](https://pub.dev/packages/pigeon) | 14.0.0 | [pigeon](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/pigeon) | 已适配 |
+| 2 | [file_selector](https://pub.dev/packages/file_selector) | 1.0.1 | [file_selector](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/file_selector) | 已适配 |
+| 3 | [image_picker](https://pub.dev/packages/image_picker) | 1.0.4 | [image_picker](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/image_picker) | 已适配 |
+| 4 | [animations](https://pub.dev/packages/animations) | 2.0.8 | [animations](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/animations) | 已适配 |
+| 5 | [url_launcher](https://pub.dev/packages/url_launcher) | 6.1.11 | [url_launcher](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/url_launcher) | 已适配 |
+| 6 | [shared_preferences](https://pub.dev/packages/shared_preferences) | 2.2.2 | [shared_preferences](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/shared_preferences) | 已适配 |
+| 7 | [path_provider](https://pub.dev/packages/path_provider) | 2.1.1 | [path_provider](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/path_provider) | 已适配 |
+| 8 | [local_auth](https://pub.dev/packages/local_auth) | 2.1.6 | [local_auth](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/local_auth) | 已适配 |
+| 9 | [sqflite](https://pub.dev/packages/sqflite) | 2.2.8+4 | [flutter_sqflite](https://gitee.com/openharmony-sig/flutter_sqflite) | 已适配 |
+| 10 | [permission_handler](https://pub.dev/packages/permission_handler) | 11.3.1 | [flutter_permission_handler](https://gitee.com/openharmony-sig/flutter_permission_handler) | 已适配 |
+| 11 | [fluttertoast](https://pub.dev/packages/fluttertoast) | 8.2.8 | [flutter_fluttertoast](https://gitee.com/openharmony-sig/flutter_fluttertoast) | 已适配 |
+| 12 | [camera](https://pub.dev/packages/camera) | 0.10.5+5 | [camera](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/camera) | 已适配 |
+| 13 | [video_player](https://pub.dev/packages/video_player) | 2.7.2 | [video_player](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/video_player) | 已适配 |
+| 14 | [webview_flutter](https://pub.dev/packages/webview_flutter) | 4.4.2 | [webview_flutter](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/webview_flutter) | 已适配 |
+| 15 | [webview_flutter-v4.4.4](https://pub.dev/packages/webview_flutter) | 4.4.4 | [webview_flutter-v4.4.4](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/webview_flutter-v4.4.4) | 已适配 |
+| 16 | [connectivity_plus](https://pub.dev/packages/connectivity_plus) | 5.0.2 | [connectivity_plus](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/connectivity_plus) | 已适配 |
+| 17 | [device_info_plus](https://pub.dev/packages/device_info_plus) | 9.1.2 | [device_info_plus](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/device_info_plus) | 已适配 |
+| 18 | [package_info_plus](https://pub.dev/packages/package_info_plus) | 4.2.0 | [package_info_plus](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/package_info_plus) | 已适配 |
+| 19 | [connectivity](https://pub.dev/packages/connectivity) | 3.0.6 | [connectivity](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/connectivity) | 已适配 |
+| 20 | [package_info](https://pub.dev/packages/package_info) | 2.0.2 | [package_info_plus](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/package_info_plus) | 已适配 |
+| 21 | [share_plus](https://pub.dev/packages/share_plus) | 7.2.2 | [share_plus](https://gitee.com/openharmony-sig/flutter_plus_plugins/tree/master/packages/share_plus) | 已适配 |
+| 22 | [audio_session](https://pub.dev/packages/audio_session) | 0.1.21 | [flutter_audio_session](https://gitee.com/openharmony-sig/flutter_audio_session) | 已适配 |
+| 23 | [flutter_native_image](https://pub.dev/packages/flutter_native_image) | 0.0.6+1 | [flutter_native_image](https://gitee.com/openharmony-sig/flutter_native_image) | 已适配 |
+| 24 | [flutter_sound](https://pub.dev/packages/flutter_sound) | 9.2.13 | [flutter_sound](https://gitee.com/openharmony-sig/flutter_sound/tree/master/flutter_sound) | 已适配 |
+| 25 | [image_gallery_saver](https://pub.dev/packages/image_gallery_saver) | 2.0.3 | [flutter_image_gallery_saver](https://gitee.com/openharmony-sig/flutter_image_gallery_saver) | 已适配 |
+| 26 | [location](https://pub.dev/packages/location) | 5.0.3 | [location](https://gitee.com/openharmony-sig/flutter_location/tree/master/packages/location) | 已适配 |
+| 27 | [power_image](https://pub.dev/packages/power_image) | 0.1.0-pre.2 | [flutter_power_image](https://gitee.com/openharmony-sig/flutter_power_image) | 已适配 |
+| 28 | [wakelock](https://pub.dev/packages/wakelock) | 0.6.2 | [wakelock](https://gitee.com/openharmony-sig/flutter_wakelock/tree/master/wakelock) | 已适配 |
+| 29 | [flutter_console](https://pub.dev/packages/flutter_console) | 0.0.4 | [flutter_console](https://gitee.com/openharmony-sig/flutter_console) | 已适配 |
+| 30 | [audioplayers](https://pub.dev/packages/audioplayers) | 4.1.0 | [flutter_audioplayers](https://gitee.com/openharmony-sig/flutter_audioplayers/tree/master/packages) | 已适配 |
+| 31 | [gpu_image](https://pub.dev/packages/gpu_image) | 1.0.0 | [flutter_gpu_image](https://gitee.com/openharmony-sig/flutter_gpu_image) | 已适配 |
+| 32 | [image_crop](https://pub.dev/packages/image_crop) | 0.4.1 | [flutter_image_crop](https://gitee.com/openharmony-sig/flutter_image_crop) | 已适配 |
+| 33 | [bitmap](https://pub.dev/packages/bitmap) | 0.1.3 | [flutter_bitmap](https://gitee.com/openharmony-sig/flutter_bitmap) | 已适配 |
+| 34 | [leak_detector](https://pub.dev/packages/leak_detector) | 1.1.0 | [flutter_leak_detector](https://gitee.com/openharmony-sig/flutter_leak_detector) | 已适配 |
+| 35 | [flutter_math_fork](https://pub.dev/packages/flutter_math_fork) | 0.6.3+1 | [flutter_math_fork](https://gitee.com/openharmony-sig/flutter_math_fork/tree/master/example) | 已适配 |
+| 36 | [flutter_contacts](https://pub.dev/packages/flutter_contacts) | 1.1.9+2 | [flutter_contacts](https://gitee.com/openharmony-sig/flutter_contacts/tree/master/example) | 已适配 |
+| 37 | [flutter_inappwebview](https://pub.dev/packages/flutter_inappwebview) | 6.0.0 | [flutter_inappwebview](https://gitee.com/openharmony-sig/flutter_inappwebview) | 已适配 |
+| 38 | [flutter_keyboard_visibility](https://pub.dev/packages/flutter_keyboard_visibility) | 6.0.0 | [flutter_keyboard_visibility](https://gitee.com/openharmony-sig/flutter_keyboard_visibility/tree/master/flutter_keyboard_visibility) | 已适配 |
+| 39 | [flutter_widget_from_html](https://pub.dev/packages/flutter_widget_from_html) | 0.14.11 | [flutter_widget_from_html](https://gitee.com/openharmony-sig/flutter_widget_from_html) | 已适配 |
+| 40 | [mobile_scanner](https://pub.dev/packages/mobile_scanner) | 3.5.7 | [fluttertpc_mobile_scanner](https://gitee.com/openharmony-sig/fluttertpc_mobile_scanner) | 已适配 |
+| 41 | [device_util](https://pub.dev/packages/device_util) | 1.0.7 | [fluttertpc_device_util](https://gitee.com/openharmony-sig/fluttertpc_device_util) | 已适配 |
+| 42 | [export_video_frame](https://pub.dev/packages/export_video_frame) | 0.0.7 | [fluttertpc_export_video_frame](https://gitee.com/openharmony-sig/fluttertpc_export_video_frame) | 已适配 |
+| 43 | [flutter_local_notifications](https://pub.dev/packages/flutter_local_notifications) | 17.2.2 | [fluttertpc_flutter_local_notifications](https://gitee.com/openharmony-sig/fluttertpc_flutter_local_notifications) | 已适配 |
+| 44 | [flutter_phone_direct_caller](https://pub.dev/packages/flutter_phone_direct_caller) | 2.2.1 | [fluttertpc_flutter_phone_direct_caller](https://gitee.com/openharmony-sig/fluttertpc_flutter_phone_direct_caller) | 已适配 |
+| 45 | [flutter_screenshot_callback](https://pub.dev/packages/flutter_screenshot_callback) | 0.0.9 | [fluttertpc_screenshot_callback](https://gitee.com/openharmony-sig/fluttertpc_screenshot_callback) | 已适配 |
+| 46 | [flutter_sms](https://pub.dev/packages/flutter_sms) | 2.3.3 | [fluttertpc_flutter_sms](https://gitee.com/openharmony-sig/fluttertpc_flutter_sms) | 已适配 |
+| 47 | [media_info](https://pub.dev/packages/media_info) | 0.12.0+2 | [fluttertpc_media_info](https://gitee.com/openharmony-sig/fluttertpc_media_info) | 已适配 |
+| 48 | [orientation](https://pub.dev/packages/orientation) | 1.3.0 | [fluttertpc_orientation](https://gitee.com/openharmony-sig/fluttertpc_orientation) | 已适配 |
+| 49 | [recognition_qrcode](https://pub.dev/packages/recognition_qrcode) | 2.0.2 | [fluttertpc_recognition_qrcode](https://gitee.com/openharmony-sig/fluttertpc_recognition_qrcode) | 已适配 |
+| 50 | [video_compress](https://pub.dev/packages/video_compress) | 3.1.2 | [fluttertpc_video_compress](https://gitee.com/openharmony-sig/fluttertpc_video_compress) | 已适配 |
+| 51 | [share_extend](https://pub.dev/packages/share_extend) | 2.0.0 | [fluttertpc_share_extend](https://gitee.com/openharmony-sig/fluttertpc_share_extend) | 已适配 |
+| 52 | [catcher](https://pub.dev/packages/catcher) | 0.8.0 | [fluttertpc_catcher](https://gitee.com/openharmony-sig/fluttertpc_catcher) | 已适配 |
+| 53 | [flutter_mailer](https://pub.dev/packages/flutter_mailer) | 2.1.2 | [fluttertpc_flutter_mailer](https://gitee.com/openharmony-sig/fluttertpc_flutter_mailer) | 已适配 |
+| 54 | [gallery_saver](https://pub.dev/packages/gallery_saver) | 2.3.2 | [fluttertpc_gallery_saver](https://gitee.com/openharmony-sig/fluttertpc_gallery_saver) | 已适配 |
+| 55 | [flutter_localization](https://pub.dev/packages/flutter_localization) | 0.2.2 | [flutter_localization](https://gitee.com/openharmony-sig/flutter_localization) | 已适配 |
+| 56 | [keyboard_actions](https://pub.dev/packages/keyboard_actions) | 4.2.0 | [fluttertpc_keyboard_actions](https://gitee.com/openharmony-sig/fluttertpc_keyboard_actions) | 已适配 |
+| 57 | [native_device_orientation](https://pub.dev/packages/native_device_orientation) | 1.2.1 | [fluttertpc_native_device_orientation](https://gitee.com/openharmony-sig/fluttertpc_native_device_orientation) | 已适配 |
+| 58 | [screen](https://pub.dev/packages/screen) | 0.0.5 | [fluttertpc_screen](https://gitee.com/openharmony-sig/fluttertpc_screen) | 已适配 |
+| 59 | [pdf_render](https://pub.dev/packages/pdf_render) | 1.4.12 | [fluttertpc_pdf_render](https://gitee.com/openharmony-sig/fluttertpc_pdf_render) | 已适配 |
+| 60 | [pdf_viewer_plugin](https://pub.dev/packages/pdf_viewer_plugin) | 2.0.1 | [fluttertpc_pdf_viewer_plugin](https://gitee.com/openharmony-sig/fluttertpc_pdf_viewer_plugin/) | 已适配 |
+| 61 | [r_scan](https://pub.dev/packages/r_scan) | 0.1.6+1 | [fluttertpc_r_scan](https://gitee.com/openharmony-sig/fluttertpc_r_scan/) | 已适配 |
+| 62 | [r_upgrade](https://pub.dev/packages/r_upgrade) | 0.4.2 | [fluttertpc_r_upgrade](https://gitee.com/openharmony-sig/fluttertpc_r_upgrade/) | 已适配 |
+| 63 | [scan](https://pub.dev/packages/scan) | 1.6.0 | [fluttertpc_scan](https://gitee.com/openharmony-sig/fluttertpc_scan/) | 已适配 |
+| 64 | [open_app_settings](https://pub.dev/packages/open_app_settings) | 2.0.1 | [fluttertpc_open_app_settings](https://gitee.com/openharmony-sig/fluttertpc_open_app_settings/) | 已适配 |
+| 65 | [audio_service](https://pub.dev/packages/audio_service) | 0.18.15 | [fluttertpc_audio_service](https://gitee.com/openharmony-sig/fluttertpc_audio_service/) | 已适配 |
+| 66 | [open_filex](https://pub.dev/packages/open_filex) | 4.5.0 | [fluttertpc_open_filex](https://gitee.com/openharmony-sig/fluttertpc_open_filex/) | 已适配 |
+| 67 | [auto_orientation](https://pub.dev/packages/auto_orientation) | 2.3.1 | [fluttertpc_auto_orientation](https://gitee.com/openharmony-sig/fluttertpc_auto_orientation/) | 已适配 |
+| 68 | [tobias](https://pub.dev/packages/tobias) | 4.0.0 | [fluttertpc_tobias](https://gitee.com/openharmony-sig/fluttertpc_tobias/) | 已适配 |
+| 69 | [in_app_purchase](https://pub.dev/packages/in_app_purchase) | 3.1.11 | [in_app_purchase](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/in_app_purchase) | 开发中 |
+| 70 | [quick_actions](https://pub.dev/packages/quick_actions) | 1.0.6 | [quick_actions](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/quick_actions) | 开发中 |
+| 71 | [dart_native](https://pub.dev/packages/dart_native) | 0.7.11 | - | 开发中 |
+| 72 | [media_kit_video](https://pub.dev/packages/media_kit_video) | 1.2.5 | - | 开发中 |
+| 73 | [flutter_filereader](https://pub.dev/packages/flutter_filereader) | 3.0.0 | - | 开发中 |
+| 74 | [quick_actions](https://pub.dev/packages/quick_actions) | 1.0.6 | - | 开发中 |
+| 75 | [flutter_document_picker](https://pub.dev/packages/flutter_document_picker) | 5.2.3 | - | 开发中 |
+| 76 | [flutter_keychain](https://pub.dev/packages/flutter_keychain) | 2.5.0 | - | 开发中 |
+| 77 | [flutter_udid](https://pub.dev/packages/flutter_udid) | 2.0.1 | - | 开发中 |
+| 78 | [in_app_purchase](https://pub.dev/packages/in_app_purchase) | 3.1.11 | - | 开发中 |
+| 79 | [flutter_yfree](https://pub.dev/packages/flutter_yfree) | 2.2.11 | - | 开发中 |
+| 80 | [media_kit_libs_video](https://pub.dev/packages/media_kit_libs_video) | 1.0.5 | - | 开发中 |
+| 81 | [flutter_custom_cursor](https://pub.dev/packages/flutter_custom_cursor) | 0.0.4 | - | 开发中 |
+| 82 | [sign_in_with_apple](https://pub.dev/packages/sign_in_with_apple) | 5.0.0 | - | 开发中 |
+| 83 | [flutter_downloader](https://pub.dev/packages/flutter_downloader) | 1.10.5 | - | 开发中 |
+| 84 | [flutter_qr_reader](https://pub.dev/packages/flutter_qr_reader) | 1.0.5 | - | 开发中 |
+| 85 | [sqlite3_flutter_libs](https://pub.dev/packages/sqlite3_flutter_libs) | 0.5.24 | - | 开发中 |
+| 86 | [fluwx](https://pub.dev/packages/fluwx) | 3.13.1 | - | 开发中 |
+| 87 | [app_installer](https://pub.dev/packages/app_installer) | 1.2.0 | - | 开发中 |
+| 88 | [appspector](https://pub.dev/packages/appspector) | 0.10.0 | - | 开发中 |
+| 89 | [camerawesome](https://pub.dev/packages/camerawesome) | 1.4.0 | - | 开发中 |
+| 90 | [file_picker](https://pub.dev/packages/file_picker) | 8.0.7 | - | 开发中 |
+| 91 | [fk_user_agent](https://pub.dev/packages/fk_user_agent) | 2.1.0 | - | 开发中 |
+| 92 | [flutter_pdfview](https://pub.dev/packages/flutter_pdfview) | 1.3.2 | - | 开发中 |
+| 93 | [flutter_secure_storage](https://pub.dev/packages/flutter_secure_storage) | 9.2.2 | - | 开发中 |
+| 94 | [flutter_statusbarcolor_ns](https://pub.dev/packages/flutter_statusbarcolor_ns) | 0.5.0 | - | 开发中 |
+| 95 | [geocoding](https://pub.dev/packages/geocoding) | 3.0.0 | - | 开发中 |
+| 96 | [image_cropper](https://pub.dev/packages/image_cropper) | 6.0.0 | - | 开发中 |
+| 97 | [light_compressor](https://pub.dev/packages/light_compressor) | 2.0.1 | - | 开发中 |
+| 98 | [map_launcher](https://pub.dev/packages/map_launcher) | 3.2.0 | - | 开发中 |
+| 99 | [photo_manager](https://pub.dev/packages/photo_manager) | 3.3.0 | - | 开发中 |
+| 100 | [qr_code_scanner](https://pub.dev/packages/qr_code_scanner) | 1.0.1 | - | 开发中 |
+| 101 | [record_mp3](https://pub.dev/packages/record_mp3) | 3.0.0 | - | 开发中 |
+| 102 | [saver_gallery](https://pub.dev/packages/saver_gallery) | 3.0.6 | - | 开发中 |
+| 103 | [simple_circular_progress_bar](https://pub.dev/packages/simple_circular_progress_bar) | 1.0.2 | - | 开发中 |
+| 104 | [uni_links](https://pub.dev/packages/uni_links) | 0.5.1 | - | 开发中 |
+| 105 | [wakelock_plus](https://pub.dev/packages/wakelock_plus) | 1.1.6 | - | 开发中 |
+| 106 | [system_boot_time](https://pub.dev/packages/system_boot_time) | 0.0.1 | - | 开发中 |
+| 107 | [fast_rsa](https://pub.dev/packages/fast_rsa) | 3.6.3 | - | 开发中 |
+| 108 | [install_plugin](https://pub.dev/packages/install_plugin) | 2.1.0 | - | 开发中 |
+| 109 | [flutter_native_splash](https://pub.dev/packages/flutter_native_splash) | 2.3.13 | - | 开发中 |
+| 110 | [geolocator](https://pub.dev/packages/geolocator) | 13.0.1 | - | 开发中 |
+| 111 | [just_audio](https://pub.dev/packages/just_audio) | 0.9.37 | - | 开发中 |
+| 112 | [printing](https://pub.dev/packages/printing) | 5.10.4 | - | 开发中 |
+| 113 | [flutter_barcode_scanner](https://pub.dev/packages/flutter_barcode_scanner) | 2.0.0 | - | 开发中 |
+| 114 | [open_file](https://pub.dev/packages/open_file) | 3.5.3 | - | 开发中 |
+| 115 | [flutter_app_badger](https://pub.dev/packages/flutter_app_badger) | 1.5.0 | - | 开发中 |
+| 116 | [flutter_blue_plus](https://pub.dev/packages/flutter_blue_plus) | 1.32.12 | - | 开发中 |
+| 117 | [sensors_plus](https://pub.dev/packages/sensors_plus) | 4.0.2 | - | 开发中 |
+| 118 | [sms_autofill](https://pub.dev/packages/sms_autofill) | 2.4.0 | - | 开发中 |
+| 119 | [vibration](https://pub.dev/packages/vibration) | 2.0.0 | - | 开发中 |
+| 120 | [network_info_plus](https://pub.dev/packages/network_info_plus) | 6.0.1 | - | 开发中 |
+| 121 | [record](https://pub.dev/packages/record) | 5.0.5 | - | 开发中 |
+| 122 | [video_thumbnail](https://pub.dev/packages/video_thumbnail) | 0.5.3 | - | 开发中 |
+| 123 | [flutter_isolate](https://pub.dev/packages/flutter_isolate) | 2.0.4 | - | 开发中 |
+| 124 | [flutter_jsbridge_plugin](https://pub.dev/packages/flutter_jsbridge_plugin) | 0.0.5 | - | 开发中 |
+| 125 | [flutter_vibrate](https://pub.dev/packages/flutter_vibrate) | 1.3.0 | - | 开发中 |
+| 126 | [app_settings](https://pub.dev/packages/app_settings) | 5.1.1 | - | 开发中 |
+| 127 | [qrcode_flutter](https://pub.dev/packages/qrcode_flutter) | 3.0.0 | - | 开发中 |
+| 128 | [cryptography_flutter](https://pub.dev/packages/cryptography_flutter) | 2.3.0 | - | 开发中 |
+| 129 | [pdfx](https://pub.dev/packages/pdfx) | 2.3.0 | - | 开发中 |
+| 130 | [connectivity_for_web](https://pub.dev/packages/connectivity_for_web) | 0.4.0+1 | - | 未适配 |
+| 131 | [connectivity_macos](https://pub.dev/packages/connectivity_macos) | 0.2.1+2 | - | 未适配 |
+| 132 | [css_colors](https://pub.dev/packages/css_colors) | 1.1.3 | [css_colors](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/css_colors) | 未适配 |
+| 133 | [espresso](https://pub.dev/packages/espresso) | 0.3.0+6 | [espresso](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/espresso) | 未适配 |
+| 134 | [extension_google_sign_ in_as_googleapis_auth](https://pub.dev/packages/extension_google_sign_in_as_googleapis_auth) | 2.0.11 | [extension_google_sign_ in_as_googleapis_auth](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/extension_google_sign_in_as_googleapis_auth) | 未适配 |
+| 135 | [flutter_adaptive_scaffold](https://pub.dev/packages/flutter_adaptive_scaffold) | 0.1.4 | [flutter_adaptive_scaffold](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_adaptive_scaffold) | 未适配 |
+| 136 | [flutter_image](https://pub.dev/packages/flutter_image) | 4.1.9 | [flutter_image](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_image) | 未适配 |
+| 137 | [flutter_lints](https://pub.dev/packages/flutter_lints) | 2.0.3 | [flutter_lints](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_lints) | 未适配 |
+| 138 | [flutter_markdown](https://pub.dev/packages/flutter_markdown) | 0.6.15 | [flutter_markdown](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_markdown) | 未适配 |
+| 139 | [flutter_migrate](https://pub.dev/packages/flutter_migrate) | 0.1.0 | [flutter_migrate](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_migrate) | 未适配 |
+| 140 | [flutter_plugin_android_lifecycle](https://pub.dev/packages/flutter_plugin_android_lifecycle) | 2.0.17 | [flutter_plugin_android_lifecycle](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_plugin_android_lifecycle) | 未适配 |
+| 141 | [flutter_template_images](https://pub.dev/packages/flutter_template_images) | 4.2.1 | [flutter_template_images](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/flutter_template_images) | 未适配 |
+| 142 | [go_router](https://pub.dev/packages/go_router) | 12.1.1 | [go_router](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/go_router) | 未适配 |
+| 143 | [go_router_builder](https://pub.dev/packages/go_router_builder) | 2.3.4 | [go_router_builder](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/go_router_builder) | 未适配 |
+| 144 | [google_identity_services_web](https://pub.dev/packages/google_identity_services_web) | 0.2.2 | [google_identity_services_web](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/google_identity_services_web) | 未适配 |
+| 145 | [google_maps_flutter](https://pub.dev/packages/google_maps_flutter) | 2.3.0 | [google_maps_flutter](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/google_maps_flutter) | 未适配 |
+| 146 | [google_sign_in](https://pub.dev/packages/google_sign_in) | 6.1.6 | [google_sign_in](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/google_sign_in) | 未适配 |
+| 147 | [ios_platform_images](https://pub.dev/packages/ios_platform_images) | 0.2.3 | [ios_platform_images](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/ios_platform_images) | 未适配 |
+| 148 | [metrics_center](https://pub.dev/packages/metrics_center) | 1.0.12 | [metrics_center](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/metrics_center) | 未适配 |
+| 149 | [multicast_dns](https://pub.dev/packages/multicast_dns) | 0.3.2+4 | [multicast_dns](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/multicast_dns) | 未适配 |
+| 150 | [palette_generator](https://pub.dev/packages/palette_generator) | 0.3.3+3 | [palette_generator](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/palette_generator) | 未适配 |
+| 151 | [pointer_interceptor](https://pub.dev/packages/pointer_interceptor) | 0.9.3+5 | [pointer_interceptor](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/pointer_interceptor) | 未适配 |
+| 152 | [rfw](https://pub.dev/packages/rfw) | 1.0.9 | [rfw](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/rfw) | 未适配 |
+| 153 | [standard_message_codec](https://pub.dev/packages/standard_message_codec) | 0.0.1+4 | [standard_message_codec](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/standard_message_codec) | 未适配 |
+| 154 | [two_dimensional_scrollables](https://pub.dev/packages/two_dimensional_scrollables) | - | [two_dimensional_scrollables](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/two_dimensional_scrollables) | 未适配 |
+| 155 | [web_benchmarks](https://pub.dev/packages/web_benchmarks) | 0.1.0+8 | [web_benchmarks](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/web_benchmarks) | 未适配 |
+| 156 | [webview_flutter_platform_interface](https://pub.dev/packages/webview_flutter_platform_interface) | 2.6.0 | [webview_flutter_platform_interface](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/webview_flutter_platform_interface-v2.10.0) | 未适配 |
+| 157 | [xdg_directories](https://pub.dev/packages/xdg_directories) | 1.0.3 | [xdg_directories](https://gitee.com/openharmony-sig/flutter_packages/tree/master/packages/xdg_directories) | 未适配 |
+| 158 | [stack_trace](https://pub.dev/packages/stack_trace) | 1.11.1 | - | 无需适配 |
+| 159 | [vector_math](https://pub.dev/packages/vector_math) | 2.1.4 | - | 无需适配 |
+| 160 | [collection](https://pub.dev/packages/collection) | 1.18.0 | - | 无需适配 |
+| 161 | [source_span](https://pub.dev/packages/source_span) | 1.10.0 | - | 无需适配 |
+| 162 | [characters](https://pub.dev/packages/characters) | 1.3.0 | - | 无需适配 |
+| 163 | [path](https://pub.dev/packages/path) | 1.8.3 | - | 无需适配 |
+| 164 | [ffi](https://pub.dev/packages/ffi) | 2.0.2 | - | 无需适配 |
+| 165 | [intl](https://pub.dev/packages/intl) | 0.18.1 | - | 无需适配 |
+| 166 | [archive](https://pub.dev/packages/archive) | 3.4.10 | - | 无需适配 |
+| 167 | [file](https://pub.dev/packages/file) | 6.1.4 | - | 无需适配 |
+| 168 | [provider](https://pub.dev/packages/provider) | 6.1.2 | - | 无需适配 |
+| 169 | [typed_data](https://pub.dev/packages/typed_data) | 1.3.2 | - | 无需适配 |
+| 170 | [term_glyph](https://pub.dev/packages/term_glyph) | 1.2.1 | - | 无需适配 |
+| 171 | [nested](https://pub.dev/packages/nested) | 1.0.0 | - | 无需适配 |
+| 172 | [lottie](https://pub.dev/packages/lottie) | 2.3.2 | - | 无需适配 |
+| 173 | [crypto](https://pub.dev/packages/crypto) | 3.0.3 | - | 无需适配 |
+| 174 | [http_parser](https://pub.dev/packages/http_parser) | 4.0.2 | - | 无需适配 |
+| 175 | [uuid](https://pub.dev/packages/uuid) | 4.2.2 | - | 无需适配 |
+| 176 | [dio](https://pub.dev/packages/dio) | 5.7.0 | - | 无需适配 |
+| 177 | [clock](https://pub.dev/packages/clock) | 1.1.1 | - | 无需适配 |
+| 178 | [http](https://pub.dev/packages/http) | 0.13.6 | - | 无需适配 |
+| 179 | [string_scanner](https://pub.dev/packages/string_scanner) | 1.2.0 | - | 无需适配 |
+| 180 | [event_bus](https://pub.dev/packages/event_bus) | 2.0.0 | - | 无需适配 |
+| 181 | [rxdart](https://pub.dev/packages/rxdart) | 0.28.0 | - | 无需适配 |
+| 182 | [platform](https://pub.dev/packages/platform) | 3.1.3 | - | 无需适配 |
+| 183 | [logging](https://pub.dev/packages/logging) | 1.2.0 | - | 无需适配 |
+| 184 | [tuple](https://pub.dev/packages/tuple) | 2.0.2 | - | 无需适配 |
+| 185 | [async](https://pub.dev/packages/async) | 2.11.0 | - | 无需适配 |
+| 186 | [path_drawing](https://pub.dev/packages/path_drawing) | 1.0.1 | - | 无需适配 |
+| 187 | [quiver](https://pub.dev/packages/quiver) | 3.2.2 | - | 无需适配 |
+| 188 | [flutter_cache_manager](https://pub.dev/packages/flutter_cache_manager) | 3.3.2 | - | 无需适配 |
+| 189 | [sqflite_common](https://pub.dev/packages/sqflite_common) | 2.4.5+1 | - | 无需适配 |
+| 190 | [visibility_detector](https://pub.dev/packages/visibility_detector) | 0.4.0+2 | - | 无需适配 |
+| 191 | [octo_image](https://pub.dev/packages/octo_image) | 2.0.0 | - | 无需适配 |
+| 192 | [synchronized](https://pub.dev/packages/synchronized) | 3.1.0 | - | 无需适配 |
+| 193 | [convert](https://pub.dev/packages/convert) | 3.1.1 | - | 无需适配 |
+| 194 | [cached_network_image](https://pub.dev/packages/cached_network_image) | 3.2.3 | - | 无需适配 |
+| 195 | [xml](https://pub.dev/packages/xml) | 6.3.0 | - | 无需适配 |
+| 196 | [path_parsing](https://pub.dev/packages/path_parsing) | 1.0.1 | - | 无需适配 |
+| 197 | [flutter_svg](https://pub.dev/packages/flutter_svg) | 2.0.10+1 | - | 无需适配 |
+| 198 | [petitparser](https://pub.dev/packages/petitparser) | 5.4.0 | - | 无需适配 |
+| 199 | [photo_view](https://pub.dev/packages/photo_view) | 0.15.0 | - | 无需适配 |
+| 201 | [flutter_swiper_null_safety](https://pub.dev/packages/flutter_swiper_null_safety) | 1.0.2 | - | 无需适配 |
+| 202 | [scrollable_positioned_list](https://pub.dev/packages/scrollable_positioned_list) | 0.3.8 | - | 无需适配 |
+| 203 | [flare_flutter](https://pub.dev/packages/flare_flutter) | 3.0.2 | - | 无需适配 |
+| 204 | [table_calendar](https://pub.dev/packages/table_calendar) | 3.0.9 | - | 无需适配 |
+| 205 | [flutter_bloc](https://pub.dev/packages/flutter_bloc) | 8.1.6 | - | 无需适配 |
+| 206 | [pull_to_refresh](https://pub.dev/packages/pull_to_refresh) | 2.0.0 | - | 无需适配 |
+| 207 | [qr_flutter](https://pub.dev/packages/qr_flutter) | 4.1.0 | - | 无需适配 |
+| 208 | [qr](https://pub.dev/packages/qr) | 3.0.1 | - | 无需适配 |
+| 209 | [fl_chart](https://pub.dev/packages/fl_chart) | 0.62.0 | - | 无需适配 |
+| 210 | [date_format](https://pub.dev/packages/date_format) | 2.0.9 | - | 无需适配 |
+| 211 | [auto_size_text](https://pub.dev/packages/auto_size_text) | 3.0.0 | - | 无需适配 |
+| 212 | [bloc](https://pub.dev/packages/bloc) | 8.1.4 | - | 无需适配 |
+| 213 | [plume](https://pub.dev/packages/plume) | 0.1.4 | - | 无需适配 |
+| 214 | [card_swiper](https://pub.dev/packages/card_swiper) | 3.0.1 | - | 无需适配 |
+| 215 | [dotted_border](https://pub.dev/packages/dotted_border) | 2.1.0 | - | 无需适配 |
+| 216 | [equatable](https://pub.dev/packages/equatable) | 2.0.5 | - | 无需适配 |
+| 217 | [rational](https://pub.dev/packages/rational) | 2.2.3 | - | 无需适配 |
+| 218 | [executor](https://pub.dev/packages/executor) | 2.2.3 | - | 无需适配 |
+| 219 | [safemap](https://pub.dev/packages/safemap) | 2.1.0 | - | 无需适配 |
+| 220 | [decimal](https://pub.dev/packages/decimal) | 3.0.2 | - | 无需适配 |
+| 221 | [simple_gesture_detector](https://pub.dev/packages/simple_gesture_detector) | 0.2.1 | - | 无需适配 |
+| 222 | [plugin_platform_interface](https://pub.dev/packages/plugin_platform_interface) | 2.1.6 | - | 无需适配 |
+| 223 | [animations](https://pub.dev/packages/animations) | 2.0.8 | - | 无需适配 |
+| 224 | [cross_file](https://pub.dev/packages/cross_file) | 0.3.3+6 | - | 无需适配 |
+| 225 | [flutter_blurhash](https://pub.dev/packages/flutter_blurhash) | 0.7.0 | - | 无需适配 |
+| 226 | [globbing](https://pub.dev/packages/globbing) | 0.3.1 | - | 无需适配 |
+| 227 | [graphs](https://pub.dev/packages/graphs) | 2.3.1 | - | 无需适配 |
+
+
+## 如何引用这些库
+
+### 一、工具库pigeon使用
+
+1. 引入pigeon库,在pubspec.yaml中dev_dependencies新增配置:
+ ```
+dev_dependencies:
+ pigeon:
+ git:
+ url: "https://gitee.com/openharmony-sig/flutter_packages.git"
+ path: "packages/pigeon"
+ ```
+2. 项目根目录运行`flutter pub get`;
+
+3. 项目根目录运行`flutter pub run pigeon --input --arkts_out `
+
+ 将会生成Flutter与OpenHarmony平台通信的模板代码;
+
+4. 调用示例,参考packages/pigeon/example/app/ohos/entry/src/main/ets/plugins/MessagePlugin.ets
+
+### 二、 插件库使用
+
+以path_provider举例:
+1. 在引用的项目中,pubspec.yaml中dependencies新增配置:
+```
+dependencies:
+ path_provider:
+ git:
+ url: "https://gitee.com/openharmony-sig/flutter_packages.git"
+ path: "packages/path_provider/path_provider"
+```
+
+2、项目根目录运行`flutter pub get`;(ohos/entry/oh-package.json5会自动添加相关插件har依赖)
+
+3、在业务代码中调用path_provider相关api,它会在OpenHarmony平台正常运行。
+
+示例:在某个Flutter兼容OpenHarmony项目中加入支持OpenHarmony平台的path_provider库依赖;
+
+可参考示例:https://gitee.com/openharmony-sig/flutter_samples/tree/master/ohos/pictures_provider_demo
+
+## FAQ
+
+### 一、 运行 `flutter pub get` 遇到 `"File name too long"` 问题
+
+打开`Git Bash`或`运行 cmd`(需要将git添加到环境变量中),执行以下命令:
+```
+ git config --global core.longpaths true
+```
\ No newline at end of file
diff --git a/packages/video_player/video_player_ohos/analysis_options.yaml b/packages/video_player/video_player_ohos/analysis_options.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7814013c895a5ab88ab0bb58d8cfa716f9be5654
--- /dev/null
+++ b/packages/video_player/video_player_ohos/analysis_options.yaml
@@ -0,0 +1,42 @@
+# Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at
+ # https://dart-lang.github.io/linter/lints/index.html.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/packages/video_player/video_player_ohos/example/.gitignore b/packages/video_player/video_player_ohos/example/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..24476c5d1eb55824c76d8b01a3965f94abad1ef8
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/.gitignore
@@ -0,0 +1,44 @@
+# Miscellaneous
+*.class
+*.log
+*.pyc
+*.swp
+.DS_Store
+.atom/
+.buildlog/
+.history
+.svn/
+migrate_working_dir/
+
+# IntelliJ related
+*.iml
+*.ipr
+*.iws
+.idea/
+
+# The .vscode folder contains launch configuration and tasks you configure in
+# VS Code which you may wish to be included in version control, so this line
+# is commented out by default.
+#.vscode/
+
+# Flutter/Dart/Pub related
+**/doc/api/
+**/ios/Flutter/.last_build_id
+.dart_tool/
+.flutter-plugins
+.flutter-plugins-dependencies
+.packages
+.pub-cache/
+.pub/
+/build/
+
+# Symbolication related
+app.*.symbols
+
+# Obfuscation related
+app.*.map.json
+
+# Android Studio will place build artifacts here
+/android/app/debug
+/android/app/profile
+/android/app/release
diff --git a/packages/video_player/video_player_ohos/example/.metadata b/packages/video_player/video_player_ohos/example/.metadata
new file mode 100644
index 0000000000000000000000000000000000000000..a8cbceb35aea9fe29acf18f3eea0c825552a419e
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/.metadata
@@ -0,0 +1,43 @@
+# Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file tracks properties of this Flutter project.
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
+#
+# This file should be version controlled.
+
+version:
+ revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ channel: unknown
+
+project_type: app
+
+# Tracks metadata for the flutter migrate command
+migration:
+ platforms:
+ - platform: root
+ create_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ base_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ - platform: ohos
+ create_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+ base_revision: f63170e391f0d2349c3f6b4d6cabf856f0f7b76f
+
+ # User provided section
+
+ # List of Local paths (relative to this file) that should be
+ # ignored by the migrate tool.
+ #
+ # Files that are not part of the templates will be ignored by default.
+ unmanaged_files:
+ - 'lib/main.dart'
+ - 'ios/Runner.xcodeproj/project.pbxproj'
diff --git a/packages/video_player/video_player_ohos/example/README.md b/packages/video_player/video_player_ohos/example/README.md
new file mode 100644
index 0000000000000000000000000000000000000000..2b3fce4c86a5950a1e71d64c4915a6151a6fab37
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/README.md
@@ -0,0 +1,16 @@
+# example
+
+A new Flutter project.
+
+## Getting Started
+
+This project is a starting point for a Flutter application.
+
+A few resources to get you started if this is your first Flutter project:
+
+- [Lab: Write your first Flutter app](https://docs.flutter.dev/get-started/codelab)
+- [Cookbook: Useful Flutter samples](https://docs.flutter.dev/cookbook)
+
+For help getting started with Flutter development, view the
+[online documentation](https://docs.flutter.dev/), which offers tutorials,
+samples, guidance on mobile development, and a full API reference.
diff --git a/packages/video_player/video_player_ohos/example/analysis_options.yaml b/packages/video_player/video_player_ohos/example/analysis_options.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7814013c895a5ab88ab0bb58d8cfa716f9be5654
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/analysis_options.yaml
@@ -0,0 +1,42 @@
+# Copyright (c) 2023 Hunan OpenValley Digital Industry Development Co., Ltd.
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# This file configures the analyzer, which statically analyzes Dart code to
+# check for errors, warnings, and lints.
+#
+# The issues identified by the analyzer are surfaced in the UI of Dart-enabled
+# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be
+# invoked from the command line by running `flutter analyze`.
+
+# The following line activates a set of recommended lints for Flutter apps,
+# packages, and plugins designed to encourage good coding practices.
+include: package:flutter_lints/flutter.yaml
+
+linter:
+ # The lint rules applied to this project can be customized in the
+ # section below to disable rules from the `package:flutter_lints/flutter.yaml`
+ # included above or to enable additional rules. A list of all available lints
+ # and their documentation is published at
+ # https://dart-lang.github.io/linter/lints/index.html.
+ #
+ # Instead of disabling a lint rule for the entire project in the
+ # section below, it can also be suppressed for a single line of code
+ # or a specific dart file by using the `// ignore: name_of_lint` and
+ # `// ignore_for_file: name_of_lint` syntax on the line or in the file
+ # producing the lint.
+ rules:
+ # avoid_print: false # Uncomment to disable the `avoid_print` rule
+ # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule
+
+# Additional information about this file can be found at
+# https://dart.dev/guides/language/analysis-options
diff --git a/packages/video_player/video_player_ohos/example/assets/Butterfly-209.mp4 b/packages/video_player/video_player_ohos/example/assets/Butterfly-209.mp4
new file mode 100644
index 0000000000000000000000000000000000000000..c8489799f549457b017664d6eb7ccbd82ae5bff4
Binary files /dev/null and b/packages/video_player/video_player_ohos/example/assets/Butterfly-209.mp4 differ
diff --git a/packages/video_player/video_player_ohos/example/assets/flutter-mark-square-64.png b/packages/video_player/video_player_ohos/example/assets/flutter-mark-square-64.png
new file mode 100644
index 0000000000000000000000000000000000000000..56f22d5bd8f4a90724fcd9aca3a0ec85932c4a48
Binary files /dev/null and b/packages/video_player/video_player_ohos/example/assets/flutter-mark-square-64.png differ
diff --git a/packages/video_player/video_player_ohos/example/assets/video1.mp4 b/packages/video_player/video_player_ohos/example/assets/video1.mp4
new file mode 100644
index 0000000000000000000000000000000000000000..677a493d1439dc61e8923758824aa3584ecd4adb
Binary files /dev/null and b/packages/video_player/video_player_ohos/example/assets/video1.mp4 differ
diff --git a/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector.dart b/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector.dart
new file mode 100644
index 0000000000000000000000000000000000000000..4b717e12a9c82635ef734b658958439019b3aaef
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector.dart
@@ -0,0 +1,73 @@
+/*
+* Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd.
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import 'package:example/fileselector/x_type_group.dart';
+import 'file_selector_api.dart';
+
+class FileSelector {
+ FileSelector({ FileSelectorApi? api})
+ : _api = api ?? FileSelectorApi();
+
+ final FileSelectorApi _api;
+
+ /// Registers this class as the implementation of the file_selector platform interface.
+ // static void registerWith() {
+ // FileSelectorPlatform.instance = FileSelectorAndroid();
+ // }
+
+ @override
+ Future openFile({
+ List? acceptedTypeGroups,
+ String? confirmButtonText,
+ }) async {
+ final FileResponse? file = await _api.openFile(
+ _fileTypesFromTypeGroups(acceptedTypeGroups),
+ );
+ print("openfile#");
+ print(file?.fd);
+ return file?.fd;
+ }
+
+
+
+ FileTypes _fileTypesFromTypeGroups(List? typeGroups) {
+ if (typeGroups == null) {
+ return FileTypes(extensions: [], mimeTypes: []);
+ }
+
+ final Set mimeTypes = {};
+ final Set extensions = {};
+
+ for (final XTypeGroup group in typeGroups) {
+ if (!group.allowsAny &&
+ group.mimeTypes == null &&
+ group.extensions == null) {
+ throw ArgumentError(
+ 'Provided type group $group does not allow all files, but does not '
+ 'set any of the Android supported filter categories. At least one of '
+ '"extensions" or "mimeTypes" must be non-empty for Android.',
+ );
+ }
+
+ mimeTypes.addAll(group.mimeTypes ?? {});
+ extensions.addAll(group.extensions ?? {});
+ }
+
+ return FileTypes(
+ mimeTypes: mimeTypes.toList(),
+ extensions: extensions.toList(),
+ );
+ }
+}
\ No newline at end of file
diff --git a/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector_api.dart b/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector_api.dart
new file mode 100644
index 0000000000000000000000000000000000000000..bed8e29f254885091ad351531382ff4ca306cc68
--- /dev/null
+++ b/packages/video_player/video_player_ohos/example/lib/fileselector/file_selector_api.dart
@@ -0,0 +1,142 @@
+/*
+* Copyright (c) 2024 Hunan OpenValley Digital Industry Development Co., Ltd.
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*/
+
+import 'dart:async';
+import 'package:flutter/foundation.dart' show ReadBuffer, WriteBuffer;
+import 'package:flutter/services.dart';
+
+class FileResponse {
+ FileResponse({
+ required this.path,
+ this.name,
+ required this.fd,
+ });
+
+ String path;
+
+ String? name;
+
+ int fd;
+
+ Object encode() {
+ return