{"id":13744137,"url":"https://github.com/myflashlab/videoPlayer-ANE","last_synced_at":"2025-05-09T02:32:44.690Z","repository":{"id":30757437,"uuid":"34314042","full_name":"myflashlab/videoPlayer-ANE","owner":"myflashlab","description":"video player air native extension supported on Android and iOS lets you play video files in android or iOS players. your videos can be locally availble on your device or they can be online.","archived":true,"fork":false,"pushed_at":"2020-08-06T11:13:20.000Z","size":30912,"stargazers_count":28,"open_issues_count":0,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-11-15T15:42:14.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ActionScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/myflashlab.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-21T08:22:43.000Z","updated_at":"2023-01-28T00:44:21.000Z","dependencies_parsed_at":"2022-09-09T00:11:15.680Z","dependency_job_id":null,"html_url":"https://github.com/myflashlab/videoPlayer-ANE","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FvideoPlayer-ANE","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FvideoPlayer-ANE/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FvideoPlayer-ANE/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/myflashlab%2FvideoPlayer-ANE/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/myflashlab","download_url":"https://codeload.github.com/myflashlab/videoPlayer-ANE/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253177843,"owners_count":21866405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-03T05:01:03.728Z","updated_at":"2025-05-09T02:32:44.185Z","avatar_url":"https://github.com/myflashlab.png","language":"ActionScript","funding_links":[],"categories":["Native Extension","AIR Native Extensions"],"sub_categories":["Multimedia ANE"],"readme":"# Video Player ANE (Android+iOS)\nvideo player ANE supported on Android and iOS, lets you play video files in android or iOS players. your videos can be locally availble on your device or they can be online. in the sample codes we have also used our YouTube link parser found here: https://github.com/myflashlab/AS3-youtube-parser-video-link/ and with that you can easily play YouTube videos too.\n\n[find the latest **asdoc** for this ANE here.](http://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/player/package-detail.html)\n\n# AIR Usage\nFor the complete AS3 code usage, see the [demo project here](https://github.com/myflashlab/videoPlayer-ANE/blob/master/AIR/src/MainFinal.as).\n\n```actionscript\nimport com.myflashlab.air.extensions.player.*;\n\nvar _ex:VideoPlayer = new VideoPlayer();\n\n// on Android, local videos must be in File.cacheDirectory. on iOS, they can be anywhere.\nvar vid:File = File.cacheDirectory.resolvePath(\"exVideoPlayer.mp4\");\n_ex.play(vid.nativePath, VideoType.LOCAL);\n\n// or play online\n_ex.play(\"https://myflashlabs.com/showcase/Bully_Scholarship_Edition_Trailer.mp4\", VideoType.ONLINE);\n\n// you can also play YouTube videos! please see the sample usage code for YouTube in the sample project\n```\n\n# AIR .xml manifest\n```xml\n\u003c!--\nFOR ANDROID:\n--\u003e\n\t\t\u003cuses-sdk android:targetSdkVersion=\"28\"/\u003e\n\t\t\n\t\t\u003capplication\u003e\n\t\t\t\u003c!--\n\t\t\t\tChange {PACKAGE_NAME} to your own applicationID\n\t\t\t--\u003e\n\t\t\t\u003cprovider\n\t\t\t\tandroid:name=\"com.myflashlabs.videoPlayer.AneVideoProvider\"\n\t\t\t\tandroid:authorities=\"{PACKAGE_NAME}.provider\"\n\t\t\t\tandroid:exported=\"false\"\n\t\t\t\tandroid:grantUriPermissions=\"true\"\u003e\n\t\t\t\t\u003cmeta-data\n\t\t\t\t\tandroid:name=\"android.support.FILE_PROVIDER_PATHS\"\n\t\t\t\t\tandroid:resource=\"@xml/video_player_ane_provider_paths\"/\u003e\n\t\t\t\u003c/provider\u003e\n\n\n\t\t\t\u003cactivity\u003e\n\t\t\t\t\u003cintent-filter\u003e\n\t\t\t\t\t\u003caction android:name=\"android.intent.action.MAIN\" /\u003e\n\t\t\t\t\t\u003ccategory android:name=\"android.intent.category.LAUNCHER\" /\u003e\n\t\t\t\t\u003c/intent-filter\u003e\n\t\t\t\t\u003cintent-filter\u003e\n\t\t\t\t\t\u003caction android:name=\"android.intent.action.VIEW\" /\u003e\n\t\t\t\t\t\u003ccategory android:name=\"android.intent.category.BROWSABLE\" /\u003e\n\t\t\t\t\t\u003ccategory android:name=\"android.intent.category.DEFAULT\" /\u003e\n\t\t\t\t\u003c/intent-filter\u003e\n\t\t\t\u003c/activity\u003e\n\t\t\t\n\t\t\u003c/application\u003e\n\n\t\t\n\u003c!--\nFOR iOS:\n--\u003e\n\t\u003c!-- Reqiered only if you are trying to load an online video with 'http' address --\u003e\n\t\u003ckey\u003eNSAppTransportSecurity\u003c/key\u003e\n\t\u003cdict\u003e\n\t\t\u003ckey\u003eNSAllowsArbitraryLoads\u003c/key\u003e\n\t\t\u003ctrue/\u003e\n\t\u003c/dict\u003e\n\n\n\n\u003c!--\nEmbedding the ANE:\n--\u003e\n\u003cextensions\u003e\n\t\u003cextensionID\u003ecom.myflashlab.air.extensions.videoPlayer\u003c/extensionID\u003e\n\n\t\u003c!-- dependency ANEs --\u003e\n\t\u003cextensionID\u003ecom.myflashlab.air.extensions.dependency.androidx.core\u003c/extensionID\u003e\n    \u003cextensionID\u003ecom.myflashlab.air.extensions.dependency.androidx.lifecycle\u003c/extensionID\u003e\n\t\u003cextensionID\u003ecom.myflashlab.air.extensions.dependency.overrideAir\u003c/extensionID\u003e\n\u003c/extensions\u003e\n```\n\n# Requirements\n* Android SDK 19+\n* iOS 10.0+\n* AIR SDK 33+\n\n# Commercial Version\nhttps://www.myflashlabs.com/product/video-player-ane-adobe-air-native-extension/\n\n[![Video Player ANE](https://www.myflashlabs.com/wp-content/uploads/2015/11/product_adobe-air-ane-extension-video-player-2018-595x738.jpg)](https://www.myflashlabs.com/product/video-player-ane-adobe-air-native-extension/)\n\n# Tutorials\n[How to embed ANEs into **FlashBuilder**, **FlashCC** and **FlashDevelop**](https://www.youtube.com/watch?v=Oubsb_3F3ec\u0026list=PL_mmSjScdnxnSDTMYb1iDX4LemhIJrt1O)  \n\n# Premium Support #\n[![Premium Support package](https://www.myflashlabs.com/wp-content/uploads/2016/06/professional-support.jpg)](https://www.myflashlabs.com/product/myflashlabs-support/)\nIf you are an [active MyFlashLabs club member](https://www.myflashlabs.com/product/myflashlabs-club-membership/), you will have access to our private and secure support ticket system for all our ANEs. Even if you are not a member, you can still receive premium help if you purchase the [premium support package](https://www.myflashlabs.com/product/myflashlabs-support/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyflashlab%2FvideoPlayer-ANE","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmyflashlab%2FvideoPlayer-ANE","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmyflashlab%2FvideoPlayer-ANE/lists"}