Webcam Corp.
Search Our Site with Google™
  Search   
  
  Store       Products       Downloads       Demo       Support       Partnership       Contact Us
  Software
   Network camera

   Video streaming

   Video surveillance


  Hardware
  Multi-Camera Remote
  Surveillance


  Video capture card


 How-to Guide






  Related Links
  Embedding Webcam
  ActiveX page
 



  

How to embed Windows Media™ player in a Web page

To embed Windows Media player in your web page, copy the following HTML code and change the IP address and video port. For example, if the IP address of Webcam 1-2-3, Watchdog or NetCamCenter is 70.1.1.1 and video port is 81. Then enter http://70.1.1.1:81

<OBJECT ID="player" WIDTH="320" HEIGHT="300" CLASSID="CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95">
STANDBY="Loading Windows Media Player components..."
TYPE="application/x-oleobject"
CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112">
<param name="filename" value="http://IP address:streaming port"> 
<param name="uimode" value="mini"> 
<param name="autoStart" value="1"> 
<PARAM NAME="showstatusbar" value="true">

<embed name="Player2" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" src="http://IP address:streaming port" WIDTH="320" HEIGHT="300" autostart="1" showcontrols="1" showstatusbar="1"></embed> 
</OBJECT>




All rights reserved.
All trademarks are owned by respective company.