Skip to main content
Participating Frequently
October 25, 2012
Question

Rotating video in air for android

  • October 25, 2012
  • 5 replies
  • 1202 views

I have a problem when trying to rotate a video when using air for android on android 4 device. it works perfect on android 2.x devices. Is this a known bug? Is there a way around it?

The code is simple:

var nc:NetConnection = new NetConnection();

nc.connect(null);

var ns:NetStream = new NetStream(nc);

var vid:Video = new Video();

vid.attachNetStream(ns);

ns.play("some url to a video");

addChild(vid);

vid.rotation = 90;

The video frame it turning black when i try to rotate it...

This topic has been closed for replies.

5 replies

Participating Frequently
October 31, 2012

I'm wondering if putting the Video object inside a MovieClip then rotate the MovieClip might make any difference.

Zone3DAuthor
Participating Frequently
November 1, 2012

No, attaching the video to a movieclip or inside movieclip doesnt help. Now for some reason video stutters on android 4 devices even if it is not rotated...

Participant
October 26, 2012

Same problem on my device with android 4, this is probably bug in adobe air 3.2 and above, try to compile your application with air 3.1.0.4880, which comes with flashbuilder 4.6 (flex4.6), in this version the rotation works (but no audio .-))).

...this is hell!!? .-)

Zone3DAuthor
Participating Frequently
October 26, 2012

I started developing a video app in january and stopped because of another bug that was fixed in air 3.4 and now this... Guess I will wait for yet another release that will hopefully fix this bug.

Participant
October 30, 2012

I have added the problem to the adobe bugbase ;-) https://bugbase.adobe.com/index.cfm?event=bug&id=3355612