/
FullScreenContentVideo.xaml
67 lines (63 loc) · 3.1 KB
/
FullScreenContentVideo.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<?xml version="1.0" encoding="utf-8"?>
<Screen
xmlns="www.team-mediaportal.com/2008/mpf/directx"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mp_special_controls="clr-namespace:MediaPortal.UI.SkinEngine.SpecialElements.Controls;assembly=SkinEngine"
xmlns:mp_special_workflow="clr-namespace:MediaPortal.UI.SkinEngine.SpecialElements.Workflow;assembly=SkinEngine"
mp_special_workflow:WorkflowContext.StateSlot="Root"
x:Name="FullscreenContentVideoScreen"
>
<Grid
x:Name="FullscreenLayoutGrid"
Context="{Model Id=4E2301B4-3C17-4a1d-8DE5-2CEA169A0256}"
> <!-- DataContext model = VideoPlayerModel -->
<Grid.Resources>
<Model x:Key="ExtendedVideoSkip" Id="8573DBD8-A257-426a-9875-9DB155D32D47"/>
</Grid.Resources>
<Grid.Background>
<VideoBrush Stream="0"/>
</Grid.Background>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Include Source="screens\FullScreenContentVideoKeyBindings.inc"/>
<Grid x:Name="BackgroundPipLayoutGrid" Grid.Row="0" Grid.Column="0" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="50"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<Control x:Name="PiP" Grid.Column="1" Grid.Row="1" Style="{ThemeResource PipControlStyle}"
IsVisible="{Binding !IsOSDVisible}"/>
</Grid> <!-- BackgroundPipLayoutGrid -->
<DockPanel x:Name="OSD_LayoutPanel" Grid.Row="0" Grid.Column="0" LastChildFill="false"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
IsVisible="{Binding IsOSDVisible}">
<Control x:Name="WindowButtons" DockPanel.Dock="Top" HorizontalAlignment="Stretch">
<Control.TemplateControl>
<Include Source="screens\FSCWindowButtons.inc"/>
</Control.TemplateControl>
</Control>
<DockPanel x:Name="OSD_LeftPanel" DockPanel.Dock="Left" Width="{ThemeResource FullScreenContentVideoPrimaryPlayerOSDWidth}"
LastChildFill="false">
<mp_special_controls:PlayerControl x:Name="PrimaryOSD" DockPanel.Dock="Bottom"
Style="{ThemeResource PrimaryVideoOSDStyle}"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"/>
</DockPanel> <!-- OSD_LeftPanel -->
<DockPanel x:Name="OSD_RightPanel" DockPanel.Dock="Right" LastChildFill="false">
<mp_special_controls:PlayerControl x:Name="SecondaryOSD" DockPanel.Dock="Bottom"
Style="{ThemeResource SecondaryMediaOSDStyle}"
VerticalAlignment="Stretch" HorizontalAlignment="Stretch"
AutoVisibility="true"/>
</DockPanel> <!-- OSD_RightPanel -->
</DockPanel> <!-- OSD_LayoutPanel -->
</Grid>
</Screen>