Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/myflashlab/videoPlayer-ANE
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.
https://github.com/myflashlab/videoPlayer-ANE
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/myflashlab/videoPlayer-ANE
- Owner: myflashlab
- Archived: true
- Created: 2015-04-21T08:22:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2020-08-06T11:13:20.000Z (over 4 years ago)
- Last Synced: 2024-08-04T05:03:14.693Z (5 months ago)
- Language: ActionScript
- Homepage:
- Size: 29.5 MB
- Stars: 28
- Watchers: 11
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
Awesome Lists containing this project
- awesome-actionscript-sorted - VideoPlayer ANE - video player ANE supported on Android and iOS 64-bit let's 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. (Native Extension / Multimedia ANE)
README
# Video Player ANE (Android+iOS)
video 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.[find the latest **asdoc** for this ANE here.](http://myflashlab.github.io/asdoc/com/myflashlab/air/extensions/player/package-detail.html)
# AIR Usage
For the complete AS3 code usage, see the [demo project here](https://github.com/myflashlab/videoPlayer-ANE/blob/master/AIR/src/MainFinal.as).```actionscript
import com.myflashlab.air.extensions.player.*;var _ex:VideoPlayer = new VideoPlayer();
// on Android, local videos must be in File.cacheDirectory. on iOS, they can be anywhere.
var vid:File = File.cacheDirectory.resolvePath("exVideoPlayer.mp4");
_ex.play(vid.nativePath, VideoType.LOCAL);// or play online
_ex.play("https://myflashlabs.com/showcase/Bully_Scholarship_Edition_Trailer.mp4", VideoType.ONLINE);// you can also play YouTube videos! please see the sample usage code for YouTube in the sample project
```# AIR .xml manifest
```xml
NSAppTransportSecurity
NSAllowsArbitraryLoads
com.myflashlab.air.extensions.videoPlayer
com.myflashlab.air.extensions.dependency.androidx.core
com.myflashlab.air.extensions.dependency.androidx.lifecycle
com.myflashlab.air.extensions.dependency.overrideAir```
# Requirements
* Android SDK 19+
* iOS 10.0+
* AIR SDK 33+# Commercial Version
https://www.myflashlabs.com/product/video-player-ane-adobe-air-native-extension/[![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/)
# Tutorials
[How to embed ANEs into **FlashBuilder**, **FlashCC** and **FlashDevelop**](https://www.youtube.com/watch?v=Oubsb_3F3ec&list=PL_mmSjScdnxnSDTMYb1iDX4LemhIJrt1O)# Premium Support #
[![Premium Support package](https://www.myflashlabs.com/wp-content/uploads/2016/06/professional-support.jpg)](https://www.myflashlabs.com/product/myflashlabs-support/)
If 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/).