<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1141">
	<onload condition="!String.IsEmpty(ListItem.VideoCodec) + ![Player.HasVideo + String.IsEqual(VideoPlayer.DBID,ListItem.DBID)] + !String.Contains(ListItem.Trailer,plugin)">PlayMedia($INFO[ListItem.Trailer],1)</onload>
	<onload>SetProperty(MovieTrailerPlaying,true,Home)</onload>
	<visible>!System.IdleTime(30) + System.IdleTime(4) + !String.IsEmpty(ListItem.Trailer) + !String.IsEmpty(ListItem.VideoCodec) + Skin.HasSetting(AutoPlayTrailer) + String.IsEmpty(Window(Home).Property(MediaMenu))</visible>
	<visible>!Window.IsActive(movieinformation)</visible>
	<visible>Container.Content(movies) + !System.HasActiveModalDialog</visible>
	<visible>!ListItem.IsCollection</visible>
	<visible>String.IsEqual(Skin.String(StartTrailerDelay),five) | String.IsEmpty(Skin.String(StartTrailerDelay))</visible>
	<controls/>
</window>
