1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Changing the version of WMP in a code

Discussion in 'Windows Media' started by sp026, Apr 2, 2010.

  1. sp026

    sp026 Flightless Bird

    Hello everyone.
    I want to replace the version of WMP in the code below for the version 9 or
    10. How do I do that?

    <select name=selecta size=1 id=musica
    onchange=document.all.playera.filename=document.all.musica.value;>
    <option selected />::: Rádios :::
    <option value="http://p.mm.uol.com.br/educadorafm" />Educadora
    <option value="mms://streamingradiotv.com.br/Sterio Vale FM" />Stereo Vale Fm
    <option value="http://www.dnip.com.br/link/jovempancampinas.wmx" />Rádio
    Jovem Pan Campinas Fm
    <option value="http://p.mm.uol.com.br/mixfm" />Rádio Mix Fm
    <option value="http://www.aradiorock.com/player/mediaplayer.asx" />Rádio 98 Fm
    <option value="http://www.crosshost.com.br/cbs/kiss_/radio2.asx" />Rádio
    Kiss Fm
    <option
    value="mms://200.222.115.52/CidadeWebRock_CidadeWebrock128?ticket=000002855108&crc=1538846765" />Rádio Cidade Fm
    <option value="http://metropolitanafm.uol.com.br/ao-vivo/sao-paulo.asx"
    />Rádio Metropolitana Fm
    <option value="http://www.webnow.com.br/gc2/playlists/89fm_wma_32.asx"
    />Rádio 89 Fm
    <option value="mms://wmedia.telium.com.br/antenaum" />Rádio Antena 1 Fm
    <option value="http://www.webnow.com.br/gc2/playlists/alphafm_wma_32.asx"
    />Rádio Alpha Fm
    <option value="http://streaming2.joinhost.com.br/radio_melodia" />Rádio
    Evangélica Melodia Fm
    <option
    value="http://www.bbnradio.org/WindowsMediaDotComASXLinks/wmportuguese.asx"
    />Rádio Evangélica BBN
    <option value="mms://baggio.radio.br/rtm" />Rádio Evangélica RTM
    <option value="http://74.86.203.122:8000/radiotransito" />Rádio Sulamérica
    Trânsito
    <option value="mms://wmedia.telium.com.br/transsphits" />Rádio Transamérica
    Hits
    <option value="mms://wmedia.telium.com.br/transsplight" />Rádio Transamérica
    Light
    <option value="mms://wmedia.telium.com.br/transsppop64" />Rádio Transamérica
    Pop
    <option
    value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_globofmrj_live.wma&midiaId=505114&ext.asx" />Rádio Globo Fm
    <option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=517993"
    />Rádio Globo - The 80's
    <option
    value="http://radioglobo.globoradio.globo.com/playlist/asxAoVivo.php?spot=audio_gam_players_shoppingradioglobo_100315.wma&praca=RJ" />Rádio Globo - RJ
    <option
    value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_multishow_live.wma&midiaId=581681&ext.asx"
    />Rádio Globo - Multishow
    <option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=511386"
    />Rádio Globo - Rasta
    <option
    value="http://beat98.globoradio.globo.com/playlist/asxAoVivo.php?praca=Beat98" />Rádio Globo - Beat98
    <option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=503071"
    />Rádio Globo - Pop Hits
    <option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=521601"
    />Rádio Globo - Teletema
    <option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=503223"
    />Rádio Globo - Rock Heroes
    <option
    value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_sportv_live.wma&midiaId=511317&ext=asx"
    />Rádio Globo - Zona de Impacto
    </select>
    <br />
    <object id=playera height=80 width=210
    classid=clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95>
    <param name="AutoStart" value="True" />
    <param name="Balance" value="False" />
    <param name="DisplaySize" value="True" />
    <param name="Filename" value="" />
    <param name="Mute" value="False" />
    <param name="SelectionStart" value="False" />
    <param name="SelectionEnd" value="False" />
    <param name="ShowControls" value="True" />
    <param name="ShowAudioControls" value="True" />
    <param name="ShowDisplay" value="False" />
    <param name="ShowPositionControls" value="False" />
    <param name="Volume" value="1" />
    <param name="AudioStream" value="False" />
    <param name="AutoSize" value="False" />
    <param name="AnimationAtStart" value="False" />
    <param name="AllowScan" value="False" />
    <param name="AllowChangeDisplaySize" value="False" />
    <param name="AutoRewind" value="True" />
    <param name="BaseURL" value="" />
    <param name="BufferingTime" value="5" />
    <param name="CaptioningID" value="" />
    <param name="ClickToPlay" value="True" />
    <param name="CursorType" value="0" />
    <param name="CurrentPosition" value="True" />
    <param name="CurrentMarker" value="True" />
    <param name="DefaultFrame" value="mainframe" />
    <param name="DisplayBackColor" value="True" />
    <param name="DisplayForeColor" value="16777215" />
    <param name="DisplayMode" value="1" />
    <param name="Enabled" value="-1" />
    <param name="EnableContextMenu" value="False" />
    <param name="EnablePositionControls" value="False" />
    <param name="EnableFullScreenControls" value="False" />
    <param name="EnableTracker" value="False" />
    <param name="InvokeURLs" value="False" />
    <param name="Language" value="True" />
    <param name="PlayCount" value="1" />
    <param name="PreviewMode" value="False" />
    <param name="ShowStatusBar" value="True" />
    <param name="TransparentAtStart" value="False" />
    </object>
     
  2. Hi - the CLSID value changed to identify media player from WMP6.4 and
    for all versions from WMP7 - WMP12. You need this value :

    clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6

    This should aproximate the embedding code you're currently using, and
    hide the control bar for playback :


    <object id="playera" height="80" width="210"
    classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6 ">
    <param name="autostart" value="true" />
    <param name="uimode" value="none" />
    <param name="url" value="" />
    <param name="mute" value="false" />
    <param name="volume" value="1" />
    <param name="enableContextMenu" value="false" />
    <param name="fullScreen" value="false" />
    <param name="invokeURLs" value="false" />
    </object>

    Buffering time must be set programatically now (it's no longer a
    parameter) and several UI elements are usually done by javascript and
    images, with a uimode="none" to hide the default WMP controls.

    These pages will be helpful in understanding the changes :
    http://msdn.microsoft.com/en-us/library/dd563990.aspx
    http://msdn.microsoft.com/en-us/library/dd563021.aspx
    http://msdn.microsoft.com/en-us/library/dd564581.aspx

    HTH
    Cheers - Neil


    On Fri, 2 Apr 2010 18:49:01 -0700, sp026
    <sp026@discussions.microsoft.com> wrote:

    >Hello everyone.
    >I want to replace the version of WMP in the code below for the version 9 or
    >10. How do I do that?
    >
    ><select name=selecta size=1 id=musica
    >onchange=document.all.playera.filename=document.all.musica.value;>
    ><option selected />::: Rádios :::
    ><option value="http://p.mm.uol.com.br/educadorafm" />Educadora
    ><option value="mms://streamingradiotv.com.br/Sterio Vale FM" />Stereo Vale Fm
    ><option value="http://www.dnip.com.br/link/jovempancampinas.wmx" />Rádio
    >Jovem Pan Campinas Fm
    ><option value="http://p.mm.uol.com.br/mixfm" />Rádio Mix Fm
    ><option value="http://www.aradiorock.com/player/mediaplayer.asx" />Rádio 98 Fm
    ><option value="http://www.crosshost.com.br/cbs/kiss_/radio2.asx" />Rádio
    >Kiss Fm
    ><option
    >value="mms://200.222.115.52/CidadeWebRock_CidadeWebrock128?ticket=000002855108&crc=1538846765" />Rádio Cidade Fm
    ><option value="http://metropolitanafm.uol.com.br/ao-vivo/sao-paulo.asx"
    >/>Rádio Metropolitana Fm
    ><option value="http://www.webnow.com.br/gc2/playlists/89fm_wma_32.asx"
    >/>Rádio 89 Fm
    ><option value="mms://wmedia.telium.com.br/antenaum" />Rádio Antena 1 Fm
    ><option value="http://www.webnow.com.br/gc2/playlists/alphafm_wma_32.asx"
    >/>Rádio Alpha Fm
    ><option value="http://streaming2.joinhost.com.br/radio_melodia" />Rádio
    >Evangélica Melodia Fm
    ><option
    >value="http://www.bbnradio.org/WindowsMediaDotComASXLinks/wmportuguese.asx"
    >/>Rádio Evangélica BBN
    ><option value="mms://baggio.radio.br/rtm" />Rádio Evangélica RTM
    ><option value="http://74.86.203.122:8000/radiotransito" />Rádio Sulamérica
    >Trânsito
    ><option value="mms://wmedia.telium.com.br/transsphits" />Rádio Transamérica
    >Hits
    ><option value="mms://wmedia.telium.com.br/transsplight" />Rádio Transamérica
    >Light
    ><option value="mms://wmedia.telium.com.br/transsppop64" />Rádio Transamérica
    >Pop
    ><option
    >value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_globofmrj_live.wma&midiaId=505114&ext.asx" />Rádio Globo Fm
    ><option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=517993"
    >/>Rádio Globo - The 80's
    ><option
    >value="http://radioglobo.globoradio.globo.com/playlist/asxAoVivo.php?spot=audio_gam_players_shoppingradioglobo_100315.wma&praca=RJ" />Rádio Globo - RJ
    ><option
    >value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_multishow_live.wma&midiaId=581681&ext.asx"
    >/>Rádio Globo - Multishow
    ><option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=511386"
    >/>Rádio Globo - Rasta
    ><option
    >value="http://beat98.globoradio.globo.com/playlist/asxAoVivo.php?praca=Beat98" />Rádio Globo - Beat98
    ><option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=503071"
    >/>Rádio Globo - Pop Hits
    ><option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=521601"
    >/>Rádio Globo - Teletema
    ><option value="http://wmsgr.globo.com/webmedia/ObterPlaylist?midiaId=503223"
    >/>Rádio Globo - Rock Heroes
    ><option
    >value="http://wmsgr.globo.com/webmedia/ObterPathMidia?usuario=sgr01&tipo=live&path=/sgr_off_sportv_live.wma&midiaId=511317&ext=asx"
    >/>Rádio Globo - Zona de Impacto
    ></select>
    ><br />
    ><object id=playera height=80 width=210
    >classid=clsid:22d6f312-b0f6-11d0-94ab-0080c74c7e95>
    ><param name="AutoStart" value="True" />
    ><param name="Balance" value="False" />
    ><param name="DisplaySize" value="True" />
    ><param name="Filename" value="" />
    ><param name="Mute" value="False" />
    ><param name="SelectionStart" value="False" />
    ><param name="SelectionEnd" value="False" />
    ><param name="ShowControls" value="True" />
    ><param name="ShowAudioControls" value="True" />
    ><param name="ShowDisplay" value="False" />
    ><param name="ShowPositionControls" value="False" />
    ><param name="Volume" value="1" />
    ><param name="AudioStream" value="False" />
    ><param name="AutoSize" value="False" />
    ><param name="AnimationAtStart" value="False" />
    ><param name="AllowScan" value="False" />
    ><param name="AllowChangeDisplaySize" value="False" />
    ><param name="AutoRewind" value="True" />
    ><param name="BaseURL" value="" />
    ><param name="BufferingTime" value="5" />
    ><param name="CaptioningID" value="" />
    ><param name="ClickToPlay" value="True" />
    ><param name="CursorType" value="0" />
    ><param name="CurrentPosition" value="True" />
    ><param name="CurrentMarker" value="True" />
    ><param name="DefaultFrame" value="mainframe" />
    ><param name="DisplayBackColor" value="True" />
    ><param name="DisplayForeColor" value="16777215" />
    ><param name="DisplayMode" value="1" />
    ><param name="Enabled" value="-1" />
    ><param name="EnableContextMenu" value="False" />
    ><param name="EnablePositionControls" value="False" />
    ><param name="EnableFullScreenControls" value="False" />
    ><param name="EnableTracker" value="False" />
    ><param name="InvokeURLs" value="False" />
    ><param name="Language" value="True" />
    ><param name="PlayCount" value="1" />
    ><param name="PreviewMode" value="False" />
    ><param name="ShowStatusBar" value="True" />
    ><param name="TransparentAtStart" value="False" />
    ></object>

    ------------------------------------------------
    Digital Media MVP : 2004-2010
    http://mvp.support.microsoft.com/mvpfaqs
     

Share This Page