Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

openfl.media.Video compilation error - android #1567

Closed
ginosucc opened this issue May 18, 2017 · 0 comments
Closed

openfl.media.Video compilation error - android #1567

ginosucc opened this issue May 18, 2017 · 0 comments

Comments

@ginosucc
Copy link

Hi, it seems that openfl.media.Video doesn't compile when targeting android.
I get thoses errors at compilation :

C:/HaxeToolkit/haxe/lib/openfl/5,0,0/openfl/media/Video.hx:135: characters 35-47 : lime.utils.Float32Array should be Int
C:/HaxeToolkit/haxe/lib/openfl/5,0,0/openfl/media/Video.hx:135: characters 35-47 : For function argument 'size'
C:/HaxeToolkit/haxe/lib/openfl/5,0,0/openfl/media/Video.hx:147: characters 35-47 : lime.utils.Float32Array should be Int
C:/HaxeToolkit/haxe/lib/openfl/5,0,0/openfl/media/Video.hx:147: characters 35-47 : For function argument 'size'

I tried flash and html5 target, and they both compile.
This sample doesn't compile for android target :

package;
import openfl.display.Sprite;
import openfl.media.Video;

class Main extends Sprite {
	public function new () {
		super ();
	}
}

openfl version 5.0.0
lime version 4.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant