How to create a simulated live broadcast with Windows Media Services

September 28th, 2007

This article details the steps needed to create a looping collection of videos with WMS. With this feature, a viewer can “tap” into whatever video happens to be playing at any given moment. GravityLab Multimedia provides this capability for users with all video streaming accounts.

Steps to Set Up a Server-Side Play List

  1. Create Windows Media content and place it in the ASFROOT folder on the Windows Media Services server.
  2. Open the Windows Media Administrator.
  3. From the left side of the Administrator, select Unicast Publishing Points.
  4. In the Broadcast Unicast Publishing Points section, clear the use wizard option. Click Broadcast, and then choose New.
  5. For alias name, type a descriptive name.

How to embed Windows Media Player into an HTML document

September 6th, 2007

To embed an object into an HTML document, the object class ID is required. The class ID for Windows Media Player 7, 9, 10 and 11 is clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6.

Insert the following code into your HTML document to embed Windows Media Player 7 and later:



Parameter Default Description
autoStart true Specifies or retrieves a value indicating whether the current media item begins playing automatically.
balance 0 Specifies the current stereo balance.
Values range from –100 to 100.
baseURL Specifies the base URL used for relative path resolution with URL script commands that are embedded in media items.
captioningID 0 Specifies the name of the element displaying the captioning.