FLASH Plugin for OWB!
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Hi morphers

    Now that Morphos has a viable webbrowser, how possible would a port of GNASH for Morphos be? Would be a cool plug in for OWB. There already exsists the source code for the ppc version of gnash... what are the pitfalls/ troubles with this?

    tia
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »16.03.09 - 23:42
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    As per usual the main issue will probably be counter-productive licenses; Gnash is GPL, while OWB is BSD/LGPL.

    GPL is always the worst possible license for a plugin as the GPL requires anything that links with it (statically or dynamically) to comply with the GPL, which effectively means you have to change the reasonable BSD/LGPL licensing of OWB to L/GPL .. if whoever does the job don't mind though there's no issue...

    Secondary issue is that it's probably quite a bit of work integrating Gnash with OWB (though I wouldn't really know, not having looked at the sources at all), Fab would probably know best.


    - CISC
  • »17.03.09 - 06:31
    Profile
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    analogkid
    Posts: 667 from 2004/11/3
    From: near myself
    OWB Galekid seems to have a Netscape-like API for Plugins, so it should be possible. But is Gnash compatible enough to play all or most flash-films around and not only for Youtube-films?
  • »17.03.09 - 06:46
    Profile
  • Paladin of the Pegasos
    Paladin of the Pegasos
    SoundSquare
    Posts: 1213 from 2004/12/1
    From: Paris, France
    Quote:

    OWB Galekid seems to have a Netscape-like API for Plugins, so it should be possible. But is Gnash compatible enough to play all or most flash-films around and not only for Youtube-films?


    gnash is out to date, up to flash 7 but not above. I think it's enough for youtube videos though.
  • »17.03.09 - 09:38
    Profile
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    gnash is out to date, up to flash 7 but not above.


    The readme says otherwise:
    Quote:

    Gnash supports many SWF v7 features
    and ActionScript 2 classes. with growing support for SWF v8 and
    v9.


    Quote:

    I think it's enough for youtube videos though.


    Apparently:
    Quote:

    Added support for FLV parsing and decoding of H.264 video and AAC audio.



    - CISC
  • »17.03.09 - 10:45
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    OWB uses the netscape plugin api, but this api relies on X11. :)
    To integrate a plugin, it already needs quite some work on the plugin system itself.

    Then about gnash, its dependencies are totally insane. No way i'm porting it. On the other hand, a few months ago, i ported swfdec to evaluate it (it's also supposed to have some flash8/9 compatibility, youtube support, ...). I got it working as a simple and crippled standalone player. But the problem is it really felt very slow, and also not that stable with some swf files. And even swfdec has horrible deps for something that would come as a plugin (pango, cairo, glib2, oil and a couple more :)).
  • »17.03.09 - 15:10
    Profile Visit Website
  • Order of the Butterfly
    Order of the Butterfly
    Neko
    Posts: 301 from 2003/2/24
    From: Genesi
    The irony of all these dependencies is that it's exactly what Firefox and GNOME is linked to, the developers really did not think about anything but getting support for that.

    The NPAPI should not rely on X11; after all Qt/WebKit does not rely on X11 but manages to support NPAPI as of Qt 4.5. Someone just needs to push around the X11 parts and I guess.. port them to MUI :)
    Matt Sealey, Genesi USA, Inc.
    Developer Relations
    Product Development Analyst
  • »17.03.09 - 16:07
    Profile Visit Website
  • Caterpillar
    Caterpillar
    Matt_H
    Posts: 30 from 2009/2/21
    From: Boston, MA, Un...
    What about adapting the new-ish IBrowse Flash plugin for OWB? No annoying *nix dependencies there.

    It's probably not enough for Youtube videos, but combined with OWB's better rendering engine it could get some stubborn Flash-based sites working.
  • »18.03.09 - 01:57
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    Andreas_Wolf
    Posts: 12163 from 2003/5/22
    From: Germany
    > It's probably not enough for Youtube videos

    It's definitely not just not enough for them but also not enough for any Flash based video portal that uses streamed data.
  • »18.03.09 - 02:25
    Profile
  • tom
  • Acolyte of the Butterfly
    Acolyte of the Butterfly
    tom
    Posts: 147 from 2003/7/22
    From: Heesch, The Ne...
    I can view Youtube with the help of Tubexx. How is that possible? Is something like that also possible with IBrowse or OWB?

    Reagrds Tom (I'm no programmer!) :-?
  • »18.03.09 - 15:42
    Profile
  • Fab
  • MorphOS Developer
    Fab
    Posts: 1331 from 2003/6/16
    Tubexx (and also getvideo) parses a youtube webpage and extracts the actual link to the video, which is then played by mplayer (way more efficiently than any other normal flash player/plugin, actually :)).
  • »18.03.09 - 16:02
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    Tcheko
    Posts: 534 from 2003/2/25
    From: France
    Any way to embbed mplayer in owb to play youtube vids inside ?
    Most of us don't care about swf games I think. But having youtube/dailymotion whatever vids in browser would be nice IMO.

    Maybe it would be a bit hackish ...
    Quelque soit le chemin que tu prendras dans la vie, sache que tu auras des ampoules aux pieds.
    -------
    I need to practice my Kung Fu.
  • »18.03.09 - 18:16
    Profile Visit Website
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    Hey guys thanks for the realistic and intelligent answers.

    To thread: This is NOT about "youtube" *@#&@ "youtube" its about the fact that many web designers are doing sites in all flash or with flash menus. Its more about general compatibility...

    One thing nobody mentioned is Zapek's flash work from vger what about that code? How did he do it?
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »19.03.09 - 03:49
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    One thing nobody mentioned is Zapek's flash work from vger what about that code? How did he do it?


    It's based on an ancient version of libflash (ie, the same as SWFPlayer and the iBrowse plugin, but theirs is slightly more recent), however this library is not very capable against most recent flash content (though it certainly has improved much since the Voyager era)...


    - CISC
  • »19.03.09 - 06:26
    Profile
  • Yokemate of Keyboards
    Yokemate of Keyboards
    magnetic
    Posts: 2129 from 2003/3/1
    From: Los Angeles
    CISC

    So where does that leave us for a natural direction to take to accomplish Flash on Morphos?
    Pegasos 2 Rev 2B3 w/ Freescale 7447 "G4" @ 1ghz / 1gb Nanya Ram
    Quad Boot: MorphOS 2.7 | Amiga OS4.1 U4 | Ubuntu PPC GNU/Linux | OS X 10.4
  • »20.03.09 - 02:22
    Profile Visit Website
  • MorphOS Developer
    CISC
    Posts: 619 from 2005/8/27
    From: the land with ...
    Quote:

    So where does that leave us for a natural direction to take to accomplish Flash on Morphos?


    You're screwed, better place your bets on Silverlight instead. :P


    - CISC
  • »20.03.09 - 06:15
    Profile