Summary of the method of Web page player realizing full screen

Source: Internet
Author: User

Web Player Full Screen method (a little gas, write less) This is their own summary, just want to finish when the point is wrong, resend, Lao Tze, the time to play the game, waste, here on Jerry!

1. Media Player Full-screen Method

<script language= "JavaScript" >
<!--

var real;
Real= ' MediaPlayer1. '
var Mute=false;
var cansetpos=true;
var Setposstart=false;
var Setvolstart=false;
var loop, timer, initialised;
var speed=50;
var oldwidth=566,oldheight=502;


function Dofull ()
{
Eval (real+ ' displaysize=3 ');
}


Netshowserver = "";

var mpath = netshowserver + "";


Function Loadvideo (c1,c2) {
 if (c1== "") return;
 video_filename = C1;

 musicplayer.cancel ()
 timer=window.settimeout ("Video_play ()", Watts)
}
Function Video_play (FN) {
 var mname = MPath + video_filename;
 musicplayer.open (mname)
}
   //-->
           </script>
          <td width= "39%" height= "1" bgcolor= "#E0E0E0" "
          <input type=" button "Onmousedown=" Dofull () "value=" full screen display "style=" Border-style:ridge; Border-width:1 ""
          <span lang= "en-US" >esc</ Span> returns </TD>
        </tr>
       </TABLE>
      </td>
    </tr>
     <tr>
      <td width= "100%"
      <p align= "center"

&lt;object id=mediaplayer1 classid=clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95 width=468 height=358&gt;


&lt;param name= "filename" value=/film/play.asp&gt;


&lt;param name= "AutoStart" value= "-1" &gt;


&lt;param name= "Enabled" value= "-1" &gt;


&lt;param name= "Showcontrols" value= "-1" &gt;


&lt;param name= "Showgotobar" value= "0" &gt;


&lt;param name= "ShowStatusBar" value= "-1" &gt;


&lt;param name= "enablefullscreencontrols" value= "0" &gt;


&lt;param name= "enablepositioncontrols" value= "0" &gt;


&lt;param name= "Volume" value= "0" &gt;


&lt;param name= "Displaysize" value= "4" &gt;


&lt;param name= "senderrorevents" value= "0" &gt;


&lt;param name= "Enablecontextmenu" value= "0" &gt;


&lt;param name= "Enabletracker" value= "-1" &gt;


&lt;param name= "Audiostream" value= "-1" &gt;


&lt;param name= "AutoSize" value= "0" &gt;


&lt;param name= "Animationatstart" value= "-1" &gt;


&lt;param name= "Allowscan" value= "-1" &gt;


&lt;param name= "allowchangedisplaysize" value= "-1" &gt;


&lt;param name= "autorewind" value= "0" &gt;


&lt;param name= "Balance" value= "0" &gt;


&lt;param name= "BaseURL" value&gt;


&lt;param name= "Bufferingtime" value= "5" &gt;


&lt;param name= "Captioningid" value&gt;


&lt;param name= "Clicktoplay" value= "-1" &gt;


&lt;param name= "CursorType" value= "0" &gt;


&lt;param name= "currentposition" value= "-1" &gt;


&lt;param name= "Currentmarker" value= "0" &gt;


&lt;param name= "Defaultframe" value&gt;


&lt;param name= "Displaybackcolor" value= "0" &gt;


&lt;param name= "Displayforecolor" value= "16777215" &gt;


&lt;param name= "DisplayMode" value= "0" &gt;


&lt;param name= "Invokeurls" value= "-1" &gt;


&lt;param name= "Language" value= "-1" &gt;


&lt;param name= "Mute" value= "0" &gt;


&lt;param name= "Playcount" value= "1" &gt;


&lt;param name= "PreviewMode" value= "0" &gt;


&lt;param name= "Rate" value= "1" &gt;


&lt;param name= "Samilang" value&gt;


&lt;param name= "Samistyle" value&gt;


&lt;param name= "Samifilename" value&gt;


&lt;param name= "SelectionStart" value= "-1" &gt;


&lt;param name= "Selectionend" value= "-1" &gt;


&lt;param name= "sendopenstatechangeevents" value= "-1" &gt;


&lt;param name= "sendwarningevents" value= "-1" &gt;


&lt;param name= "sendkeyboardevents" value= "0" &gt;


&AMP;NB

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.