A Haxe/OpenFL library for video playback using LibVLC.
- Windows (x86_64 only).
- MacOS (x86_64 and arm64 only).
- Linux.
- Android (arm64, armv7a, x86 and x86_64 only).
- iOS (arm64 and simulator only) currently unstable.
These platforms needs be to compiled to C++ using Lime in order to work.
-
Install the library.
-
You can install it through
Haxelib
haxelib install hxvlc
-
Or through
Git
, if you want the latest updateshaxelib git hxvlc https://github.com/MAJigsaw77/hxvlc.git
-
-
Add this code in the project.xml file.
<section if="cpp"> <haxelib name="hxvlc" if="desktop || mobile" /> </section>
-
Linux users only, you need to install
vlc
from your distro's package manager. -
iOS users only, you need to add the
MobileVLCKit
framework.-
Download the Framework and extract it.
-
In your apps, on the
.xcodeproj
file click on the target named after your app. -
Navigate to
Build Settings
and changeDebug Information Format
toDWARF
. -
After that go to
Build Phases/Link Binary With Libraries
and at the bottom click on the plus sign and clickAdd Other/Add Files
. -
Locate the path of the
MobileVLCKit.xcframework
were you extracted the downloaded framework and add it.
-
-
Well done!
Check out the Samples Folder for examples on how to use this library.
hxvlc is made available under the MIT License. Check LICENSE for more information.
LibVLC is the engine of VLC released under the LGPL2.1 License. Check VideoLAN.org for more information.
Avatar | User | Involvement |
---|---|---|
MAJigsaw77 | Creator of hxvlc. | |
datee | Creator of HaxeVLC and VLC.hx. | |
Jonnycat | MacOS Libs. | |
FutureDorito | iOS Support Helper. |