Back to Top

Shoutcast streaming hosting Radio Stations and tv Stations Shoutcast Icecast host on Cast control and Centova panel Ices Sc_trans Transcoder Radio Stations and tv Stations

Shoutcast streaming hosting Centova cast and Cast control panel icecast servers flash hosting- Live streaming Live Cam Autodj Relay Ondemand instant online

Displaying 1 to 6 (of 6 specials)
Result Pages:  1 

Home page > How To " Embedded player " --

.

  1. Embedded player for video
  2. Embedded player for audio
  3. Object Code Description
  4. Centova panel
  5. Cast Control
  6. Shoutcast Docs
  7. Panel Screenshot

.

  • 1. Embedded player for video

    The MediaPlayer code below can be included in a Html and Php code

    -------------------------------------------------------

    <table width="326" height="270" border="0" align="center">
    <tr>
    <td><OBJECT classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
    type="application/x-oleobject" WIDTH=400 HEIGHT=320 align="absmiddle"
    standby="Loading ...." ID="NSPlay">
    <PARAM NAME="FileName" VALUE="mms://Your_media_server/the_media_file">
    <PARAM NAME="ShowControls" VALUE="1">
    <PARAM NAME="ShowDisplay" VALUE="0">
    <PARAM NAME="ShowStatusBar" VALUE="1">
    <PARAM NAME="AutoSize" VALUE="1">
    <Embed
    src="tv/Streaming.asx"
    width=400
    height=320 align="absmiddle" type="application/x-mplayer2"
    pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
    filename="mms://Your_media_server/the_media_file"
    ShowControls=1
    ShowDisplay=0
    ShowStatusBar=0 autosize="1"></embed>
    </OBJECT>
    &nbsp;</td>
    </tr>
    </table>

    -------------------------------------------------------

    Top

    2. Embedded player for audio with a shoutcast server

    .

    .

    The code below can be included in a Html and Php code

    Note: For a windows media server use a " mms:// "

    .

    -------------------------------------------------------

    <div id="Layer1" style="position:absolute; width:200px; height:115px; z-index:1; left: 151px; top: 22px;">
    <p align="center">
    <embed
    src="http://XX.world-stream.net:8000" width="299" height="51" autostart="True" align="absmiddle"
    style="LEFT: 214px; WIDTH: 301px; POSITION: absolute; TOP: 437px; HEIGHT: 57px"
    name="Your Station Name"
    pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
    type="video/x-ms-asf-plugin" showdisplay="0" showtracker="0" showstatusbar="1"
    showcontrols="1"></embed>
    <img src="splash.jpg" width="720" height="480" /></p>
    <p align="right" class="Style1">Powered by<a href="http://world-stream.net" target="_blank"> world-stream.net </a></p>
    </div>

-------------------------------------------------------

Top

Below the Object Description

.

Code Parameters Description
obj.Settings.autoStart true Specifies or retrieves a value indicating whether the current media item begins playing automatically.
obj.Settings.baseURL Specifies the base URL used for relative path resolution with URL script commands that are embedded in media items.
ClosedCaption.captioningID 0 Specifies the name of the element displaying the captioning.
obj.Controls.currentMarker 0 Specifies the current marker number.
obj.Controls.currentPosition 0 Specifies the current position in the media item in seconds.
obj.Settings.defaultFrame - Specifies the name of the frame used to display a URL.
obj.enableContextMenu true Specifies a value indicating whether to enable the context menu, which appears when the right mouse button is clicked.
obj.enabled false Specifies whether the Windows Media Player control is enabled.
obj.fullScreen false Specifies whether video content is played back in full-screen mode.
obj.Settings.invokeURLs true Specifies a value indicating whether URL events should launch a Web browser.
obj.Settings.mute false Specifies if audio is muted.
obj.Settings.PlayCount 1 Specifies the number of times a media item will play. Minimum value of one.
obj.Settings.rate 1.0 Specifies the playback rate.
0.5 equates to half the normal playback speed, 2 equates to twice.
obj.stretchToFit false Specifies whether video displayed by the control automatically sizes to fit the video window, when the video window is larger than the dimensions of the video image.
obj.uiMode full Specifies which controls are shown in the user interface.
Possible values: invisible, none, mini, full.
obj.URL - Specifies the name of the media item to play.
You can specify a local filename or a URL.
obj.Settings.volume Last setting Zero specifies no volume and 100 specifies full volume.
obj.Settings.balance false Set balance between left and right speakers. 0 is egual, -100 is full left and 100 is full right.
obj.windowlessVideo false Specifies or retrieves a value indicating whether the Windows Media Player control renders video in windowless mode.
When windowlessVideo is set to true, the Player control renders video directly in the client area, so you can apply special effects or layer the video with text.
Supported by Windows Media Player for Windows XP or later.

.

 

Top


.

 

Displaying 1 to 6 (of 6 specials)
Result Pages:  1