[MPlayer-users] ANNOUNCE: mplayerplug-in v0.30

Kevin DeKorte kdekorte at yahoo.com
Sun Jan 19 16:44:55 CET 2003


This conversation really should be moved to 

mplayerplug-in-devel at lists.sourceforge.net

But I'll try to explain it...

Mozilla give the plugin either a URL or a STREAM depending on if the HTML 
specifies an <A HREF> or <EMBED> tag. The plugin takes the information that 
it is given and make some decisions. 

If it is a URL then the plugin calls mplayer to play the file out of the 
mozilla cache. Plugger test pages for example

If it is a stream, the plug requests the stream from Mozilla, gets the URL out 
of the stream and then closes the stream and passes the URL for mplayer to 
play.  Why is this done rather than passing the stream to mplayer? 

1. Because I don't want to have to deal with demuxing URL's to determine if 
they are reference or content files. If I did this, I might be able to queue 
up URL's, but that is not something I am willing to tackle yet. 

2. If I pass the stream to mplayer and it is a reference file, mplayer does 
not know where to get the referenced files from so it dies. If it is not a 
reference file I should be able to pass the stream to mplayer. Without 
demuxing it is impossible to get this right.

3. The wget examples were tests to see how mplayer would respond to reference 
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.html]
> 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ár 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
>
> =====
> Sylvain Petreolle
> spetreolle at users.sourceforge.net
> 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çais !
> 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



More information about the MPlayer-users mailing list