Jump to content

mplayer


Guest ump
 Share

Recommended Posts

I have mplayer installed and working but now i would like it to open files from within Mozilla like if I want to view a Movie Trailer that's in Quicktime I should be able to goto the site and click on the trailer and it should bring up mplayer and play the clip

 

I assume you cvan do this and thought I had seen mention of this somewhere but can't find it know.

 

thanks in advance

Link to comment
Share on other sites

followed instuctions and here is the output i get and error

 

ump@localhost ump]$ cd mplayerplug-in

[ump@localhost mplayerplug-in]$ make

gcc -c -g -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include -I. -I/usr/include Source/mplayerplug-in.c

cc1: warning: changing search order for system directory "/usr/include"

cc1: warning: as it has already been specified as a non-system directory

In file included from Source/mplayerplug-in.c:25:

include/npapi.h:129:22: X11/Xlib.h: No such file or directory

In file included from Source/mplayerplug-in.c:25:

include/npapi.h:148: parse error before "Display"

include/npapi.h:148: warning: no semicolon at end of struct or union

include/npapi.h:149: warning: data definition has no type or storage class

include/npapi.h:150: parse error before "colormap"

include/npapi.h:150: warning: data definition has no type or storage class

include/npapi.h:152: parse error before '}' token

include/npapi.h:152: warning: data definition has no type or storage class

Source/mplayerplug-in.c:33:22: X11/Xlib.h: No such file or directory

Source/mplayerplug-in.c:34:27: X11/Intrinsic.h: No such file or directory

Source/mplayerplug-in.c:35:28: X11/StringDefs.h: No such file or directory

Source/mplayerplug-in.c:62: parse error before "Widget"

Source/mplayerplug-in.c:62: warning: no semicolon at end of struct or union

Source/mplayerplug-in.c:63: warning: data definition has no type or storage class

Source/mplayerplug-in.c:64: parse error before "window"

Source/mplayerplug-in.c:64: warning: data definition has no type or storage class

Source/mplayerplug-in.c:87: parse error before '}' token

Source/mplayerplug-in.c:87: warning: data definition has no type or storage class

Source/mplayerplug-in.c:91: parse error before "w"

Source/mplayerplug-in.c:92: parse error before "w"

Source/mplayerplug-in.c:93: parse error before "widget"

Source/mplayerplug-in.c:94: parse error before "widget"

Source/mplayerplug-in.c: In function `NPP_New':

Source/mplayerplug-in.c:184: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:184: (Each undeclared identifier is reported only once

Source/mplayerplug-in.c:184: for each function it appears in.)

Source/mplayerplug-in.c:196: parse error before ')' token

Source/mplayerplug-in.c:205: `Window' undeclared (first use in this function)

Source/mplayerplug-in.c: In function `NPP_Destroy':

Source/mplayerplug-in.c:426: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:434: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_SetWindow':

Source/mplayerplug-in.c:455: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:456: `Widget' undeclared (first use in this function)

Source/mplayerplug-in.c:456: parse error before "netscape_widget"

Source/mplayerplug-in.c:457: `ws' undeclared (first use in this function)

Source/mplayerplug-in.c:468: parse error before ')' token

Source/mplayerplug-in.c:481: `Window' undeclared (first use in this function)

Source/mplayerplug-in.c:481: parse error before "window"

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:489: `ws' used prior to declaration

Source/mplayerplug-in.c:489: parse error before ')' token

Source/mplayerplug-in.c:491: `Display' undeclared here (not in a function)

Source/mplayerplug-in.c:491: parse error before ')' token

Source/mplayerplug-in.c:493: parse error before '(' token

Source/mplayerplug-in.c:514: parse error before '->' token

Source/mplayerplug-in.c: In function `NPP_URLNotify':

Source/mplayerplug-in.c:526: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:533: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_NewStream':

Source/mplayerplug-in.c:548: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:553: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_WriteReady':

Source/mplayerplug-in.c:605: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:607: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_Write':

Source/mplayerplug-in.c:639: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:644: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_DestroyStream':

Source/mplayerplug-in.c:676: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:681: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_StreamAsFile':

Source/mplayerplug-in.c:696: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:704: parse error before ')' token

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:743: parse error before "widget"

Source/mplayerplug-in.c: In function `DestroyCB':

