You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

39 lines
1.8 KiB

<UserControl x:Class="ECMonitor.UC.Videos.UCRtspVlcVideo"
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:ECMonitor.UC.Videos"
xmlns:vlc="clr-namespace:LibVLCSharp.WPF;assembly=LibVLCSharp.WPF"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid Background="{DynamicResource PrimaryBodyBrush}">
<Grid.RowDefinitions>
<RowDefinition Height="16"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<ScrollViewer Grid.Row="1" Name="ScrollViewer">
<StackPanel>
<vlc:VideoView x:Name="videoView1" />
</StackPanel>
</ScrollViewer>
<StackPanel Grid.Row="0" Canvas.ZIndex="2" Orientation="Horizontal" HorizontalAlignment="Right" >
<Button x:Name="btnPlay" Height="15" Width="15" Style="{DynamicResource TopRightButtonStyle}" Margin="0,0,6,0" Click="btnPlay_Click" >
<WrapPanel >
<Image Source="/min1.png" Height="13" Width="13" Panel.ZIndex="1000"/>
</WrapPanel>
</Button>
<Button x:Name="btnClose" Height="15" Width="15" Style="{DynamicResource TopRightButtonStyle}" Margin="0,0,6,0" Click="btnClose_Click">
<WrapPanel >
<Image Source="/close.png" Height="13" Width="13" Panel.ZIndex="1000"/>
</WrapPanel>
</Button>
</StackPanel>
</Grid>
</UserControl>