Re: Passing arguments to mplayer(plugin)

Kevin DeKorte <[email protected]> Mon, 09 Feb 2009 06:44:13 -0700
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Over wrote:
> Is it possible or are there plans to make it possible to
> pass arguments to mplayer(plugin). I'm looking for a way
> to start the playing at time1 and end at time2, e.g., by
> using mplayer's -ss and -endpos parameters.
> 
> - Paul

Paul,

There is a 'starttime' argument that you can pass that starts the media
with the -ss option. There is not 'endtime' option, but you could do
something in javascript with the getDuration() method and then use stop
or quit when you reach where you want to end the file.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org

iEYEARECAAYFAkmQMy0ACgkQ6w2kMH0L1dEPgACggv5DWUz966G4XY8/SDmr8qQy
ChUAn0hAiJnkAcfNAJxetsAe5GRL80Zw
=Ifrq
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com