home *** CD-ROM | disk | FTP | other *** search
- <theme>
- <view
- titlebar="false"
- scriptfile="res://wmploc/RT_TEXT/#132;wmpdxm.js;res://wmploc/RT_TEXT/#142;res://wmploc/RT_TEXT/#132;res://wmploc/RT_TEXT/#169"
- ontimer="UpdateValues(); g_nUpdate=(g_nUpdate+1)%g_kMetadataMultiplier; if(g_nUpdate==0) OnTimerTransport()"
- timerInterval="jscript:g_kUpdateSpeed;"
- backgroundColor="#000000"
- onload="Init()"
- height_onchange="UpdateUI()"
- >
-
- <player
- openstatechange="OnWMPDXMOpenStateChange(NewState); OnOpenStateChangeTransport(NewState);"
- playstatechange="OnPlayStateChangeTransport(NewState);"
- status_onchange="OnStatusChangeTransport(status);"
- disconnect="OnDisconnectTransport();"
- currentplaylistchange="if (WMPPlaylistChangeEventTypes[change]=='InfoChange'){OnPlayStateChangeTransport(player.playState);}"
- modechange="if (ModeName=='shuffle'){btnShuffle.down = NewValue;}"
- currentmediaitemavailable="if(bstrItemName=='WMPImage_PlaybackIcon')ShowPlaybackIcon()"
- >
- <network
- bufferingprogress_onchange="OnBufferingChangeTransport(network.bufferingProgress);"
- receptionquality_onchange="UpdateReceptionQuality(network.receptionQuality);"
- />
- <controls currentPositionString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
- <currentMedia durationString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
- </player>
-
- <subview
- id="VideoSubview"
- height="0"
- visible="false"
- height_onchange="visible=(height>0)"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- >
- <video
- height="wmpprop:VideoSubview.height"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- id="vid"
- stretchToFit="true"
- shrinkToFit="true"
- maintainAspectRatio="false"
- />
- </subview>
- <subview
- id="AllControls"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- backgroundColor="black"
- >
- <subview
- id="Captioning"
- height="jscript:g_kCaptioningHeight"
- backgroundColor="#B0B6C0"
- width="jscript:view.width"
- visible="false"
- horizontalAlignment="stretch"
- >
- <subview
- left="1" top="1"
- width="jscript:view.width-2*left"
- horizontalAlignment="stretch"
- height="jscript:g_kCaptioningHeight-2*top"
- backgroundColor="black"
- >
- <text
- horizontalAlignment="center"
- verticalAlignment="center"
- hoverFontStyle="underline"
- cursor="hand"
- value="jscript:'Closed Caption support for Windows Media\r is now provided in native HTML.\r Click here to go to a web page \rwith more information'"
- onclick="player.launchURL('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/closedcaptioning2.asp?frame=true')"
- foregroundColor="#00ff00"
- />
- </subview>
- </subview>
- <subview
- id="Tracker"
- height="jscript:g_kTrackerHeight"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- visible="false"
- backgroundColor="#D6D3CE"
- >
- <seekslider
- id="seek"
- backgroundImage="seek_tile.bmp"
- backgroundtiled="true"
- thumbImage="seek_thumb_up.bmp"
- thumbDownImage="seek_thumb_down.bmp"
- thumbHoverImage="seek_thumb_hover.bmp"
- borderSize="23"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- value="wmpprop:player.controls.currentPosition"
- min="0"
- max="wmpprop:player.currentMedia.duration"
- ondragend="player.controls.currentposition=value;"
- useForegroundProgress="false"
- transparencyColor="#FF00FF"
- />
- </subview>
- <subview
- id="ControlsParent"
- height="jscript:g_kControlsHeight"
- backgroundImage="bkg.bmp"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- backgroundTiled="true"
- visible="false"
- >
- <subview
- id="TransportControls"
- height="jscript:g_kControlsHeight"
- width="73"
- >
- <pausebutton
- id="pause"
- image="pause_btngp_up.bmp"
- hoverimage="pause_btngp_hover.bmp"
- downimage="pause_btngp_down.bmp"
- zIndex="10"
- left="18"
- visible="wmpprop:pause.enabled"
- onclick="g_SetPlayPauseFocus=true;player.controls.pause()"
- visible_onchange="if (g_SetPlayPauseFocus){if (visible) view.focusObjectID='pause'; else view.focusObjectID='play';} g_SetPlayPauseFocus=false;"
- />
- <buttongroup
- id="play_stop"
- mappingImage="playStop_btngrp_colormap.bmp"
- image="playStop_btngrp_up.bmp"
- hoverImage="playStop_btngrp_hover.bmp"
- downimage="playStop_btngrp_down.bmp"
- disabledImage="playStop_btngrp_disabled.bmp"
- showBackground="true"
- >
- <playelement
- onclick="PlayButtonClick(event)"
- mappingColor="#00FF00"
- tabstop="wmpenabled:player.controls.play"
- />
- <stopelement mappingColor="#FF0000"/>
- </buttongroup>
- </subview>
-
- <subview
- id="PositionControls"
- height="jscript:g_kControlsHeight"
- left="73"
- width="130"
- >
- <buttongroup
- mappingImage="position_btngrp_colormap.bmp"
- disabledImage="position_btngrp_disabled.bmp"
- image="position_btngrp_up.bmp"
- downImage="position_btngrp_down.bmp"
- hoverImage="position_btngrp_hover.bmp"
- showbackground="true"
- >
- <prevelement mappingColor="#0000FF"/>
- <rewelement id="rew" mappingColor="#00FFFF"/>
- <ffwdelement id="ffwd" mappingColor="#FFFF00"/>
- <nextelement mappingColor="#603913"/>
- </buttongroup>
- </subview>
-
- <subview
- id="AudioControls"
- height="jscript:g_kControlsHeight"
- left="209"
- width="83"
- >
- <mutebutton
- image="mute_btngrp_up.bmp"
- downImage="mute_btngrp_down.bmp"
- hoverImage="mute_btngrp_hover.bmp"
- disabledImage="mute_btngrp_disabled.bmp"
- />
- <volumeslider
- top="5" left="25"
- backgroundImage="vol_slider_bkg.bmp"
- foregroundImage="vol_slider_fill.bmp"
- thumbImage="vol_thumb_up.bmp"
- thumbDownImage="vol_thumb_down.bmp"
- thumbHoverImage="vol_thumb_hover.bmp"
- transparencyColor="#ff00ff"
- slide="false"
- borderSize="8"
- />
- </subview>
- </subview>
- <subview
- id="GotoBar"
- height="jscript:g_kGotoBarHeight"
- backgroundImage="gotobar.gif"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- visible="false"
- >
- <slider
- width="jscript:view.width"
- horizontalAlignment="stretch"
- height="jscript:g_kGotoBarHeight"
- enabled="false"
- tabStop="false"
- passThrough="true"
- backgroundImage="goto_tile.bmp"
- backgroundTiled="true"
- borderSize="30"
- direction="horizontal"
- cursor=""
- />
- </subview>
- <subview
- id="Display"
- height="jscript:g_kDisplayHeight"
- width="jscript:view.width"
- horizontalAlignment="stretch"
- visible="false"
- backgroundColor="#B0B6C0"
- >
- <slider
- width="jscript:view.width"
- horizontalAlignment="stretch"
- height="jscript:g_kDisplayHeight"
- enabled="false"
- tabStop="false"
- passThrough="true"
- backgroundImage="display_tile.bmp"
- backgroundTiled="true"
- borderSize="1"
- direction="horizontal"
- cursor=""
- />
- <text
- top="4"
- left="6"
- id="show"
- fontFace="MS Sans Serif"
- fontSize="9"
- foregroundColor="#00FF00"
- width="jscript:view.width-2*left"
- horizontalAlignment="stretch"
- tabStop="false"
- height="15"
- />
- <text
- left="jscript:show.left"
- top="23"
- id="title"
- fontFace="MS Sans Serif"
- fontSize="9"
- foregroundColor="#00FF00"
- width="jscript:view.width-2*left"
- horizontalAlignment="stretch"
- tabStop="false"
- height="jscript:show.height"
- />
- <text
- left="jscript:show.left"
- top="39"
- id="author"
- fontFace="MS Sans Serif"
- fontSize="9"
- foregroundColor="#00FF00"
- width="jscript:view.width-2*left"
- horizontalAlignment="stretch"
- tabStop="false"
- height="jscript:show.height"
- />
- <text
- left="jscript:show.left"
- top="55"
- id="copyright"
- fontFace="MS Sans Serif"
- foregroundColor="#00FF00"
- fontSize="9"
- width="jscript:view.width-2*left"
- horizontalAlignment="stretch"
- tabStop="false"
- height="jscript:show.height"
- />
- </subview>
- <subview
- id="Status"
- height="jscript:g_kStatusHeight"
- backgroundColor="jscript:Display.backgroundColor"
- width="jscript:view.width"
- visible="false"
- horizontalAlignment="stretch"
- >
- <slider
- width="jscript:view.width"
- horizontalAlignment="stretch"
- height="jscript:g_kDisplayHeight"
- enabled="false"
- tabStop="false"
- passThrough="true"
- backgroundImage="status_tile.bmp"
- backgroundTiled="true"
- borderSize="1"
- direction="horizontal"
- cursor=""
- />
-
- <button
- id="QualityIcon"
- visible="false"
- top="6" left="1"
- />
-
- <text
- id="metadata" top="6"
- left="jscript:QualityIcon.left+39" height="jscript:show.height"
- fontFace="MS Sans Serif"
- fontSize="9"
- foregroundColor="#00FF00"
- />
-
- <text
- id="tracktime" fontSize="9"
- top="6" height="jscript:show.height"
- value=" "
- left_onchange="metadata.width = left - metadata.left"
- width_onchange="metadata.width = left - metadata.left"
- textwidth_onchange="metadata.width = left - metadata.left"
- fontFace="MS Sans Serif"
- foregroundColor="#00FF00"
- left="jscript:view.width - textwidth - 3" height="15"
- justification="right"
- horizontalAlignment="right"
- />
- </subview>
- </subview>
- </view>
- </theme>
-
-