1.I used mplayerplugin 3.54 & firefox 1.0.4 & FC 4.
Web page use JS call plugin.BTW,I must use firefox (1.0.4) for project limit.

2.first use fullscree=0 and embeded video window ok,then change to fullscreen=1,
fullscreen video window still ok,but when I get back to original size by fullscreen=0.
video window were not same as orginal.I paste two screen shot picture and some debug infomation.
http://photo.163.com/photos/ryanyee/134254043/3699124072/
http://photo.163.com/photos/ryanyee/134254043/3699124072/#3699123746
the wrong video window has a offset to the original window,as you can see on the screen shot.

I have try to add the offset to these code:SetFullscreen()@plugin.cpp
Line 2775:
if (dontparent == 0) {
            XReparentWindow(GDK_WINDOW_XDISPLAY
                    (gtkwidget->window),
                    GDK_WINDOW_XWINDOW(gtkwidget->
                               window), window,
                    0, 0); //6,88
                   
Line 2790:
gtk_window_move(GTK_WINDOW(gtkwidget), 0, 0);        //6,88
cause my embeded window has offset (6,88) in web page.but still no effort.

these are debug infomation
No media cache is set to 1 in conf file
wmp:1
qt:1
rm:1
gmp:1
mp3:1
ogg:1
midi:0
pls:1
smil:1
helix:1
No media cache is set to 1 in conf file
mimetype: video/mp4
Embedded mode
Argument Name: type
Argument Value: video/mp4
Argument Name: name
Argument Value: video1
Argument Name: autoplay
Argument Value: yes
in lowercase
argv[i]=yes
autostart=1
Argument Name: loop
Argument Value: no
in lowercase
argv[i]=no
loop=-1
Argument Name: src
Argument Value: /home/myvideo/jixiangsanbao_mpeg2_5Mb_720x576.mpg
Argument Name: height
Argument Value: 222
Argument Name: width
Argument Value: 448
*****SetWindow Callback Enter************
New window! old: 0x0    new 0x46137632
Size: 6 88 0x2c00120
Size: 448x222
Checking if DPMS is enabled
DPMS is enabled = 1
setting window size
menus built
resizing widgets to 448 x 222
resize is complete
***********SetWindow Callback Exit**************
*****SetWindow Callback Enter************
back in SetWindow
New Size: 448x222
Current state is 4
isMms = false
url = /home/myvideo/jixiangsanbao_mpeg2_5Mb_720x576.mpg
resizing widgets to 448 x 222
resize is complete
***********SetWindow Callback Exit**************
Starting: mplayer -wid 0x2c00126 -vf scale=448:-3 -vo x11 -zoom -ao oss -autosync 1 -osdlevel 1 -nojoystick -noconsolecontrols -cookies -slave -user-agent NSPlayer -nomouseinput /home/myvideo/jixiangsanbao_mpeg2_5Mb_720x576.mpg
in sendcommand - command get_time_length
Getting file mode flags
READ: Using GNU internationalization
 
READ: Original domain: messages
 
READ: Original dirname: /usr/share/locale
 
READ: Current domain: mplayer
 
READ: Current dirname: /usr/mplayer/share/locale
 
READ:
 
READ: MPlayer 1.0pre5-4.0.0 (C) 2000-2004 MPlayer Team
 
READ:
 

In keyboard_callback with 102
fs_callback clicked
in SetFullscreen with 0
fullscreen = 1
height = 222 and width = 448
SetFullscreen returning to original size
in SetFullscreen with 0
fullscreen = 0
height = 222 and width = 448
SetFullscreen doing nothing
sending pause
in sendcommand - command pause

pause clickd
*****Play Called
Play: sending play
in sendcommand - command pause

play clickd
***********Exiting Play*************
shut called
shutdown called
in sendcommand - command quit

in killmplayer
in sendcommand - command quit

Trying to kill mplayer process(16123), if it still exists
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
waiting for player to go NULL
closing player
closing control pipe
player should be closed
kill(15) status = 0
DPMS is enabled
mplayer dead
Window Cleaned up
DPMS is enabled
Entering deleteList
DELETE /home/myvideo/jixiangsanbao_mpeg2_5Mb_720x576.mpg
File to delete
size: 0
remove: 1
play: 1
played: 0
playlist: 0
speed: -1
cancelled: 0
retrieved: 0
entry: -1
mms stream: 1
cache bytes: 0
Actual Size: 448x358
Play Size: 477x358
memory free
destorying pthread attrs, mutexes and conds
thread_attr destroyed
playlist_mutex destroyed
playlist_cond_mutex destroyed
control_mutex destroyed
read_mutex destroyed
playlist_complete_cond destroyed
~nsPluginInstance called


--
RyanYee/Ҷ
How many roads must a man walk down before
you can call him a Man?How many years can
some people exist before They're allowed to
be free?the answer is Blowing in the wind...
     ----<blowing in the wind>