Posts

Showing posts with the label vlc

C# WPF Trying to get Source from MediaElement and transfer it to a new control

C# WPF Trying to get Source from MediaElement and transfer it to a new control Yesterday I posted thread about VLC player and it's controls. VLC player Adding xaml elements for VLC player to WPF application After some time, I found a possible solution here: Integrate VLC player in C# (WPF) project using Vlc.DotNet I changed it just a little to fir my specific case: Xaml: <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:vlc="clr-namespace:Vlc.DotNet.Wpf;assembly=Vlc.DotNet.Wpf" xmlns:local="clr-namespace:WpfApp1" mc:Ignorable="d" Title="MainWindow" Height="350" Width="525"> <Grid> ...