有时候很不理解为什么红旗6不捆绑mplayer而红旗6捆绑了mplayer又不作为浏览器默认的播放器。我不喜欢红旗6自带的xine,感觉用它来播放媒体文件很神秘,你永远看不到它缓冲到了哪里,看不到有没有开始播放,不知道它能不能抓取到文件,更不知道它抓取文件的速度。有时候试听一首歌曲,网页打开了半天都不出声,想关吧又怕马上就要缓冲到了,不关吧又觉得是在浪费时间,好吧,当你正好按下关闭按钮准备放开的时候,响了``嘿``它就这么气你,你能咋地!所以说,我决定再也不伺候这主了。换了吧,还是用mplayer。其实mplayer早就在我计算机里安家了,只是没有给firefox的plugin,咋办呢?没乏,弄一个吧。于是乎,我就跋山涉水,翻山越岭的那个啥了~
先下个mplayerplug-in-3.05.tar.gz
我忘了3.05的是在哪里下的了,不过这里有个3.25的http://download.chinaunix.net/down.php?id=14171&ResourceID=7030&site=1
接着再搞个gecko-sdk-i686-pc-linux-gnu-1.8.0.4.tar.bz2
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.8.0.4/sdk/gecko-sdk-i686-pc-linux-gnu-1.8.0.4.tar.bz2
分别解压两个包。
得到mplayerplug-in和gecko-sdk两个目录
然后
cd mplayerplug-in
./configure --with-gecko-sdk=/path/to/gecko-sdk
这里的/path/to/gecko-sdk是你存放gecko-sdk目录的路径。例如,我是在/home/lacky/Downloads下解压gecko-sdk-i686-pc-linux-gnu-1.8.0.4.tar.bz2,因而我得到的qecko-sdk就在/home/lacky/Downloads下面,所以这里的./configure --with-gecko-sdk=/path/to/gecko-sdk就应该改为./configure --with-gecko-sdk=/home/lacky/Downloads/gecko-sdk
接着就很简单了
make
我发现在这里需要有点耐心用来等待~
好了,现在在mplayerplug-in目录下已经有了两个文件
mplayerplug-in.so
mplayerplug-in.xpt
最后
cp mplayerplug-in.so /usr/lib/firefox/plugins
cp mplayerplug-in.xpt /usr/lib/firefox/components
诶哟妈呀。可把我给累坏了,重新打开firefox吧!瞅一下,是不是在用mplayer播放!嘿嘿~
如果你用的不是firefox也没关系,只要你把mplayerplug-in.so拷贝到你所用浏览器的plugins目录下,mplayerplug-in.xpt拷贝到你所用浏览器下的components目录下即可。例如:
你用的是mozilla
cp mplayerplug-in.so /usr/lib/mozilla/plugins
cp mplayerplug-in.xpt /usr/lib/mozilla/components
或者你用的是netscape
cp mplayerplug-in.so /usr/lib/netscape/plugins
cp mplayerplug-in.xpt /usr/lib/netscape/components
甚至你用的是opera
cp mplayerplug-in.so /usr/lib/opera/plugins
cp mplayerplug-in.xpt /usr/lib/opera/components
要是你用的是IE
对不起,你来错地方了!嘿嘿
其他linux用法一样~
最后,提供一个我已经编译好了的给大家GOOD LUCK!
kpjmlql 于 2008-11-08 15:51:27发表:
晕,急哦,请问楼主,我输入MAKE命令后提示出错,怎么办呀??我后来干脆把你的下载解压放到目的地,打开FIREFOX听歌时只显示MPLAYER插件被调用了,进度条显示100%了,但听不了歌,没反应。
[root@localhost mplayerplug-in]# make
g++ -c -o plugin.o -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -I/root/My -I/root/My/include -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
In file included from include/pluginbase.h:41,
from Source/plugin.h:53,
from Source/plugin.cpp:37:
include/npplat.h:41:19: error: npapi.h: 没有那个文件或目录
include/npplat.h:42:19: error: npupp.h: 没有那个文件或目录
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:10:25: error: nsISupports.h: 没有那个文件或 目录
In file included from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsScriptablePeer.h:49:26: error: nsIClassInfo.h: 没有那个文件或目录
Source/plugin.cpp:38:31: error: nsIServiceManager.h: 没有那个文件或目录
Source/plugin.cpp:39:23: error: nsIMemory.h: 没有那个文件或目录
Source/plugin.cpp:40:74: error: nsISupportsUtils.h: 没有那个文件或目录
In file included from Source/plugin.h:53,
from Source/plugin.cpp:37:
include/pluginbase.h:45: error: ‘NPP’ does not name a type
include/pluginbase.h:46: error: ‘NPMIMEType’ does not name a type
include/pluginbase.h:47: error: ‘uint16’ does not name a type
include/pluginbase.h:48: error: ‘int16’ does not name a type
include/pluginbase.h:51: error: ISO C++ forbids declaration of ‘NPSavedData’ with no type
include/pluginbase.h:51: error: expected ‘;’ before ‘*’ token
include/pluginbase.h:59: error: ‘NPBool’ does not name a type
include/pluginbase.h:61: error: ‘NPBool’ does not name a type
include/pluginbase.h:65: error: ‘NPError’ does not name a type
include/pluginbase.h:66: error: ‘NPError’ does not name a type
include/pluginbase.h:68: error: ‘NPError’ does not name a type
include/pluginbase.h:69: error: ‘NPStream’ has not been declared
include/pluginbase.h:70: error: ‘int32’ does not name a type
include/pluginbase.h:71: error: ‘int32’ does not name a type
include/pluginbase.h:73: error: ‘NPPrint’ has not been declared
include/pluginbase.h:74: error: ‘uint16’ does not name a type
include/pluginbase.h:75: error: ‘NPReason’ has not been declared
include/pluginbase.h:77: error: ‘NPError’ does not name a type
include/pluginbase.h:78: error: ‘NPError’ does not name a type
include/pluginbase.h:88: error: ‘NPError’ does not name a type
include/pluginbase.h:93: error: ‘NPError’ does not name a type
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:25: error: expected class-name before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:28: error: expected identifier before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:28: error: expected `)' before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type
Source/nsIScriptableMplayerPlugin.h:28: error: expected unqualified-id before ‘)’ token
Source/nsIScriptableMplayerPlugin.h:34: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:37: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h: In member function ‘int nsIScriptableWMPPlugin::NS_DEFINE_STATIC_IID_ACCESSOR(int)’:
Source/nsIScriptableMplayerPlugin.h:28: warning: left-hand operand of comma has no effect
Source/nsIScriptableMplayerPlugin.h:28: warning: right-hand operand of comma has no effect
Source/nsIScriptableMplayerPlugin.h:28: error: expected primary-expression before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:28: error: expected `;' before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:28: warning: no return statement in function returning non-void
Source/nsIScriptableMplayerPlugin.h: At global scope:
Source/nsIScriptableMplayerPlugin.h:120: error: expected class-name before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:123: error: expected identifier before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:123: error: expected `)' before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type
Source/nsIScriptableMplayerPlugin.h:123: error: expected unqualified-id before ‘)’ token
Source/nsIScriptableMplayerPlugin.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:132: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:135: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:138: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:141: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:144: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:147: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:150: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:153: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:156: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:159: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:162: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:165: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:168: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:171: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:174: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:177: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:180: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:183: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:186: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:189: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:192: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:195: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:198: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:201: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:204: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:207: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:210: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:213: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:216: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:217: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:220: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:221: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:224: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:225: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:228: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:229: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:232: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h:235: error: ‘NS_IMETHOD’ does not name a type
Source/nsIScriptableMplayerPlugin.h: In member function ‘int nsIScriptableMplayerPlugin::NS_DEFINE_STATIC_IID_ACCESSOR(int)’:
Source/nsIScriptableMplayerPlugin.h:123: warning: left-hand operand of comma has no effect
Source/nsIScriptableMplayerPlugin.h:123: warning: right-hand operand of comma has no effect
Source/nsIScriptableMplayerPlugin.h:123: error: expected primary-expression before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:123: error: expected `;' before ‘{’ token
Source/nsIScriptableMplayerPlugin.h:123: warning: no return statement in function returning non-void
In file included from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsScriptablePeer.h: At global scope:
Source/nsScriptablePeer.h:56: error: expected class-name before ‘{’ token
Source/nsScriptablePeer.h:59: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:62: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:68: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:71: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:75: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:78: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:81: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:84: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:97: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:98: error: ‘nsrefcnt’ has not been declared
Source/nsScriptablePeer.h:98: error: ISO C++ forbids declaration of ‘NS_IMETHOD_’ with no type
Source/nsScriptablePeer.h:98: error: expected ‘;’ before ‘AddRef’
Source/nsScriptablePeer.h:99: error: ‘nsrefcnt’ has not been declared
Source/nsScriptablePeer.h:99: error: ISO C++ forbids declaration of ‘NS_IMETHOD_’ with no type
Source/nsScriptablePeer.h:99: error: expected ‘;’ before ‘Release’
Source/nsScriptablePeer.h:102: error: ‘nsrefcnt’ does not name a type
Source/nsScriptablePeer.h:106: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:106: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:106: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:120: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:121: error: ‘nsrefcnt’ has not been declared
Source/nsScriptablePeer.h:121: error: ISO C++ forbids declaration of ‘NS_IMETHOD_’ with no type
Source/nsScriptablePeer.h:121: error: expected ‘;’ before ‘AddRef’
Source/nsScriptablePeer.h:122: error: ‘nsrefcnt’ has not been declared
Source/nsScriptablePeer.h:122: error: ISO C++ forbids declaration of ‘NS_IMETHOD_’ with no type
Source/nsScriptablePeer.h:122: error: expected ‘;’ before ‘Release’
Source/nsScriptablePeer.h:125: error: ‘nsrefcnt’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
Source/nsScriptablePeer.h:129: error: ‘NS_IMETHOD’ does not name a type
In file included from Source/plugin.h:55,
from Source/plugin.cpp:37:
Source/plugin-setup.h:161: error: ‘NPError’ does not name a type
Source/plugin-setup.h:178: error: ‘NPP’ was not declared in this scope
Source/plugin-setup.h:178: error: expected primary-expression before ‘int’
Source/plugin-setup.h:178: error: expected primary-expression before ‘int’
Source/plugin-setup.h:178: error: initializer expression list treated as compound expression
In file included from Source/plugin.cpp:37:
Source/plugin.h:69: error: expected `)' before ‘aInstance’
Source/plugin.h:72: error: ‘NPBool’ does not name a type
Source/plugin.h:75: error: ‘NPBool’ does not name a type
Source/plugin.h:76: error: ‘NPError’ does not name a type
Source/plugin.h:78: error: ‘NPError’ does not name a type
Source/plugin.h:79: error: ‘NPError’ does not name a type
Source/plugin.h:80: error: ‘NPReason’ has not been declared
Source/plugin.h:81: error: ‘int32’ does not name a type
Source/plugin.h:82: error: ‘int32’ does not name a type
Source/plugin.h:93: error: ‘PRInt32’ has not been declared
Source/plugin.h:99: error: ‘PRBool’ has not been declared
Source/plugin.h:100: error: ‘PRBool’ has not been declared
Source/plugin.h:101: error: ‘PRBool’ has not been declared
Source/plugin.h:102: error: ‘PRBool’ has not been declared
Source/plugin.h:103: error: ‘PRBool’ has not been declared
Source/plugin.h:104: error: ‘PRBool’ has not been declared
Source/plugin.h:105: error: ‘PRBool’ has not been declared
Source/plugin.h:106: error: ‘PRBool’ has not been declared
Source/plugin.h:107: error: ‘PRBool’ has not been declared
Source/plugin.h:108: error: ‘PRBool’ has not been declared
Source/plugin.h:110: error: ‘PRBool’ has not been declared
Source/plugin.h:112: error: ‘PRBool’ has not been declared
Source/plugin.h:118: error: ‘NPError’ does not name a type
Source/plugin.h:124: error: ‘NPP’ does not name a type
Source/plugin.h:125: error: ‘NPBool’ does not name a type
Source/plugin.h:136: error: ‘uint16’ does not name a type
Source/plugin.h:137: error: ‘uint32’ does not name a type
Source/plugin.h:138: error: ‘uint32’ does not name a type
Source/plugin.h:139: error: ‘uint32’ does not name a type
Source/plugin.h:140: error: ‘uint32’ does not name a type
Source/plugin.h:141: error: ‘uint32’ does not name a type
Source/plugin.h:142: error: ‘uint32’ does not name a type
Source/plugin.h:170: error: ‘uint32’ does not name a type
Source/plugin.cpp:61: error: ‘int32’ does not name a type
Source/plugin.cpp:65: error: expected constructor, destructor, or type conversion before ‘*’ token
Source/plugin.cpp:76: error: ‘NPError’ does not name a type
Source/plugin.cpp:86: error: ‘NPError’ does not name a type
Source/plugin.cpp: In function ‘void NS_PluginShutdown()’:
Source/plugin.cpp:110: error: ‘gServiceManager’ was not declared in this scope
Source/plugin.cpp:110: error: ‘NS_IF_RELEASE’ was not declared in this scope
Source/plugin.cpp: In function ‘nsPluginInstanceBase* NS_NewPluginInstance(nsPluginCreateData*)’:
Source/plugin.cpp:125: error: ‘struct nsPluginCreateData’ has no member named ‘instance’
Source/plugin.cpp: At global scope:
Source/plugin.cpp:141: error: expected `)' before ‘aInstance’
Source/plugin.cpp: In destructor ‘virtual nsPluginInstance::~nsPluginInstance()’:
Source/plugin.cpp:344: error: ‘mInstance’ was not declared in this scope
Source/plugin.cpp:345: error: ‘mInitialized’ was not declared in this scope
Source/plugin.cpp:348: error: ‘class nsControlsScriptablePeer’ has no member named ‘Release’
Source/plugin.cpp:349: error: ‘NS_IF_RELEASE’ was not declared in this scope
Source/plugin.cpp:355: error: ‘NS_IF_RELEASE’ was not declared in this scope
Source/plugin.cpp: At global scope:
Source/plugin.cpp:360: error: ‘NPBool’ does not name a type
Source/plugin.cpp: In member function ‘virtual void nsPluginInstance::shut()’:
Source/plugin.cpp:377: error: ‘mInstance’ was not declared in this scope
Source/plugin.cpp:377: error: ‘NPN_GetURL’ was not declared in this scope
Source/plugin.cpp: In member function ‘void nsPluginInstance::shutdown()’:
Source/plugin.cpp:405: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:408: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:441: error: ‘mInitialized’ was not declared in this scope
Source/plugin.cpp:514: error: ‘free’ was not declared in this scope
Source/plugin.cpp:519: error: ‘free’ was not declared in this scope
Source/plugin.cpp:524: error: ‘free’ was not declared in this scope
Source/plugin.cpp:529: error: ‘free’ was not declared in this scope
Source/plugin.cpp:534: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:539: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:544: error: ‘free’ was not declared in this scope
Source/plugin.cpp:549: error: ‘free’ was not declared in this scope
Source/plugin.cpp:554: error: ‘free’ was not declared in this scope
Source/plugin.cpp:559: error: ‘free’ was not declared in this scope
Source/plugin.cpp:564: error: ‘free’ was not declared in this scope
Source/plugin.cpp:568: error: ‘nQtNext’ was not declared in this scope
Source/plugin.cpp:571: error: ‘free’ was not declared in this scope
Source/plugin.cpp:576: error: ‘free’ was not declared in this scope
Source/plugin.cpp:590: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:595: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:600: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:605: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:610: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp:615: error: ‘NPN_MemFree’ was not declared in this scope
Source/plugin.cpp: At global scope:
Source/plugin.cpp:655: error: ‘NPBool’ does not name a type
Source/plugin.cpp:660: error: ‘NPError’ does not name a type
Source/plugin.cpp:1256: error: ‘NPError’ does not name a type
Source/plugin.cpp:1286: error: ‘NPError’ does not name a type
Source/plugin.cpp:1562: error: ‘NPReason’ has not been declared
Source/plugin.cpp:1611: error: ‘int32’ does not name a type
Source/plugin.cpp:1756: error: ‘int32’ does not name a type
Source/plugin.cpp: In member function ‘void nsPluginInstance::Play()’:
Source/plugin.cpp:2084: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::Pause()’:
Source/plugin.cpp:2114: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::Stop()’:
Source/plugin.cpp:2134: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2136: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2146: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::Quit()’:
Source/plugin.cpp:2164: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2165: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastForward()’:
Source/plugin.cpp:2191: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2192: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2194: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastReverse()’:
Source/plugin.cpp:2218: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2219: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2221: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: In member function ‘void nsPluginInstance::Seek(double)’:
Source/plugin.cpp:2234: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp:2238: warning: deprecated conversion from string constant to ‘char*’
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2243: error: variable or field ‘GetPlayState’ declared void
Source/plugin.cpp:2243: error: ‘PRInt32’ was not declared in this scope
Source/plugin.cpp:2243: error: ‘playstate’ was not declared in this scope
Source/plugin.cpp: In member function ‘void nsPluginInstance::SetFilename(const char*)’:
Source/plugin.cpp:2323: error: ‘free’ was not declared in this scope
Source/plugin.cpp:2327: error: ‘free’ was not declared in this scope
Source/plugin.cpp:2340: error: ‘free’ was not declared in this scope
Source/plugin.cpp:2345: error: ‘free’ was not declared in this scope
Source/plugin.cpp:2350: error: ‘free’ was not declared in this scope
Source/plugin.cpp:2361: error: ‘mInstance’ was not declared in this scope
Source/plugin.cpp:2361: error: ‘NPN_GetURL’ was not declared in this scope
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2369: error: variable or field ‘GetShowControls’ declared void
Source/plugin.cpp:2369: error: ‘PRBool’ was not declared in this scope
Source/plugin.cpp:2369: error: ‘_retval’ was not declared in this scope
Source/plugin.cpp:2375: error: variable or field ‘SetShowControls’ declared void
Source/plugin.cpp:2375: error: ‘PRBool’ was not declared in this scope
make: *** [plugin.o] 错误 1
[root@localhost mplayerplug-in]#
kpjmlql 于 2008-11-08 15:30:08发表:
好样的,我想收藏,但下载不了,晕
liuronggui 于 2008-11-04 14:41:29发表:
红旗6工具盘里好像就有吧,我安装完工具盘,mplayer就在开始菜单中出现了
feelkill 于 2008-11-04 13:23:25发表:
:987w(1 学习了啊。我也试试
zixuan_gzs 于 2008-11-04 10:53:32发表:
好像带的是 readplay
welost 于 2008-11-04 10:45:25发表:
:0)1 :0w5ty(1 :0wpoi2 :0wl;l1 :0wmjh(1 (5ty(
dave_c 于 2008-10-31 10:08:12发表:
刚试了一下,安装之后没有什么变化啊。
[attach]10046[/attach]
是不是我用的FireFox 2.0.16的原因?这个插件是不是给FireFox3.0用的?
dave_c 于 2008-10-31 09:35:33发表:
谢谢,先留着,以后有用。
blackbat8 于 2008-10-31 08:21:58发表:
昨天装smplayer,结果需要Qt4.,花了我3个多小时编译Qt4.最后才把smplayer编译安装好
大师禅言 于 2008-10-30 22:12:31发表:
我装的是桌面版的。好像那里不带这个吧??有的话在哪里呢指点一下。谢谢
ruirui 于 2008-07-09 09:07:50发表:
红旗6下不自带mplaye吗?我那个装完后带了好多软件,基本上都没有下什么?
可能是我还不会用吧。。呵呵
w19870608 于 2008-07-07 21:28:53发表:
可看到了。。。。
ybhuwei 于 2008-02-01 22:09:10发表:
我也看过了!谢谢!
lacky 于 2008-01-25 12:17:06发表:
sp1和6都可以``作为浏览器播放需要是的是插件
ljb00355 于 2008-01-24 22:28:59发表:
是对SP1的吧?拜读了!
Magnate 于 2008-01-24 20:56:53发表:
支持
Lynghu 于 2008-01-24 17:51:26发表:
不错,拜读了