Coming from a background of multimedia developments with the Flash / AIR / ActionScript ecosistem, I am now learning Haxe / OpenFL Haxe / OpenFL in the face of a possible future without the option of Adobe AIR.
We have quite specific needs, among others, we need to play integrated video on several platforms. Priority:
- Windows exe (events, presentations …)
- Html5 canvas (Browser, online)
- Android app (events, presentations …)
- (iOS is not necessary, for now)
I know that I can compile for the Flash and Adobe AIR targets, but as I say, we need an option without the need for AIR if in the future it is not possible to execute it in said targets.
I have been looking at quite a lot of information about OpenFL and it seems that the possibilities of integrating video in several platforms, is quite problematic (or even there is no solution in some targets) …
Hardly anything is found. The most we find is this:
But we can not compile it because it gives an error:
“Error: VlcBitmap.cpp ./src/vlc/VlcBitmap.cpp(681): error C2573: ‘vlc :: VlcBitmap_obj’: can not delete pointers to objects of this type; …”
Does anyone have a solution for this error ?.
Is there any plan for the future so we can integrate video in Openfl / windows target)?
We know that it is possible to work with Html5 canvas in different platforms (even to create executables with electron), but canvas has several technological problems. Among many other things, it is VERY slow when there is text (or vectors) on the screen, which forces to convert everything to bitmap to obtain an acceptable performance. This produces longer times in the projects.
We work with Adobe AIR in a mix between gpu mode and vectors. We do not absolutely convert everything to bitmap, because it is not necessary. The texts are very agile in general without converting and they look “crisp”. The performance is very good in windows exe and mobile app. But this solution is not possible in html5 canvas.
In general, Html5 canvas is a inferior solution to the global possibilities and the balance that Flash Runtimes allow.
This option simply interests us to have a web / online version, without the need to reprogram everything from scratch (right now we do it through createjs).
Similar needs to Windows exe. For events, sometimes we need to run it on an Android Tablet (we usually have the possibility to choose the type of system, so we do not need iOS, for now). But we do not see video solution for mobile targets …
Is there any option to play video in an Android app ?. Is there any future plan that allows having a Video Player on Android?