none
Embed Windows media player help RRS feed

  • Question

  • I recently took on a new hobby and designed my own website for my business. A good friend of mine liked what he saw and asked if I would do the same for his company. Now mind you I am a lighting and staging designer so the only coding I know how to do is device definition language for dmx and moving light protocol.

    That being said my friend asked if I could put in a windows media player that would stream a series of video files that are in a folder on the root directory of the site. I got the basics down to embed a Youtube video but when it comes to the media player I am somewhat stumped.

    What I would like to do is have a windows media player that has a play list that the user can choose the selection they he/she would like to see and hear but also have all of the controls showing such as full screen, fast foward, pause , play list information, load as it plays from the site. I would also like for the player to be viewable for popular browsers and mobile devices.

    I do have a basic html code for a player (which I will list below ) but it is set to show only one video at a time and does not play in all browsers and now recently does not stream from the website. Can somene point me in the direction to a complete sample code that I can use as a reference point or help me with the coding I already have to make this work? 

      <div align="center"><id="Sponsors"><OBJECT ID="player" WIDTH=450 HEIGHT=450 classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112"
    standby="Loading Microsoft Windows Media Player components..."
    type="application/x-oleobject">
            <param name="FileName" value="http://elegant-transport.com/video/sponsors/ET.mp4">
            <param name="autoStart" value="false">
            <param name="EnableFullScreenControls" value="True">
            <param name="UIMode" value="full">
            <param name="ShowControls" value="True">
            <param name="Volume" value="1">
            <param name="ShowDisplay" value="false">
            <param name="ShowStatusBar" value="false">
            <param name="AutoSize" value="1">
            <Embed type="application/x-mplayer2"
            pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/Products/MediaPlayer/"
            filename="http://elegant-transport.com/video/sponsors/ET.mp4"
            src="http://elegant-transport.com/video/sponsors/ET.mp4"
            Name=player
            ShowControls="1"
            ShowDisplay="0"
            ShowStatusBar="0"
            autostart="0”>
            width=450
            height=450>
           </embed>
          </OBJECT></div>

    Thursday, August 9, 2012 9:19 PM

Answers

All replies