how to embed WMA

Discussion in 'Graphics & Multimedia' started by maverickchen, Oct 25, 2009.

  1. #1
    hi guys,,
    wan to know if anyone know how to embed this kind of file on web page

    mms://url.com/filetype.wma

    and once the user click on an button image it can play the songs and click again, the song will stop.. any idea? :confused:
     
    maverickchen, Oct 25, 2009 IP
  2. aap

    aap Well-Known Member

    Messages:
    1,802
    Likes Received:
    39
    Best Answers:
    2
    Trophy Points:
    120
    #2
    you can use code something like this.

    
    <OBJECT ID="MediaPlayer" WIDTH="192" HEIGHT="190" CLASSID="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    STANDBY="Loading Windows Media Player components..." TYPE="application/x-oleobject">
    <PARAM NAME="FileName" VALUE="videofilename.wmv">
    <PARAM name="autostart" VALUE="false">
    <PARAM name="ShowControls" VALUE="true">
    <param name="ShowStatusBar" value="false">
    <PARAM name="ShowDisplay" VALUE="false">
    <EMBED TYPE="application/x-mplayer2" SRC="videofilename.wmv" NAME="MediaPlayer"
    WIDTH="192" HEIGHT="190" ShowControls="1" ShowStatusBar="0" ShowDisplay="0" autostart="0"> </EMBED>
    </OBJECT>
    
    Code (markup):
    see here for details:
    http://www.mediacollege.com/video/format/windows-media/streaming/embed.html
     
    aap, Oct 25, 2009 IP
  3. maverickchen

    maverickchen Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    hey app.. thanks a lot :) i give this code a try!
     
    maverickchen, Oct 26, 2009 IP