Source/mplayerplug-in.c:745: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:745: parse error before ')' token

Source/mplayerplug-in.c:751: `call_data' undeclared (first use in this function)

Source/mplayerplug-in.c:757: `widget' undeclared (first use in this function)

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:801: parse error before "w"

Source/mplayerplug-in.c: In function `Redraw':

Source/mplayerplug-in.c:805: `GC' undeclared (first use in this function)

Source/mplayerplug-in.c:805: parse error before "gc"

Source/mplayerplug-in.c:811: `XGCValues' undeclared (first use in this function)

Source/mplayerplug-in.c:811: parse error before "gcv"

Source/mplayerplug-in.c:818: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:820: `instance' undeclared (first use in this function)

Source/mplayerplug-in.c:826: parse error before ')' token

Source/mplayerplug-in.c:837: `event' undeclared (first use in this function)

Source/mplayerplug-in.c:846: `w' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `XtNbackground' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `gcv' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `XtNforeground' undeclared (first use in this function)

Source/mplayerplug-in.c:867: `gc' undeclared (first use in this function)

Source/mplayerplug-in.c:867: `Display' undeclared (first use in this function)

Source/mplayerplug-in.c:867: parse error before ')' token

Source/mplayerplug-in.c:868: parse error before ')' token

Source/mplayerplug-in.c:869: parse error before ')' token

Source/mplayerplug-in.c:870: parse error before ')' token

Source/mplayerplug-in.c:943: warning: assignment makes pointer from integer without a cast

Source/mplayerplug-in.c:1021: warning: assignment makes pointer from integer without a cast

Source/mplayerplug-in.c:1026: warning: assignment makes pointer from integer without a cast

make: *** [mplayerplug-in.o] Error 1

[ump@localhost mplayerplug-in]$

 

any ideas

Link to comment
Share on other sites

This is the same problem i had when i tryed to compile it for myself

 

followed instuctions and here is the output i get and error

 

ump@localhost ump]$ cd mplayerplug-in

[ump@localhost mplayerplug-in]$ make

gcc -c -g -DXP_UNIX -Iinclude -ISource/_gen -I/usr/X11R6/include -I. -I/usr/include Source/mplayerplug-in.c

cc1: warning: changing search order for system directory "/usr/include"

cc1: warning:   as it has already been specified as a non-system directory

In file included from Source/mplayerplug-in.c:25:

include/npapi.h:129:22: X11/Xlib.h: No such file or directory

In file included from Source/mplayerplug-in.c:25:

include/npapi.h:148: parse error before "Display"

include/npapi.h:148: warning: no semicolon at end of struct or union

include/npapi.h:149: warning: data definition has no type or storage class

include/npapi.h:150: parse error before "colormap"

include/npapi.h:150: warning: data definition has no type or storage class

include/npapi.h:152: parse error before '}' token

include/npapi.h:152: warning: data definition has no type or storage class

Source/mplayerplug-in.c:33:22: X11/Xlib.h: No such file or directory

Source/mplayerplug-in.c:34:27: X11/Intrinsic.h: No such file or directory

Source/mplayerplug-in.c:35:28: X11/StringDefs.h: No such file or directory

Source/mplayerplug-in.c:62: parse error before "Widget"

Source/mplayerplug-in.c:62: warning: no semicolon at end of struct or union

Source/mplayerplug-in.c:63: warning: data definition has no type or storage class

Source/mplayerplug-in.c:64: parse error before "window"

Source/mplayerplug-in.c:64: warning: data definition has no type or storage class

Source/mplayerplug-in.c:87: parse error before '}' token

Source/mplayerplug-in.c:87: warning: data definition has no type or storage class

Source/mplayerplug-in.c:91: parse error before "w"

Source/mplayerplug-in.c:92: parse error before "w"

Source/mplayerplug-in.c:93: parse error before "widget"

Source/mplayerplug-in.c:94: parse error before "widget"

