home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0"?>
-
- <?script href="preview.js"?/>
- <?include href="playerfileinfos.xul"/>
-
- <?include href="preview_about.xul"/>
- <?library href="VolumnCtrl.dll"?/>
- <?library href="flvplayer.dll"?/>
-
- <window id="preview"
- width="478"
- height="448"
- orient="vertical"
- align="stretch"
- title="ImTOO FLV Player"
- vMargin="0"
- hMargin="0"
- center="true"
- round="true"
- roundx=15
- roundy=15
- language_prefix="_"
- resize="false"
- ondropfile="ondropme"
- bottomisround=true
-
-
-
- >
- <menu id="menupopup" >
-
- <item id="play" label="_player_menu_play" enable="false"onclick="playplay"/>
- <item id="pause" label="_player_menu_pause" enable="false"onclick="playplay"/>
- <item id="stop" label="_player_menu_stop" enable="false" onclick="playstop"/>
- <item type="separator"/>
- <item id="size" label="_player_menu_fullscr" enable="true"onclick="onsize"/>
- <item type="separator"/>
- <item id="exit" label="_player_menu_exit" enable="true" onclick="preview_close"/>
-
- </menu>
-
- <titlebar id="previewtitlebar" transparent="true" image="titlebar.png" height="30" orient="horizontal" align="top" fillmode="1" vMargin="1"
- hMargin="0" >
- <spacer width="10"/>
- <vbox height=30>
- <spacer height=5/>
- <static background-image="player.png"
- height="16" width="16" align=top
- transparent="true" sizetoimage="true" />
- </vbox>
- <spacer width=10/>
- <vbox height=30>
- <spacer height=1/>
- <static label="ImTOO FLV Player" width="368" align="top" text-align=left transparent="true" font-color="RGB(0,0,0)" font-size=14 font-family=Tahoma font-bold="true"/>
- </vbox>
- <vbox height=30>
- <spacer height=6/>
- <button image="window_min.png" align="top" transparent="true" height=20 width=20" enable="true" onclick="preview.Minimize()"/>
- </vbox>
- <vbox height=30>
- <spacer height=6/>
- <button image="window_max.png" align="top" transparent="true" enable="false" height=20 width=20 onclick="preview.Maximize()"/>
- </vbox>
- <vbox height=30>
- <spacer height=6/>
- <button image="window_close.png" transparent="true" height=20 width=20 align="top" onclick="preview_close"/>
- </vbox>
- <spacer width="10" align="right"/>
- </titlebar>
-
- <panel image="background_sub.png" align="stretch" transparent="true" vMargin="0" hMargin="0">
- <panel image="player-background.png" align="stretch" vMargin="0">
- <panel height="25" transparent="true" orient="horizontal" align="top" image="" >
- <spacer width="8" align="left"/>
- <menubar orient="horizontal" align="top" width="450" height="25" font-size="12" transparent="true" >
- <menu label="_player_menu_file">
- <item id="menuofopenfile" label="_player_menu_openfile" onclick="showdir1"/>
- <item id="menuoffileinfo" label="_player_menu_fileinfo" enable="false" onclick="getfileinfos(playerpath)"/>
- <item type="separator"/>
- <item id="menuofexit" label="_player_menu_exit" onclick="preview_close"/>
- </menu>
-
- <menu label="_player_menu_view" >
- <item id="menuofplay" label="_player_menu_play" onclick="playplay" enable="false"/>
- <item id="menuofpause" label="_player_menu_pause" onclick="playplay" enable="false"/>
- <item id="menuofstop" label="_player_menu_stop" onclick="playstop" enable="false" />
- <item type="separator"/>
- <item id="menuoffullscreen" label="_player_menu_fullscr" enable="false" onclick="onsize"/>
-
- </menu>
-
- <menu id="tools" label="_flvmain_menu_tools" >
- <menu id="language" label="_flvmain_menu_language" >
- <item id="english" label="_flvmain_menu_eng" width=400 transparent=true onclick="changeenglish"/>
- <item id="chinese" label="_flvmain_menu_chs" width=400 transparent=true onclick="changechinese"/>
- <item id="german" label="_flvmain_menu_deu" width=400 transparent=true onclick="changegerman"/>
- <item id="japanese" label="_flvmain_menu_jpn" width=400 transparent=true onclick="changejapan"/>
- </menu>
- <menu id="skin" label="_flvmain_menu_change_skin">
- <item id="newskin" label="_flvmain_menu_skin_red" onclick="changenewskin"/>
- <item id="greenskin" label="_flvmain_menu_skin_green" onclick="changegreen"/>
- </menu>
- </menu>
-
- <menu id="" label="_player_menu_help">
- <item id="menuofabouthelp" label="_player_menu_about" onclick="showpreview_about"/>
- </menu>
- </menubar>
- </panel>
-
- <spacer height=5/>
- <hbox>
- <panel style="" align="center" width="446" height="346" transparent="true" >
- <flvplayer id=player1 background-image="black.png" align="stretch" width=386 height=342 onrightclick="rclick" ondoubleclick="doubleclick"/>
-
- </panel>
- </hbox>
-
- <hbox height=28 vMargin="0" hMargin="0" align=top>
-
- <spacer width="12" align="left"/>
- <vbox height=28 >
- <button id="play111" image="player-play.png" label="" align=center tooltip-text="_player_btn_tooltip_play" width="25" height="19" enable="false" onclick="playplay"/>
- </vbox>
-
- <spacer width=4/>
- <vbox height=28>
- <button id="playstop" image="player-stop.png" label="" align=center tooltip-text="_player_btn_tooltip_stop" width="25" height=19 enable="false" onclick="playstop()"/>
- </vbox>
- <spacer width=8/>
-
- <vbox height=28>
- <static background-image="getiao.png" width=1 height=13 align=center transparent=true/>
- </vbox>
- <spacer width=3/>
- <vbox height=28>
- <static id="curplay" width="50" align="center" transparent="true"/>
- </vbox>
- <spacer width=6/>
- <vbox height=28>
- <!--
- <sliderctrlv2 id="slider1" align="center" border="false" width=190 height="20" thumb-image="sliderblock.png"
- channel-image="player-ProgressBar.png" onchange="SliderChange" />
- -->
-
- <VolumnCtrl id=slider1 width=190 height=20 background-image="player-ProgressBar.png" foreground-image="player-ProgressFore.png"
- align="center" thumb-image="player-SliderBlock.png" onchange="SliderChange"/>
-
- </vbox>
- <spacer width=6/>
- <vbox height=28>
- <static id="totalplay" width="50" align="center" transparent="true"/>
- </vbox>
-
- <vbox height=28>
- <static background-image="getiao.png" width=1 height=13 align=center transparent=true/>
- </vbox>
- <spacer width=3/>
-
- <spacer width=8/>
- <vbox height=28 hMargin=0 vMargin=0 >
- <button id="volume" label="" tooltip-text="" align="center" image="volume.png" width=18 height=16 transparent="true" enable="false" onclick="openvolume"/>
- </vbox>
-
- <spacer width=5/>
- <vbox height=28>
- <VolumnCtrl id=v1 background-image="vol-capacity-nor.png" foreground-image="vol-capacity-max.png" align="center"
- thumb-image="vol-sliderblock.png" height=14 width=41 onchange="changevolume"/>
-
- </vbox>
-
-
- </hbox>
-
-
- </panel>
- <static id="" align="bottom" height=2/>
- </panel>
-
- </window>