<?xml version="1.0" encoding="UTF-8"?>
<window>
    <defaultcontrol always="true">100</defaultcontrol>
    <onload condition="!Player.PauseEnabled">SetFocus(603)</onload>
	<onload condition="Player.PauseEnabled">SetFocus(602)</onload>
	<onunload>ClearProperty(PopupMenu2Active,Home)</onunload>
	<include>OSDFade</include>
    <controls>

		<control type="group">

            <control type="slider">
		        <left>30</left>
		        <include condition="Skin.HasSetting(enable.bottomseekbar)">LowerOSDSlider</include>
		        <include condition="!Skin.HasSetting(enable.bottomseekbar)">RegularOSDSlider</include>
		        <width>1570</width>
	            <height>36</height>
		        <onup>noop</onup>
		        <ondown>100</ondown>
		        <info>Player.Progress</info>
		        <action>seek</action>
		        <texturesliderbar/>
                <textureslidernib/>
                <textureslidernibfocus/>
		        <visible>Player.SeekEnabled + !$EXP[showCompactSeekBar] + !Skin.HasSetting(UseUltraCompactOSD)</visible>
		    </control>

    		<include condition="!Skin.HasSetting(UseCompactOSD) + !Skin.HasSetting(UseUltraCompactOSD)">OSDControls</include>

		    <include condition="Skin.HasSetting(UseCompactOSD)" content="OSDControls">
		        <param name="isStandard">false</param>
			    <param name="isCompact">true</param>
			    <param name="group1top">0</param>
			    <param name="group1left">200</param>
		        <param name="group1width">560</param>
			    <param name="group1align">left</param>
		        <param name="group2top">0</param>
			    <param name="group2left">1000</param>
		        <param name="group2width">340</param>
			    <param name="group2align">right</param>
		        <param name="popupleft">840</param>
		    </include>

		    <include condition="Skin.HasSetting(UseUltraCompactOSD)" content="OSDControls">
		        <param name="isStandard">false</param>
		        <param name="isUltraCompact">true</param>
				<param name="backgroundwidth">530</param>
			    <param name="group1top">84</param>
		        <param name="group1left">0</param>
		        <param name="group1width">530</param>
		        <param name="group1align">center</param>
		        <param name="group2top">0</param>
		        <param name="group2left">0</param>
		        <param name="group2width">460</param>
		        <param name="group2align">center</param>
			    <param name="popupleft">100</param>
		    </include>

		</control>

    </controls>
</window>