Source/mplayerplug-in.c: In function `NPP_New':

Source/mplayerplug-in.c:184: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:184: (Each undeclared identifier is reported only once

Source/mplayerplug-in.c:184: for each function it appears in.)

Source/mplayerplug-in.c:196: parse error before ')' token

Source/mplayerplug-in.c:205: `Window' undeclared (first use in this function)

Source/mplayerplug-in.c: In function `NPP_Destroy':

Source/mplayerplug-in.c:426: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:434: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_SetWindow':

Source/mplayerplug-in.c:455: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:456: `Widget' undeclared (first use in this function)

Source/mplayerplug-in.c:456: parse error before "netscape_widget"

Source/mplayerplug-in.c:457: `ws' undeclared (first use in this function)

Source/mplayerplug-in.c:468: parse error before ')' token

Source/mplayerplug-in.c:481: `Window' undeclared (first use in this function)

Source/mplayerplug-in.c:481: parse error before "window"

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:489: `ws' used prior to declaration

Source/mplayerplug-in.c:489: parse error before ')' token

Source/mplayerplug-in.c:491: `Display' undeclared here (not in a function)

Source/mplayerplug-in.c:491: parse error before ')' token

Source/mplayerplug-in.c:493: parse error before '(' token

Source/mplayerplug-in.c:514: parse error before '->' token

Source/mplayerplug-in.c: In function `NPP_URLNotify':

Source/mplayerplug-in.c:526: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:533: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_NewStream':

Source/mplayerplug-in.c:548: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:553: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_WriteReady':

Source/mplayerplug-in.c:605: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:607: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_Write':

Source/mplayerplug-in.c:639: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:644: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_DestroyStream':

Source/mplayerplug-in.c:676: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:681: parse error before ')' token

Source/mplayerplug-in.c: In function `NPP_StreamAsFile':

Source/mplayerplug-in.c:696: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:704: parse error before ')' token

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:743: parse error before "widget"

Source/mplayerplug-in.c: In function `DestroyCB':

Source/mplayerplug-in.c:745: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:745: parse error before ')' token

Source/mplayerplug-in.c:751: `call_data' undeclared (first use in this function)

Source/mplayerplug-in.c:757: `widget' undeclared (first use in this function)

Source/mplayerplug-in.c: At top level:

Source/mplayerplug-in.c:801: parse error before "w"

Source/mplayerplug-in.c: In function `Redraw':

Source/mplayerplug-in.c:805: `GC' undeclared (first use in this function)

Source/mplayerplug-in.c:805: parse error before "gc"

Source/mplayerplug-in.c:811: `XGCValues' undeclared (first use in this function)

Source/mplayerplug-in.c:811: parse error before "gcv"

Source/mplayerplug-in.c:818: `This' undeclared (first use in this function)

Source/mplayerplug-in.c:820: `instance' undeclared (first use in this function)

Source/mplayerplug-in.c:826: parse error before ')' token

Source/mplayerplug-in.c:837: `event' undeclared (first use in this function)

Source/mplayerplug-in.c:846: `w' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `XtNbackground' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `gcv' undeclared (first use in this function)

Source/mplayerplug-in.c:866: `XtNforeground' undeclared (first use in this function)

Source/mplayerplug-in.c:867: `gc' undeclared (first use in this function)

Source/mplayerplug-in.c:867: `Display' undeclared (first use in this function)

Source/mplayerplug-in.c:867: parse error before ')' token

Source/mplayerplug-in.c:868: parse error before ')' token

Source/mplayerplug-in.c:869: parse error before ')' token

Source/mplayerplug-in.c:870: parse error before ')' token

Source/mplayerplug-in.c:943: warning: assignment makes pointer from integer without a cast

Source/mplayerplug-in.c:1021: warning: assignment makes pointer from integer without a cast

Source/mplayerplug-in.c:1026: warning: assignment makes pointer from integer without a cast

make: *** [mplayerplug-in.o] Error 1

[ump@localhost mplayerplug-in]$

 

any ideas

Link to comment
Share on other sites

Well, I couldn't reproduce those errors. I just downloaded the source, and got no compiler errors. Are you sure you have all the dependencies installed?

 

BTW, the plugin works GREAT!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...