add close button

This commit is contained in:
Vova
2024-05-05 16:19:58 +03:00
parent 3dfeea71f0
commit 12289c52f8
20 changed files with 327 additions and 191 deletions
+3 -3
View File
@@ -1,5 +1,4 @@
using LibVLCSharp.Shared;
using System.Windows.Input;
using System.Windows.Input;
namespace TV_Player.MAUI
{
@@ -26,6 +25,7 @@ namespace TV_Player.MAUI
//_libVLC = new LibVLC();
//_mediaPlayer = new MediaPlayer(new Media(_libVLC, new Uri(_currentProgram.Url)));
//_mediaPlayer.Play();
URLSource = _currentProgram.Url;
PlayCommand = new Command(OnPlayButtonClicked);
}
@@ -40,7 +40,7 @@ namespace TV_Player.MAUI
{
URLSource = _currentProgram.Url;
}
catch (Exception ex)
catch
{
// Handle exceptions
}