Skip to main content
Douglas McCarroll
Inspiring
October 9, 2013
Question

Newbie AIR-iOS-Video Question

  • October 9, 2013
  • 1 reply
  • 614 views

Hi All,

I'm fairly experienced with AIR for mobile, but so far have done very little with video.

So here's a very basic question:

Is it possible to play a video located on a server in iOS?

I've been told (by a fairly experienced developer) that this isn't possible, but I'm finding stuff online that seems to indicate that it is possible.

If it's possible, can you offer any basic pointers on how to go about this? I haven't found a good tutorial that uses video on a server.

I'd like to do this in Flash Pro, but most of my experience is in Flash Builder with Flex, so please don't assume that I know much about Flash Pro. 

I've done a fair amount of experimenting - encoding video in Adobe Media Encoder - importing the video into a FLA file - and the video plays fine in Flash Pro, but not on my iPhone.

Thanks,

Douglas

This topic has been closed for replies.

1 reply

Douglas McCarroll
Inspiring
October 12, 2013

Okay, I've done more research, so I'll answer my own question.

Yes, it's definitely possible to play video from a server on iOS.

This page contains code that works:

http://www.overdigital.com/2012/01/14/720p-video-on-ipad-and-android-tablets-with-adobe-air/

That is, it works properly with the author's video, but not with mine.     

At first I thought that it wasn't working at all with my video, but then I happened to change the iPad's orientation, and the video appeared.

This problem has also been noted here: http://forums.adobe.com/message/5712904#5712904

It's interesting that the example video for the above article doesn't do this....

Could it be that I'm not encoding the video correctly?

I'm using the Adobe Media Encoder to encode the video.

The preset I'm using is:

  • Apple TV, iPad, iPhone 4 and newer - 720p 23.976
  • I'm choosing this based on the name of the file used by the above working example, which is "Hillman_720p23.976_2400kbps.mp4"

 

It seems to me that this would obviously be correct. I have a feeling that there's something really simple that I'm missing. Any thoughts?

Thanks,

Douglas