hxvlc
hxvlc copied to clipboard
A Haxe/OpenFL library for @:native video playback using libVLC.

hxvlc
A Haxe/OpenFL library for @:native video playback using libVLC.
Supported Platforms
- Windows (x86_64 only)
- MacOS (x86_64 and arm64 only)
- Linux
- Android (arm64, armv7a, x86, and x86_64 only)
- iOS (arm64 and simulator only)
[!CAUTION] These platforms need to be compiled using Lime targeting
cpp
to work.
Instructions
-
Install the library:
- Via
Haxelib
:haxelib install hxvlc
- Via
Git
for the latest updates:haxelib git hxvlc https://github.com/MAJigsaw77/hxvlc.git
- Via
-
Add this code in the project.xml file:
<section if="cpp"> <haxelib name="hxvlc" if="desktop || mobile" /> </section>
Dependencies
On Linux you need to install vlc
from your distro's package manager.
-
Debian based distributions:
sudo apt-get install libvlc-dev libvlccore-dev vlc-bin vlc
-
Arch based distributions:
sudo pacman -S vlc
-
Gentoo based distributions:
sudo emerge media-video/vlc
Usage Examples
- Check out the Samples Folder for examples on how to use this library.
Licensing
hxvlc is made available under the MIT License. Check LICENSE for more information.

libVLC is released under the LGPLv2 (or later) License.
For more information, visit VideoLAN.org.