+ Reply
Results 1 to 13 of 13

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: JavaScript Hack Runs (Some) Flash on iPhone

is a discussion within the

iPhone News

forums, a part of the

General iPhone

section;
Many users have complained about iPhone’s lack of support for Flash, claiming that it's a fundamental flaw with the phone's ability to access Internet content. Others have maintained that Flash
...
  1. #1
    MMi Staff Writer Paul Daniel Ash's Avatar
    Join Date
    Aug 2009
    Location
    Union Square, Somerville, Mass.
    Posts
    919
    Thanks
    6
    Thanked 995 Times in 401 Posts

    Default JavaScript Hack Runs (Some) Flash on iPhone


    Many users have complained about iPhone’s lack of support for Flash, claiming that it's a fundamental flaw with the phone's ability to access Internet content. Others have maintained that Flash itself is fundamentally flawed, a CPU hog that will crash AT&T's already strained network. Now, however, a developer has come up with a JavaScript workaround that will allow the iPhone to run Flash content, though only that which has been heavily modified.

    The script is called Gordon, in an homage to the Thirties sci-fi hero. Tobias Schneider, a programmer from Munich, developed the clever workaround,which is a runtime Flash emulator written in pure JavaScript. Since it's a script rather than an app, it doesn't run afoul of the iPhone SDK EULA section 3.3.2 prohibition against apps executing code... though Apple may have something to say about the project.

    The script does not provide true Flash support to the iPhone, as it only enables Flash files to be displayed within the iPhone’s Safari browser. And in order for the script to work correctly, the Flash must be embedded in HTML, and must incorporate Schneider’s code on every animation they want to display correctly on the iPhone. Only a subset of SWF tags are supported, and, as noted by TheAppleBlog, it's very CPU-intensive and a battery killer. Sill, if you want to see Flash on your phone, you can point your Safari browser to Paul Irish's site and take a look.

    It's a demo project, not a viable Flash replacement, obviously, and it's unlikely that the workaround will inspire many Flash developers to modify their content to run with this script. It is, clever, though, and it brings to light many of the up and downsides of Flash on this iPhone. By many people's estimation, Flash is the defacto standard for video on the Web, and the exclusion of it from the iPhone is a significant weakness. On the other side, the platform is inherently CPU-intense, and as John Gruber notes, Apple has little incentive to bring Flash support to the iPhone if it's not hurting sales... and it doesn't seem to.

    Adobe will include the ability to compile Flash animations as standalone apps with Adobe Flash Professional CS5. For the foreseeable future, at least, that functionality may prove more popular than a script workaround.

    image via @digitalgravy
    Last edited by Paul Daniel Ash; 01-17-2010 at 10:08 AM. Reason: edit link

  2. #2
    iPhoneaholic
    Join Date
    Oct 2009
    Posts
    321
    Thanks
    15
    Thanked 32 Times in 24 Posts

    Very cool indeed!!

    But really now, guys, come on, when I can copy and paste at random into google one paragraph and find your story nearly word for word, you should really quote a source for it.
    Code:
    http://www.google.com/search?q=The+script+does+not+provide+true+Flash+support+to+the+iPhone%2C+as+it+only+enables+Flash+files+to+be+displayed+within+the+iPhone%E2%80%99s+Safari+browser.+And+in+order+for+the+script+to+work+correctly%2C+the+Flash+must+be+embedded+in+HTML%2C+and+must+incorporate+Schneider%E2%80%99s+code+on+every+animation+they+want+to+display+correctly+on+the+iPhone.+Only+a+subset+of+SWF+tags+are+supported%2C+and%2C+as+noted+by+TheAppleBlog%2C+it%27s+very+CPU-intensive+and+a+battery+killer.+Sill%2C+if+you+want+to+see+Flash+on+your+phone%2C+you+can+point+your+Safari+browser+to+Paul+Irish%27s+site+and+take+a+look.&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

  3. #3
    iPhoneaholic ecd5000's Avatar
    Join Date
    Oct 2008
    Location
    Six - One - Zero
    Posts
    412
    Thanks
    6
    Thanked 18 Times in 15 Posts

    thats awesome, always good news to give apple to get their heads out of there asses
    Quote Originally Posted by ??????
    Hi. Does anyone know is iBlacklist available in the app store? can it only be purchased outside the app store? If so, is it hard to install? Thanks everyone.

  4. #4
    Livin the iPhone Life lolcats1's Avatar
    Join Date
    Dec 2009
    Posts
    1,069
    Thanks
    13
    Thanked 87 Times in 60 Posts

    hopes this scares/shames apple into letting adobe give us full flash support

  5. #5
    iPhone? More like MyPhone
    Join Date
    Jun 2008
    Location
    Mesa, AZ
    Posts
    146
    Thanks
    2
    Thanked 5 Times in 4 Posts

    interesting...

  6. #6
    Livin the iPhone Life rhekt's Avatar
    Join Date
    Jun 2009
    Posts
    1,294
    Thanks
    43
    Thanked 65 Times in 53 Posts

    im pushing for flash. hopefully they release it on a friday
    killall Terminal[]

  7. The Following User Says Thank You to rhekt For This Useful Post:

    masonbuechler (01-18-2010)

  8. #7
    My iPhone is a Part of Me tudtran's Avatar
    Join Date
    Sep 2007
    Location
    Foco, Colorado
    Posts
    998
    Thanks
    4
    Thanked 36 Times in 28 Posts

    Nice! good news. I can't wait around for apple forever.

  9. The Following User Says Thank You to tudtran For This Useful Post:

    masonbuechler (01-18-2010)

  10. #8
    My iPhone is a Part of Me hollow0's Avatar
    Join Date
    Jun 2008
    Location
    Tampa, FL
    Posts
    671
    Thanks
    49
    Thanked 49 Times in 39 Posts

    What's the big deal with Flash? Ok, now if it's incorporated doesn't that mean every website that has flash advertisement will run EVERY TIME you load the page? So webpages on the phone will take longer to load. The only way this flash will be good if there is a on/off switch. If not than i won't care for it. I'm not going to sit here and wait for safari to load every flash ad for every webpage i visit.

  11. #9
    iPhone? More like MyPhone High_Voltage's Avatar
    Join Date
    Oct 2009
    Posts
    133
    Thanks
    6
    Thanked 10 Times in 8 Posts

    I would rather have flash to view on itouch. Reason being maybe because the YouTube app won't show why you want like music videos or news content, like what I want. It would probably be wise to add this feature, more people would buy and their company would get the profit they want. So while I wait I hope they don't make it Of what H0ll0w describes it to be. So I say make it suitable so people don't get pissed off of the horrible effort they put into it.

    I also agree with Holl0w if it doesn't work right, idc about it.
    Last edited by High_Voltage; 01-17-2010 at 08:44 PM. Reason: Automerged Doublepost

  12. #10
    Peanut Brain confucious's Avatar
    Join Date
    Oct 2008
    Location
    Woking
    Posts
    10,234
    Thanks
    136
    Thanked 895 Times in 813 Posts

    It is an interesting POC but that's as far as it goes.
    He who asks a question looks foolish for 5 minutes. He who doesn't ask a question remains foolish forever.

  13. #11
    What's Jailbreak?
    Join Date
    Oct 2007
    Posts
    27
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can someone explain how I actually use this? How do I install it? I assume it's just a bookmark code similar to the 'Find in a Page' hack for Safari. If someone could explain, that would be awesome!

  14. #12
    My iPhone is a Part of Me rwin84's Avatar
    Join Date
    Nov 2007
    Location
    Orlando, FL
    Posts
    679
    Thanks
    3
    Thanked 16 Times in 16 Posts

    ooh woooow...
    This is getting a lil' ridiculous...

  15. #13
    Livin the iPhone Life rhekt's Avatar
    Join Date
    Jun 2009
    Posts
    1,294
    Thanks
    43
    Thanked 65 Times in 53 Posts

    Quote Originally Posted by hollow0 View Post
    What's the big deal with Flash? Ok, now if it's incorporated doesn't that mean every website that has flash advertisement will run EVERY TIME you load the page? So webpages on the phone will take longer to load. The only way this flash will be good if there is a on/off switch. If not than i won't care for it. I'm not going to sit here and wait for safari to load every flash ad for every webpage i visit.
    good point. maybe a popup blocker? or on/off switch like you said. someone would just incorporate into SBsettings if apple didn't do anything about it. so either way.
    killall Terminal[]

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts