<?xml version="1.0" encoding="utf-8"?>
<window left="0" top="0" width="977" height="64" titleBar="false" resizeMargins="0,0,0,0" onload="Onload();OnLoadCommon();" onunload="OnUnLoadCommon();">
	<script src="../common.js" />
	<script src="../Balloons.js" />
	<script src="playcontrolcommon.js" />
	<script src="playcontrol2.xml.js" />
	<script>
	<![CDATA[
		function Onload()
		{
			window.visible=true;
			
			//获取播放控制接口
			GetPPPlayer();
			window.$ = function(id)
			{
				return document.getElementById(id);
			};		
			//infobtn
			if (ppplayer)
			{
				$("btn_infobtn").disabled = ppplayer.bDisabledInfoBtn;
			}
		}
	]]>
	</script>
	<subwindow left="0" top="0" width="977" height="64" horizontalAlignment="stretch" verticalAlignment="stretch" visible="true" passThrough="false" backgroundColor="#FF00FF">
		<subwindow left="0" top="0" width="977" height="20" horizontalAlignment="stretch" verticalAlignment="bottom" visible="true" passThrough="false">
			<label id="live2msg" left="0" top="0" width="977" height="20" horizontalAlignment="stretch" verticalAlignment="stretch" textAlignment="center vcenter" fontFace="宋体" fontSize="12" foregroundColor="#dddddd" backgroundColor="#151515">	
				<button id="tip" left="959" top="2" width="16" height="16" image="statetipclose.png" horizontalAlignment="right" onclick="OnCloseStateTip();" tooltip="关闭提示"/>
			</label>
		</subwindow>
		<subwindow id="playctrl" left="0" top="20" width="977" height="12" horizontalAlignment="stretch" verticalAlignment="bottom" visible="true" passThrough="false" backgroundColor="RGB(21,21,21)" onsize="OnWinSize();">
			<label id="playtimelabel" left="872" top="0" width="100" height="12" value="00:00/00:00" horizontalAlignment="right" textAlignment="right vcenter" fontFace="Arial" fontSize="9" foregroundColor="RGB(204,204,204)" visible="false"/>
			<slider id="playslider" left="5" top="0" width="890" height="12" backgroundImage="PlayProgress1.bmp" foregroundImage="PlayProgress2.bmp" progressImage="PlayProgress3.bmp" thumbImage="PlayProgressThumb_normal.png" thumbHoverImage="PlayProgressThumb_hover.png" thumbDownImage="PlayProgressThumb_down.png" borderSize="0" min="0" value="0" max="0" disabled="false" horizontalAlignment="left" onmousemove="OnPlaySliderMove(event);" ondragbegin="OnPlaySliderDragBegin(this.value);" ondragend="OnPlaySliderDragEnd(this.value);" ondragabort="OnPlaySliderDragEnd(this.value);" onmouseout="OnSliderMouseOut(event);" imageStretchMode="ninegrid" nineGridMargins="2,0,2,0" cursor="hand" onsize="OnSliderSize();" onchange="OnSliderChange(this.value);"  visible="false">
				<button id="curplaytagbtn" left="0" top="0" width="11" height="12" image="mark_live3_NM3.png" hoverImage="mark_live3_HV3.png" downImage="mark_live3_HV3.png" disabledImage="mark_live3_NM3.png" onclick="OnCurPlayTagCommon(this);" cursor="hand" visible="false" onmousemove="OnCurPlayTagHover(this);" onmouseout="OnCurPlayTagOut();" />

				<button id="skipheadbeg" left="-20" top="0" width="11" height="12" image="mark_skip_NM3.png" hoverImage="mark_skip_HV3.png" downImage="mark_skip_HV3.png" disabledImage="mark_skip_NM3.png" onclick="OnHeadBegCommon(this);" cursor="hand" visible="false" onmousemove="HeadBegHover(this);" onmouseout="HeadBegOut();" />
				<button id="skipheadend" left="-20" top="0" width="11" height="12" image="mark_skip_NM3.png" hoverImage="mark_skip_HV3.png" downImage="mark_skip_HV3.png" disabledImage="mark_skip_NM3.png" onclick="OnHeadEndCommon(this);" cursor="hand" visible="false" onmousemove="HeadEndHover(this);" onmouseout="HeadEndOut();" />
				<button id="skiptailbeg" left="-20" top="0" width="11" height="12" image="mark_skip_NM3.png" hoverImage="mark_skip_HV3.png" downImage="mark_skip_HV3.png" disabledImage="mark_skip_NM3.png" onclick="OnTailBegCommon(this);" cursor="hand" visible="false" onmousemove="TailBegHover(this);" onmouseout="TailBegOut();" />
				<button id="skiptailend" left="-20" top="0" width="11" height="12" image="mark_skip_NM3.png" hoverImage="mark_skip_HV3.png" downImage="mark_skip_HV3.png" disabledImage="mark_skip_NM3.png" onclick="OnTailEndCommon(this);" cursor="hand" visible="false" onmousemove="TailEndHover(this);" onmouseout="TailEndOut();" />

				<thumb id="thumb" cursor="hand"/>
			</slider>
			<label id="playtimebeg" left="5" top="0" width="25" height="12" value="00:00" horizontalAlignment="left" textAlignment="center vcenter"  fontFace="Arial" fontSize="9" foregroundColor="RGB(204,204,204)" visible="false"/>
			<label id="playtimeend" left="947" top="0" width="25" height="12" value="00:00" horizontalAlignment="right" textAlignment="center vcenter" fontFace="Arial" fontSize="9" foregroundColor="RGB(204,204,204)" visible="false"/>
		</subwindow>
		<subwindow left="0" top="32" width="977" height="32" horizontalAlignment="stretch" verticalAlignment="bottom" visible="true" passThrough="false" backgroundImage="Controlbar.bmp" backgroundImageStretchMode="stretch">
			<button id="playbtn" left="0" top="0" width="48" height="32" image="play_normal.png" hoverImage="play_hover.png" downImage="play_down.png" disabledImage="play_disabled.png" onclick="OnPlayCommon();" tooltip="播放"/>
			<button id="pausebtn" left="0" top="0" width="48" height="32" image="pause_normal.png" hoverImage="pause_hover.png" downImage="pause_down.png" disabledImage="pause_disabled.png" onclick="OnPauseCommon();" tooltip="暂停" visible="false"/>
			<button id="stopbtn" left="48" top="0" width="30" height="32" image="stop_normal.png" hoverImage="stop_hover.png" downImage="stop_down.png" disabledImage="stop_disabled.png" onclick="OnStopCommon();" tooltip="停止"/>
			<button id="previousbtn"left="78" top="0" width="30" height="32" image="previous_normal.png" hoverImage="previous_hover.png" downImage="previous_down.png" disabledImage="previous_disabled.png" onclick="OnPreviousCommon();" tooltip="上一集"/>
			<button id="nextbtn" left="108" top="0" width="30" height="32" image="next_normal.png" hoverImage="next_hover.png" downImage="next_down.png" disabledImage="next_disabled.png" onclick="OnNextCommon();" tooltip="下一集"/>
			<button id="mutebtn" left="138" top="0" width="30" height="32" image="mute_normal.png" hoverImage="mute_hover.png" downImage="mute_down.png" disabledImage="mute_disabled.png" onclick="OnMute();" tooltip="取消静音" onmouseover="ppplayer.hover_mute=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_mute=false;checkVolumeHover.call(this);"/>
			<button id="mute2btn" left="138" top="0" width="30" height="32" image="mute2_normal.png" hoverImage="mute2_hover.png" downImage="mute2_down.png" disabledImage="mute2_disabled.png" onclick="OnMute();" tooltip="静音" onmouseover="ppplayer.hover_mute2=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_mute2=false;checkVolumeHover.call(this);"/>
			<button id="mute3btn" left="138" top="0" width="30" height="32" image="mute3_normal.png" hoverImage="mute3_hover.png" downImage="mute3_down.png" disabledImage="mute3_disabled.png" onclick="OnMute();" tooltip="静音" onmouseover="ppplayer.hover_mute3=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_mute3=false;checkVolumeHover.call(this);"/>
			<button id="mute4btn" left="138" top="0" width="30" height="32" image="mute4_normal.png" hoverImage="mute4_hover.png" downImage="mute4_down.png" disabledImage="mute4_disabled.png" onclick="OnMute();" tooltip="静音" onmouseover="ppplayer.hover_mute4=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_mute4=false;checkVolumeHover.call(this);"/>
			<button id="unmutebtn" left="138" top="0" width="30" height="32" image="mute_normal.png" hoverImage="mute_hover.png" downImage="mute_down.png" disabledImage="mute_disabled.png" onclick="OnMute();" tooltip="取消静音" onmouseover="ppplayer.hover_unmute=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_unmute=false;checkVolumeHover.call(this);"/>
			<button id="muteplusbtn" left="138" top="0" width="30" height="32" image="muteplus_normal.png" hoverImage="muteplus_hover.png" downImage="muteplus_down.png" disabledImage="muteplus_disabled.png" onclick="OnMute();"  tooltip="静音" onmouseover="ppplayer.hover_muteplus=true;checkVolumeHover.call(this);" onmouseout="ppplayer.hover_muteplus=false;checkVolumeHover.call(this);"/>
			<button id="shiftbtn" left="168" top="0" width="42" height="32" image="shift_normal.png" hoverImage="shift_hover.png" downImage="shift_down.png" disabledImage="shift_disabled.png" onclick="OnShift.call(this);" label="清晰度" foregroundColor="RGB(187,187,187)" tooltip=""/>
			<subwindow id="stateinfo" left="210" top="0" width="705" height="32" horizontalAlignment="stretch" verticalAlignment="bottom" visible="true" backgroundImage="playerinfo.bmp" backgroundImageStretchMode="ninegrid" nineGridMargins="4,6,4,6">
				<label id="stateinfolabel" left="10" top="0" width="669" height="32" fontFace="Arial"  fontSize="11" textAlignment="left vcenter" foregroundColor="RGB(204,204,204)" horizontalAlignment="stretch" value="欢迎使用PPTV" textOverflow="ellipsis" />
				<widget id="stateinfogallop" left="10" top="8" width="669" height="16" horizontalAlignment="stretch" verticalAlignment="top" contractId="" useService="true"/>  <!--  -->
				<image id="statespeedinfo" left="679" top="11" width="15" height="12" src="speed0.png" horizontalAlignment="right" visible="true" passThrough="false" onmouseover="OnSpeedInfoOver.call(this);" onmouseout="OnSpeedInfoOut();" />
			</subwindow>
			<button id="btn_infobtn" horizontalAlignment="right" left="915" top="0" width="30" height="32" image="btn_info_normal.png" hoverImage="btn_info_hover.png" downImage="btn_info_down.png" disabledImage="btn_info_disabled.png" onclick="OnBtn_info();" tooltip="节目信息"/>
			<button id="fullscreenbtn" horizontalAlignment="right" left="945" top="0" width="32" height="32" image="fullscreen_normal.png" hoverImage="fullscreen_hover.png" downImage="fullscreen_down.png" disabledImage="fullscreen_disabled.png" onclick="OnFullscreenCommon();" tooltip="全屏"/>
			<button id="unfullscreenbtn" horizontalAlignment="right" left="917" top="0" width="60" height="32" image="unfullscreen_normal.png" hoverImage="unfullscreen_hover.png" downImage="unfullscreen_down.png" disabledImage="unfullscreen_disabled.png" onclick="OnUnfullscreenCommon();" tooltip="退出全屏"/>
		</subwindow>
	</subwindow>
</window>