| 6.X  대  버전은  또  틀리므로..  msdn  사이트를  참고하기  바란다.http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/detailedobjectmodelcomparison.asp
 
 <script>
 function  fullscreen()  {
 alert("기존  화면으로  돌아가시려면  키보드  좌측상단의  [Esc]를  눌러주십시오");
 if(window.MediaPlayer.playstate  ==  3)
 window.MediaPlayer.fullscreen  =  'true';
 }
 
 //전체화면보기  버튼을  이미지로  구성할때  주의해야한다..
 //href태그에다  스크립트  함수를  넣으면  원하는  화면이  안되는  ..
 //이것땜에  한참  헤맸슴
 <a  HREF="#"  onclick="javascript:fullscreen();"><img  src="/img/icon_fullsize.gif"  border="0"></a>
 
 <OBJECT  ID="MediaPlayer"  CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"  width=450  height=300>
 <PARAM  NAME="url"  value="http://222.112.187.32:9090/picture/blue/2003_0915/dscf0056.wmv">
 <param  name="enableContextMenu"  value="true">  //마우스  오른쪽  버튼으로  컨트롤  할수있는걸  막는다
 <param  name="enabled"  value="true">  //컨트롤  박스의  재생  정지등을  컨트롤할수  없게  한다.
 <param  name="fullscreen"  value="false">  //화면을  풀스크린으로  해준다.  enableContextMenu가  true되어있어야  한다.
 <param  name="uiMode"  value="full">
 </OBJECT>
 
 
 윈도우  미디어  7.X  버전
 clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95
 
 윈도우  미디어  플레이어  9.X  버전
 CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6
 
 ###  playState메소드
 Value  State  Description
 0  Undefined  Windows  Media  Player  is  in  an  undefined  state.
 
 1  Stopped  Playback  of  the  current  media  clip  is  stopped.
 
 2  Paused  Playback  of  the  current  media  clip  is  paused.  When  media  is
 paused,  resuming  playback  begins  from  the  same  location.
 
 3  Playing  The  current  media  clip  is  playing.
 
 4  ScanForward  The  current  media  clip  is  fast  forwarding.
 
 5  ScanReverse  The  current  media  clip  is  fast  rewinding.
 
 6  Buffering  The  current  media  clip  is  getting  additional  data  from  the
 server.
 
 7  Waiting  Connection  is  established,  however  the  server  is  not  sending
 bits.  Waiting  for  session  to  begin.
 
 8  MediaEnded  Media  has  completed  playback  and  is  at  its  end.
 
 9  Transitioning  Preparing  new  media.
 
 10  Ready  Ready  to  begin  playing.
 
 11  Reconnecting  Reconnecting  to  stream.
 
 ###  uiMode  메소드
 -  invisible  :  Player  is  embedded  without  any  visible  user  interface
 (controls,  video  or  visualization  window).  (Nothing  is  displayed)  (Nothing
 is  displayed)
 
 -  none  :  Player  is  embedded  without  controls,  and  with  only  the  video  or
 visualization  window  displayed.
 
 -  mini  :  Player  is  embedded  with  the  status  window,  play/pause,  stop,
 mute,  and  volume  controls  shown  in  addition  to  the  video  or  visualization
 window.
 
 -  full  :  Default.  Player  is  embedded  with  the  status  window,  seek  bar,
 play/pause,  stop,  mute,  next,  previous,  fast  forward,  fast  reverse,  and
 volume  controls  in  addition  to  the  video  or  visualization  window.
 
 -  custom  :  Player  is  embedded  with  a  custom  user  interface.  Can  only  be
 used  in  C++  programs.
 
 
 
 
	
		날짜: 2003-09-16 15:54:50,
	조회수: 7932	 |