home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 September (Special) / Chip-Special_2002-09_Digitalni-Video.bin / servis / wm9 / mpsetupXP.exe / RCDATA / CABINET / wmpdxm.wmz / wmpdxm.wms < prev   
Text (UTF-16)  |  2002-08-19  |  27KB  |  340 lines

  1. <theme>
  2. <view 
  3.     titlebar="false" 
  4.     scriptfile="res://wmploc/RT_TEXT/#132;wmpdxm.js;res://wmploc/RT_TEXT/#142;res://wmploc/RT_TEXT/#132;res://wmploc/RT_TEXT/#169"
  5.     ontimer="UpdateValues(); g_nUpdate=(g_nUpdate+1)%g_kMetadataMultiplier; if(g_nUpdate==0) OnTimerTransport()"
  6.     timerInterval="jscript:g_kUpdateSpeed;"
  7.     backgroundColor="#000000"
  8.     onload="Init()"
  9.     height_onchange="UpdateUI()"
  10.     >
  11.  
  12.     <player         
  13.         openstatechange="OnWMPDXMOpenStateChange(NewState); OnOpenStateChangeTransport(NewState);"
  14.         playstatechange="OnPlayStateChangeTransport(NewState);"
  15.         status_onchange="OnStatusChangeTransport(status);"
  16.         disconnect="OnDisconnectTransport();"
  17.         currentplaylistchange="if (WMPPlaylistChangeEventTypes[change]=='InfoChange'){OnPlayStateChangeTransport(player.playState);}"
  18.         modechange="if (ModeName=='shuffle'){btnShuffle.down = NewValue;}"
  19.         currentmediaitemavailable="if(bstrItemName=='WMPImage_PlaybackIcon')ShowPlaybackIcon()"
  20.         >
  21.         <network
  22.             bufferingprogress_onchange="OnBufferingChangeTransport(network.bufferingProgress);"
  23.             receptionquality_onchange="UpdateReceptionQuality(network.receptionQuality);"
  24.             />
  25.         <controls currentPositionString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
  26.         <currentMedia durationString_onchange="tracktime.value=WMPStringsFunction_GetPositionText();"/>
  27.     </player>
  28.  
  29.     <subview
  30.         id="VideoSubview"
  31.         height="0"
  32.         visible="false"
  33.         height_onchange="visible=(height>0)"
  34.         width="jscript:view.width"
  35.         horizontalAlignment="stretch"
  36.         >
  37.         <video
  38.             height="wmpprop:VideoSubview.height"
  39.             width="jscript:view.width"
  40.             horizontalAlignment="stretch"
  41.             id="vid"
  42.             stretchToFit="true"
  43.             shrinkToFit="true"
  44.             maintainAspectRatio="false"
  45.             />
  46.     </subview>
  47.     <subview 
  48.         id="AllControls"
  49.         width="jscript:view.width"
  50.         horizontalAlignment="stretch"
  51.         backgroundColor="black"
  52.         >
  53.         <subview
  54.             id="Captioning"
  55.             height="jscript:g_kCaptioningHeight"
  56.             backgroundColor="#B0B6C0"
  57.             width="jscript:view.width"
  58.             visible="false"
  59.             horizontalAlignment="stretch"
  60.             >
  61.             <subview
  62.                 left="1" top="1"
  63.                 width="jscript:view.width-2*left"
  64.                 horizontalAlignment="stretch"
  65.                 height="jscript:g_kCaptioningHeight-2*top"
  66.                 backgroundColor="black"
  67.                 >
  68.                 <text 
  69.                     horizontalAlignment="center"
  70.                     verticalAlignment="center"
  71.                     hoverFontStyle="underline"
  72.                     cursor="hand"
  73.                     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'"
  74.                     onclick="player.launchURL('http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmplay/mmp_sdk/closedcaptioning2.asp?frame=true')"
  75.                     foregroundColor="#00ff00"
  76.                 />
  77.             </subview>
  78.         </subview>
  79.         <subview 
  80.             id="Tracker" 
  81.             height="jscript:g_kTrackerHeight"
  82.             width="jscript:view.width"
  83.             horizontalAlignment="stretch"
  84.             visible="false"
  85.             backgroundColor="#D6D3CE"
  86.         >
  87.             <seekslider
  88.                 id="seek"
  89.                 backgroundImage="seek_tile.bmp"
  90.                 backgroundtiled="true"
  91.                 thumbImage="seek_thumb_up.bmp"
  92.                 thumbDownImage="seek_thumb_down.bmp"
  93.                 thumbHoverImage="seek_thumb_hover.bmp"
  94.                 borderSize="23"
  95.                 width="jscript:view.width"
  96.                 horizontalAlignment="stretch"
  97.                 value="wmpprop:player.controls.currentPosition"
  98.                 min="0"
  99.                 max="wmpprop:player.currentMedia.duration"
  100.                 ondragend="player.controls.currentposition=value;"
  101.                 useForegroundProgress="false"
  102.                 transparencyColor="#FF00FF"
  103.             />
  104.         </subview>
  105.         <subview 
  106.             id="ControlsParent" 
  107.             height="jscript:g_kControlsHeight" 
  108.             backgroundImage="bkg.bmp"
  109.             width="jscript:view.width"
  110.             horizontalAlignment="stretch"
  111.             backgroundTiled="true"
  112.             visible="false"
  113.             >
  114.                 <subview
  115.                     id="TransportControls"
  116.                     height="jscript:g_kControlsHeight"
  117.                     width="73"
  118.                     >
  119.                     <pausebutton
  120.                         id="pause"
  121.                         image="pause_btngp_up.bmp" 
  122.                         hoverimage="pause_btngp_hover.bmp"
  123.                         downimage="pause_btngp_down.bmp"
  124.                         zIndex="10"
  125.                         left="18"
  126.                         visible="wmpprop:pause.enabled"
  127.                         onclick="g_SetPlayPauseFocus=true;player.controls.pause()"
  128.                         visible_onchange="if (g_SetPlayPauseFocus){if (visible) view.focusObjectID='pause'; else view.focusObjectID='play';} g_SetPlayPauseFocus=false;"
  129.                         />
  130.                     <buttongroup
  131.                         id="play_stop"
  132.                         mappingImage="playStop_btngrp_colormap.bmp"
  133.                         image="playStop_btngrp_up.bmp"
  134.                         hoverImage="playStop_btngrp_hover.bmp"
  135.                         downimage="playStop_btngrp_down.bmp"
  136.                         disabledImage="playStop_btngrp_disabled.bmp"
  137.                         showBackground="true"
  138.                         >
  139.                         <playelement
  140.                             onclick="PlayButtonClick(event)"
  141.                             mappingColor="#00FF00"
  142.                             tabstop="wmpenabled:player.controls.play"
  143.                             />
  144.                         <stopelement mappingColor="#FF0000"/>
  145.                     </buttongroup>
  146.                 </subview>
  147.                 
  148.                 <subview 
  149.                     id="PositionControls"
  150.                     height="jscript:g_kControlsHeight"
  151.                     left="73"
  152.                     width="130"
  153.                     >
  154.                     <buttongroup
  155.                         mappingImage="position_btngrp_colormap.bmp"
  156.                         disabledImage="position_btngrp_disabled.bmp"
  157.                         image="position_btngrp_up.bmp"
  158.                         downImage="position_btngrp_down.bmp"
  159.                         hoverImage="position_btngrp_hover.bmp"
  160.                         showbackground="true"
  161.                     >
  162.                         <prevelement mappingColor="#0000FF"/>
  163.                         <rewelement id="rew" mappingColor="#00FFFF"/>
  164.                         <ffwdelement id="ffwd" mappingColor="#FFFF00"/>
  165.                         <nextelement mappingColor="#603913"/>
  166.                     </buttongroup>
  167.                 </subview>
  168.                 
  169.                 <subview
  170.                     id="AudioControls"
  171.                     height="jscript:g_kControlsHeight"
  172.                     left="209"
  173.                     width="83"
  174.                     >
  175.                     <mutebutton
  176.                         image="mute_btngrp_up.bmp"
  177.                         downImage="mute_btngrp_down.bmp"
  178.                         hoverImage="mute_btngrp_hover.bmp"
  179.                         disabledImage="mute_btngrp_disabled.bmp"
  180.                     />
  181.                     <volumeslider
  182.                         top="5" left="25"
  183.                         backgroundImage="vol_slider_bkg.bmp"
  184.                         foregroundImage="vol_slider_fill.bmp"
  185.                         thumbImage="vol_thumb_up.bmp"
  186.                         thumbDownImage="vol_thumb_down.bmp"
  187.                         thumbHoverImage="vol_thumb_hover.bmp"
  188.                         transparencyColor="#ff00ff"
  189.                         slide="false"
  190.                         borderSize="8"
  191.                     />
  192.                 </subview>
  193.         </subview>
  194.         <subview 
  195.             id="GotoBar" 
  196.             height="jscript:g_kGotoBarHeight" 
  197.             backgroundImage="gotobar.gif"
  198.             width="jscript:view.width"
  199.             horizontalAlignment="stretch"
  200.             visible="false"
  201.            >
  202.            <slider
  203.                 width="jscript:view.width"
  204.                 horizontalAlignment="stretch"
  205.                 height="jscript:g_kGotoBarHeight" 
  206.                 enabled="false"
  207.                 tabStop="false"
  208.                 passThrough="true"
  209.                 backgroundImage="goto_tile.bmp"
  210.                 backgroundTiled="true"
  211.                 borderSize="30"
  212.                 direction="horizontal"
  213.                 cursor=""
  214.             />
  215.         </subview>
  216.         <subview 
  217.             id="Display" 
  218.             height="jscript:g_kDisplayHeight" 
  219.             width="jscript:view.width"
  220.             horizontalAlignment="stretch"
  221.             visible="false"
  222.             backgroundColor="#B0B6C0"
  223.            >
  224.            <slider
  225.                 width="jscript:view.width"
  226.                 horizontalAlignment="stretch"
  227.                 height="jscript:g_kDisplayHeight" 
  228.                 enabled="false"
  229.                 tabStop="false"
  230.                 passThrough="true"
  231.                 backgroundImage="display_tile.bmp"
  232.                 backgroundTiled="true"
  233.                 borderSize="1"
  234.                 direction="horizontal"
  235.                 cursor=""
  236.             />
  237.             <text
  238.                 top="4"
  239.                 left="6"
  240.                 id="show"
  241.                 fontFace="MS Sans Serif"
  242.                 fontSize="9"
  243.                 foregroundColor="#00FF00"
  244.                 width="jscript:view.width-2*left"
  245.                 horizontalAlignment="stretch"
  246.                 tabStop="false"
  247.                 height="15"
  248.                 />
  249.             <text
  250.                 left="jscript:show.left"
  251.                 top="23"
  252.                 id="title"
  253.                 fontFace="MS Sans Serif"
  254.                 fontSize="9"
  255.                 foregroundColor="#00FF00"
  256.                 width="jscript:view.width-2*left"
  257.                 horizontalAlignment="stretch"
  258.                 tabStop="false"
  259.                 height="jscript:show.height"
  260.                 />
  261.             <text
  262.                 left="jscript:show.left"
  263.                 top="39"
  264.                 id="author"
  265.                 fontFace="MS Sans Serif"
  266.                 fontSize="9"
  267.                 foregroundColor="#00FF00"
  268.                 width="jscript:view.width-2*left"
  269.                 horizontalAlignment="stretch"
  270.                 tabStop="false"
  271.                 height="jscript:show.height"
  272.                 />
  273.             <text
  274.                 left="jscript:show.left"
  275.                 top="55"
  276.                 id="copyright"
  277.                 fontFace="MS Sans Serif"
  278.                 foregroundColor="#00FF00"
  279.                 fontSize="9"
  280.                 width="jscript:view.width-2*left"
  281.                 horizontalAlignment="stretch"
  282.                 tabStop="false"
  283.                 height="jscript:show.height"
  284.             />
  285.         </subview>
  286.         <subview 
  287.             id="Status" 
  288.             height="jscript:g_kStatusHeight" 
  289.             backgroundColor="jscript:Display.backgroundColor"
  290.             width="jscript:view.width"
  291.             visible="false"
  292.             horizontalAlignment="stretch"
  293.             >
  294.            <slider
  295.                 width="jscript:view.width"
  296.                 horizontalAlignment="stretch"
  297.                 height="jscript:g_kDisplayHeight" 
  298.                 enabled="false"
  299.                 tabStop="false"
  300.                 passThrough="true"
  301.                 backgroundImage="status_tile.bmp"
  302.                 backgroundTiled="true"
  303.                 borderSize="1"
  304.                 direction="horizontal"
  305.                 cursor=""
  306.             />
  307.             
  308.             <button
  309.                 id="QualityIcon"
  310.                 visible="false"
  311.                 top="6" left="1"
  312.             />
  313.             
  314.             <text 
  315.                 id="metadata"  top="6" 
  316.                 left="jscript:QualityIcon.left+39" height="jscript:show.height"
  317.                 fontFace="MS Sans Serif"
  318.                 fontSize="9"
  319.                 foregroundColor="#00FF00"
  320.             />
  321.                 
  322.             <text
  323.                 id="tracktime" fontSize="9"
  324.                 top="6" height="jscript:show.height"
  325.                 value=" "
  326.                 left_onchange="metadata.width = left - metadata.left"
  327.                 width_onchange="metadata.width = left - metadata.left"
  328.                 textwidth_onchange="metadata.width = left - metadata.left"
  329.                 fontFace="MS Sans Serif"
  330.                 foregroundColor="#00FF00"
  331.                 left="jscript:view.width - textwidth - 3" height="15"
  332.                 justification="right"
  333.                 horizontalAlignment="right"
  334.             />
  335.         </subview>
  336.     </subview>
  337. </view>
  338. </theme>
  339.  
  340.