gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: [Gnash-dev] Youtube support thoughts]


From: strk
Subject: Re: address@hidden: [Gnash-dev] Youtube support thoughts]
Date: Thu, 1 Apr 2010 22:50:39 +0200

On Thu, Apr 01, 2010 at 01:29:40PM -0700, Geoff Stearns wrote:

> I don't want to just search for "Gnash" and forever banish you to the depths
> of as2 :)

Good point.

> We currently check for version 9 + a specific version of the sony player
> build, so I could continue to enforce the version 9 check.
> 
> So the logic would be:
> 
> if (playerMajorVersion == 9 && playerDescription.indexOf("Gnash") > -1) {
>   // restrict to as2
> }

Problem is last release of Gnash (0.8.7) already advertises major 10.

What about adding an explicit .canPlayAVM2() function ?
We could add an AVM2 string in plugin description
whenever we'll support that, and having 'Gnash' but no 'AVM2' would
mean no AVM2 support.

BTW, I've seen one of the functions was also returning whether
h.264 is supported by player. I think gnash does support h.264 as
long as the ffmpeg or gstreamer media handler support it (could
be another candidate label to add to the plugin description).

--strk;


> 
> 
> 
> On Thu, Apr 1, 2010 at 1:14 PM, strk <address@hidden> wrote:
> 
> > On Thu, Apr 01, 2010 at 01:03:16PM -0700, Geoff Stearns wrote:
> > > I believe the canPlayV9Swf() was created for a specific sony device that
> > is
> > > similar to your needs: it advertised itself as a v9 player, but it can't
> > > play as3 swfs.
> > >
> > > Do you guys use the same plugin description as the "real" flash player?
> > If
> > > there's something we can look for in JS then we should be able to add you
> > to
> > > the list of things that need the as2 player.
> >
> > The default plugin description has both a "compatibility" string
> > intended to work with flash detection packages out there _and_
> > gnash specific version. It looks like this:
> >
> > <<
> > Shockwave Flash 9.0 r0.
> > Gnash trunk, the GNU SWF Player. Copyright (C) 2006, 2007, 2008, 2009, 2010
> > Free Software Foundation, Inc.
> > Gnash comes with NO WARRANTY, to the extent permitted by law. You may
> > redistribute copies of Gnash under the terms of the GNU General Public
> > License. For more information about Gnash, see
> > http://www.gnu.org/software/gnash.
> > Compatible Shockwave Flash 9.0 r0.
> > >>
> >
> > As you can see the _first_ and _last_ lines have the
> > compatibility stuff.
> > The second line starts with 'Gnash' followed by a release
> > version ('trunk' in this case but normally something like 0.8.7).
> > Then comes copyright notice and link.
> >
> > It would be great if you could detect that, should be as simple
> > as looking for 'Gnash' in the whole description.
> >
> > > Do you have plans to support as3 at some point? We have been moving
> > heavily
> > > into as3 and hope to only keep a bare minimum feature set for as2 at some
> > > time in the near future. (just as fyi).
> >
> > It's an hard work to get there really. Hopefully "at some point"
> > someone will show up with funds or time to complete it :/
> >
> > --strk;
> >
> >  ()   Free GIS & Flash consultant/developer
> >  /\   http://strk.keybit.net/services.html
> >

-- 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]