[Mplayerplug-in-devel] Re: [MPlayer-users] ANNOUNCE: mplayerplug-in v0.30
Brought to you by:
kdekorte
|
From: Kevin D. <kde...@ya...> - 2003-01-19 15:43:50
|
This conversation really should be moved to=20
mpl...@li...
But I'll try to explain it...
Mozilla give the plugin either a URL or a STREAM depending on if the HTML=
=20
specifies an <A HREF> or <EMBED> tag. The plugin takes the information th=
at=20
it is given and make some decisions.=20
If it is a URL then the plugin calls mplayer to play the file out of the=20
mozilla cache. Plugger test pages for example
If it is a stream, the plug requests the stream from Mozilla, gets the UR=
L out=20
of the stream and then closes the stream and passes the URL for mplayer t=
o=20
play. Why is this done rather than passing the stream to mplayer?=20
1. Because I don't want to have to deal with demuxing URL's to determine =
if=20
they are reference or content files. If I did this, I might be able to qu=
eue=20
up URL's, but that is not something I am willing to tackle yet.=20
2. If I pass the stream to mplayer and it is a reference file, mplayer do=
es=20
not know where to get the referenced files from so it dies. If it is not =
a=20
reference file I should be able to pass the stream to mplayer. Without=20
demuxing it is impossible to get this right.
3. The wget examples were tests to see how mplayer would respond to refer=
ence=20
files coming from stdin.
Kevin
On Sunday 19 January 2003 08:19, Sylvain Petreolle wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.htm=
l]
> I dont know at the moment, but we should install the mozilla-devel
> package to do it.
> this is normally required to develop plug-ins.
>
> > Hi!
> > But can you tell netscape to go to an other url from the current one?
> >
> > On 2003. janu=C3=A1r 19. 15:55, Sylvain Petreolle wrote:
> > > [Automatic answer: RTFM (read DOCS, FAQ), also read
> >
> > DOCS/bugreports.html]
> >
> > > why use external commands ? let the browser do the work...
> > >
> > > > wget -O- {URL} | mplayer -stdin or something like that
> >
> > bye
> > Denes
> >
> > _______________________________________________
> > RTFM!!! http://www.MPlayerHQ.hu/DOCS
> > Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> > http://mplayerhq.hu/mailman/listinfo/mplayer-users
>
> =3D=3D=3D=3D=3D
> Sylvain Petreolle
> spe...@us...
> Fight against Spam ! http://www.euro.cauce.org/en/index.html
> ICQ #170597259
>
> "Don't think you are. Know you are." Morpheus, in "Matrix".
>
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran=C3=A7ais !
> Yahoo! Mail : http://fr.mail.yahoo.com
>
> _______________________________________________
> RTFM!!! http://www.MPlayerHQ.hu/DOCS
> Search: http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users
|