Skip to main content
Known Participant
January 27, 2014
Question

Problem playing mp4 with StageVideo using Air 3.8 and 3.9

  • January 27, 2014
  • 1 reply
  • 894 views

I have spent days pulling my hair out trying to get a mp4 video to play on my iPad or iPhone using StageVideo. I have tried numerous examples on the web that all claim to work and none of them would work on my devices. Note I was testing with Air 3.9

This morning I tried a sample someone had kindly uploaded to the web that had the Air settings set to Air 3.7 and wow and behold it works.

Changing the version of Air to 3.8 or 3.9 stops it working. This is the case when testing in the Flash CS6 IDE and on the iPad.

So is there a bug in Air 3.8 and 3.9 or has there been a change in how StageVideo is implenented?

If anyone has managed to play mp4 using StageVideo and Air 3.8 or 3.9 please let me know and if you are able to paste the code even better.

Here is a link to the example I am using

http://01am.co.uk/comment/2

This topic has been closed for replies.

1 reply

Participating Frequently
January 27, 2014

I am having the same issue.

Do you also get absolutely no events fired from the stageVideo object or NetStream?

I've filed the following bug report, but I will attempt it now with Air 3.7 and see if that helps.

Please vote my bug report up.

https://bugbase.adobe.com/index.cfm?event=bug&id=3699558

P StevenAuthor
Known Participant
January 27, 2014

Thank you for replying to my post. I am pleased I am not going mad and that it is not just me having these issues.

When I displayed some debugging info on screen with regards the NetStatus events. I had the following scenario:

NetStream.Play.Start

NetStream.Buffer.Full

NetStream.Play.Failed

NetStream.Play.Stop

I have not tested with Air 4.0 but sounds like this is also not working from reading the bug report. Seems a pretty major bug which is why I assumed I must be doing something wrong.

Let me know if Air 3.7 works for you.

Participating Frequently
January 27, 2014

Hmmm

Seeing as you are getting something back from the netStatus event perhaps we don't have the same issue.

When using Air 3.7 I now get a StageVideoAvailabilityEvent stating that stageVideo is not available, despite having the renderMode set to direct, at least this makes some sense...  Previously it just failed in silence, so perhaps Air 3.7 at least points out that my hardware doesn't support stageVideo?