i made a player in flash, this is working desktop systems fine. now we move to iPhone os,
then how can i play my player in iphone.
Is this working in html5?
I'm sending parameters to player, is this possible to run flash player in html5 with parameters?
You can't run Flash at all on iOS. If your player just plays video, make your app use a HTML <video> tag or toss the video in a StageWebView. You'll need to make sure it's a mp4.
Otherwise if it's just any sort of standard Flash player you'd need to convert your project into an AIR for iOS app, which may require some parts to be redesigned and some code to be updated for mobile. You'll also need an Apple iOS Developer account ($99/yr).
I installed FMS 4.5(DEV.Version), So present My videos are in FMS 4.5.
current my player is flash (my own player).
I heard FMS 4.5 is supported for iOS devices. So what can i do first ?
or
how can i playing in HTML5 (is it possible using my flash player skin to html5 player?)
So how can i play?
To play back your content you use NetStream to attach to the video source. NS can send a stream from FMS in these formats (flv/f4v/mp4/etc):
I would highly recommend using MP4 with H.264 as HTML5 can use this directly and support for it is wide. This means if you get rid of FMS you can progressively play them by simply pointing toward a file on a webserver, very little re-coding.
Now to play the video, StageVideo is the GPU accelerated library that can attach to a NetStream. Otherwise you can try a premade component. Some components implement NetStream and NetConnection themselves so consult their documentation. Or you can code your own using the basic Video Class.
I would recommend the advantages of GPU acceleration on devices with StageVideo but you must realize how it layers with Flash. It is not a display object on the display list. Just like Stage3D it exists below flash. The gratituous Getting Started with Stage Video article will show you a graphic of it and the basics of it. You will, however, need to create/program your own controls.
If you want to display a video in HTML5 the only thing you can do is use a StageWebView. This is opposite of StageVideo or Stage3D. A StageWebView sits over flash and is also not part of the display list. You cannot show any flash content over it, therefore you must rely on its own built in browser media player to provide controls for your video. It can natively play mp4 if you tell it to load it directly however it will be progressive playback. Someone else might want to chime in with any experiments with FMS and SWV. I play most of my videos in a StageWebView. Performance is GPU accelerated, I don't need to "hide" my entire interface, it comes with controls and fullscreen works.
No you can't use a Flash skin over a HTML5 <video> object. You must stop thinking iOS will allow you to run a SWF. When you are talking HTML5 you are talking about using StageWebView. All you can do is create a HTML5 webpage with your player re-created in javascript while injecting that website into a StageWebView. It's not advisable because you cannot affect the loaded page. There is no bridge in communication between AS<->JS like there is on the web. Maybe in the future. Until then there's almost nothing you can do (outside hijack location changes) to communicate between AS and SWV unless you use a native extension.
North America
Europe, Middle East and Africa
Asia Pacific