<UserControl x:Class="SmartAquaViewer.Controls.FFPlayerControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:local="clr-namespace:SmartAquaViewer.Controls"
             mc:Ignorable="d" 
             d:DesignHeight="450" d:DesignWidth="800">
    <Border BorderThickness="1" BorderBrush="#243851">
        <Grid Background="Transparent">
            <Grid.RowDefinitions>
                <RowDefinition Height="24"></RowDefinition>
                <RowDefinition Height="*"></RowDefinition>
            </Grid.RowDefinitions>
            <Border Grid.RowSpan="2" x:Name="bdrNoSignalContainer" Visibility="{Binding IsPlayingVIsibility}">
                <Border.BorderBrush>
                    <SolidColorBrush Color="#394861" Opacity="0.4"></SolidColorBrush>
                </Border.BorderBrush>
                <Border.Background>
                    <SolidColorBrush Color="#22262D" Opacity="0.4"></SolidColorBrush>
                </Border.Background>
                <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Background="Transparent">
                    <Grid.RowDefinitions>
                        <RowDefinition></RowDefinition>
                        <RowDefinition></RowDefinition>
                    </Grid.RowDefinitions>
                    <TextBlock Name="lblVideoStatus" Text="연결 없음"
                               FontSize="17" Foreground="#414961"></TextBlock>
                </Grid>
            </Border>
            <Image x:Name="imgPlayer" Grid.RowSpan="2" Stretch="Fill" Source="{Binding CurrentFrame}"
                   HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
            <TextBlock HorizontalAlignment="Left" Grid.RowSpan="2" Margin="20, 5, 5, 0"  x:Name="lblCCTVID" 
                   FontFamily="Verna" FontSize="15" FontWeight='Bold' Foreground="White"
                   Text="{Binding CCTVInfo.DeviceId}"/>
            <!--<StackPanel Name="spTopMenuBar"  Visibility="Hidden" Grid.Row="0" Orientation="Horizontal" HorizontalAlignment="Right">
            <Image Name="imgMaximize" Source="../Images/maximize.png" Width="24" Margin="1, 5, 0, 5" MouseLeftButtonUp="imgMaximize_MouseUp" Opacity="0.7" MouseEnter="imgTopmenu_MouseEnter" MouseLeave="imgTopmenu_MouseLeave"/>
        </StackPanel>-->
            <Grid Grid.Row="1">
                <StackPanel VerticalAlignment="Bottom" Orientation="Vertical">
                    <TextBlock Text="{Binding CCTVInfo.DeviceName}" HorizontalAlignment="Right" Margin="20, 5, 5, 0"  x:Name="lblCCTVName"
                               FontFamily="{StaticResource SCDream6}" FontSize="15" Foreground="White"/>
                </StackPanel>
            </Grid>
        </Grid>
    </Border>
</UserControl>
