views:

61

answers:

5

I have a flash video(.swf) on my website and i want it to convert into such a format so that it remain available from iphone/ipad. Is there any possible way of doing so? Can i convert it into HTML5? If yes can anyone suggest the process and if no, can anyone suggest any other method? Any help would be highly appreciated.

A: 

www.doom9.org has all the video conversion tutorials you need

Edit: do you mean actual flash video (flv), as in the format or just flash (swf) ?

Edit re comment ok, if theres no interaction you can still convert it to an html5 friendly video format, have a google, there are plenty of converters. You probably want to use flash as a fallback in the absence of an html5 compatible browser, this way you support the old (and new) crap that microsoft push, and the modern stanards compliant browsers

Andrew Bullock
I apologize for the confusion, it is just flash(.swf) and does not have any interactivity.
ravenarvind
A: 

In short, NO no no you cannot. Flash uses an entirely separate language, Actionscript, which is COMPLETELY different to that of HTML or XHTML! Actionscript can almost be seen as a language SIMILAR in properties to Javascript, while XHTML can almost be viewed as a descender of XML, although it is NOT XML, but you get my drift.

Unfortunately in your case I think you will need to re-develop your website or provide and ALTERNATIVE page for mobile users. You could always have a landing page and detect if the user is no a mobile device like the iPhone, Android etc etc and redirect them to a site that is optimized for their needs.

I think a flash to HTML or XHTML converter would be MUCH appreciated by many of us as it's is more common than you'd like to think for a client to now want his/her Flash website as static or XHTML.

webfac
Looking at the first answer, if your flash site simply has animation, there are a mound of tools that will convert it to a video format (Flash itself can) and you can show THAT to iPhone users in a video format they can read. If your flash has interactivity, this is out of the question of course.
webfac
"When a distinguished but elderly scientist states that something is possible, he is almost certainly right. When he states that something is impossible, he is very probably wrong." - Arthur C. Clarke's First Law
StephenPaulger
@StephenPaulger - If you'd noticed the comment below my post you would have also noted my reference to that fact that it is NOT impossible if just animation, but not possible if it has interactivity.
webfac
Only serving to prove the point.
StephenPaulger
A: 

Why not have both. Here is a video tutorial showing how to have Flash video but with an HTML5 fallback http://gotoandlearn.com/play.php?id=128 [EDIT] assuming that this is indeed a video, and you will need to convert it to a suitable video file

Allan
A: 

We've had good results with Gordon. Did work for simple videos, but we weren't able to get anything interactive to work.

fhd
A: 

It's absolutely possible to convert flash to html 5, depending on what it is you want to do. A good example of this being done is www.zombo.com (flash) -> http://html5zombo.com/ (html 5).

If you look at the source on html5zombo.com there is an explanation of how he did it (reprinted below)

HTML5zombo.com Bertrand Fan ([email protected]) 5/19/2010

        I wanted zombo.com on my iPad. That is all.

        ===================================================================
        How I did it, for nerds:
        ===================================================================

        Watched the Net tab for zombo.com in Firebug            

        wget http://www.zombo.com/inrozxa.swf
        wget http://www.zombo.com/welcomeclip.swf

        Opened them in SWFRIP to extract the MP3 and SVG representations of the logo and spinner.
        Opened the SVG files in Adobe Illustrator (ironic, I know), tweaked a bit, exported new SVG files

        Copy-pasted the SVG contents into this HTML file, tweaked the attributes a bit

        Wrote the JS code to rotate the SVG spinner

        Converted the MP3 to OGG using oggenc2 (not really necessary for the iPad, but apparently for Firefox)

        Discovered that the iPad does not respect autoplay on HTML5 audio tags, crafted a javascript link for iPads

        wget http://www.zombo.com/favicon.ico

        ===================================================================
        References:
        ===================================================================

        http://www.zombo.com/
        http://twitter.com/zombocom
        http://sourceforge.net/projects/swfrip/
        http://developer.apple.com/safari/library/documentation/AudioVideo/Conceptual/Using_HTML5_Audio_Video/AudioandVideoTagBasics/AudioandVideoTagBasics.html
        http://html5doctor.com/native-audio-in-the-browser/
        http://emacsformacosx.com/
        http://www.apple.com/hotnews/thoughts-on-flash/
JonNeale
@JonNeale - While this is a (lengthy) solution, it involves a lot of skill and patience, and is essentially not a conversion perse, I think our poster is after a tool to convert the files. Other than that, I like the above solution a lot and am not knocking it, I think we can all learn something from it.
webfac
But this only covers extremely simple animation [spinning, motion tween]... What if he has skeletal animation, color tween, tons of layers, etc.
ItzWarty