你可以用width和height
虽然没有最大化
但至少是全屏了

解决方案 »

  1.   

    function vidchangesize(setting) {
     var stopPressed=0; 
    //改变现在的状态到全屏幕的播放方式
    if (stopPressed==0) {
    if (setting==3){
    alert('您即将进入全屏幕的视频显示模式。\当影片播放完,或按 \'ESC\'键可以返回普通模式。'); 
    document.vid.SetFullScreen();
    document.vid2.SetFullScreen();
    }else{
    document.vidclip.DisplaySize = setting;
    }
    }                        }
    </script><span onclick="javascript:vidchangesize(3);"><font color=red>全屏播放,按ESC恢复</font></span>http://community.csdn.net/Expert/topic/2905/2905371.xml?temp=.1251795
    这个帖子上搬过来的
    呵呵
      

  2.   

    to  yiyioo(天一) 
    用width,height这个方法我试过了,可是它只改变边框大小,播放影片的大小还是没有变。
    至于你说的第二个方法,我在Mozilla下的mplayerPlug-in下也不行。 :(
      

  3.   

    试试这个呢
    document.getElementById("video").SetFullScreen();
      

  4.   

    to fangzhe()
    不行啊,mplayerplug-in里面的确有SetFullScreen()这个函数。但是它的javascript接口里面没有这个函数。
    以下是mplayerplug-in里面提供的javascript接口函数及属性:
    #include "nsISupports.idl"
    [scriptable, uuid(f728830e-1dd1-4444-6666-fb9f414f2465)]
    interface nsIScriptableWMPPlugin : nsISupports
    {
    void play();
    void pause();
    void stop();
    };[scriptable, uuid(f728830f-1dd1-4444-6666-fb9f414f2465)]
    interface nsIScriptableMplayerPlugin : nsISupports
    {
    void Play();
    void Pause();
    void Stop();
    void quit();
    void DoPlay();
    void DoPause();
    void FastForward();
    void FastReverse();
    void ff();
    void rew();
    void rewind();
    void Seek(in double value);
    void Open(in string filename);
    double getTime();
    double getDuration();
    double getPercent();
    attribute string filename;
    attribute boolean ShowControls;
    attribute boolean fullscreen;
    attribute boolean showlogo;
    readonly attribute long playState;
    readonly attribute nsIScriptableWMPPlugin controls;
    };
    ps:免费的东西就是不好啊  :(
      

  5.   

    唉,可能是mplayerplug-in本身有问题。
    算了,还是结贴吧 :(