Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

play video in iOS with Flash Pro

Community Beginner ,
Mar 14, 2012 Mar 14, 2012

I am trying to get video to play in iOS/iPad from Flash Professional CS 5.5. The standard video components do not work. What is the best way to get video to play on an iPad. I would guess H.264 is the best format.

Are their any best practices or examples?

Dave

TOPICS
ActionScript
4.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012

is your flv/f4v in the added files list when you publish?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 14, 2012 Mar 14, 2012

The sample I am testing - it is an H.264 and it is embedded. It is not flv.

I would also like to play a video from the web (outside) if possible?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012

are you making an iOS application that will be installed on an iOS device or are you making a web app that you want iOS devices to browse  and play?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 14, 2012 Mar 14, 2012

It would have to be an iOS application to be installed on the device.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012

so, your video

1.  is embedded on a timeline?

2.  plays when you test in flash?

3.  fails to play when your app is installed on an iOS device?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 14, 2012 Mar 14, 2012

I am using Flash Pro CS5.5.

I am using the standard video component in this first test. Simply component on the stage.

It is linked to an H.264 mp4 video.

The video plays fine when the swf is rendered through Flash Pro. Video is set to auto play.

I exported to AIR for iOS. The video is included in the package. The app is created without error.

I moved the app onto the iPad.

When the app is luanched on the iPad and the video area is simply blank. Video is set to auto play.

Have you done this before? What setting s did you use, components, actionscript?

What about StageVideo vs WebVideo?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012

so, you're not embedding your video.

does your component have a skin?  if yes, did you add it to your included files?  if yes, attach a screenshot showing your air for iOS settings panel, general tab so i can see your included files field.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 14, 2012 Mar 14, 2012

I am not embedding videos in the swf movie.

I would like to embed some videos in the iOS app package

I would also like to link to some external videos on the internet

I do not have any skin on the video

Compunent and properties in Flash Pro

Screen Shot 2012-03-14 at Mar 14, 2012  3.38.51 PM.png

swf rendered from Flash Pro

Screen Shot 2012-03-14 at Mar 14, 2012  3.39.47 PM.png

Package list for iOS

Screen Shot 2012-03-14 at Mar 14, 2012  3.40.26 PM.png

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012

you're correct.  that doesn't work.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 14, 2012 Mar 14, 2012

Video can't play in Flash Pro as an iOS app?

This other post says it works in Flex.

http://forums.adobe.com/message/4200272#4200272

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Mar 14, 2012 Mar 14, 2012
LATEST

i don't see an mp4/h.264 video playing either with an flvplayback component, with netstream or using navigateToURL() when making an iOS app.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines