Need your help to display Video

Need your help to display Video

BY 17 Apr 2020 Tizen .NET

Hello, I’m writing a NUI application for Tizen TV.
I would like to stream a video, I use the bellow code:

public async Task Start(string uri)
{
        var source = new MediaUriSource(uri);
        var player = new Player();       
        player.Display = new Display(Window.Instance);
        player.SetSource(source);
        await player.PrepareAsync();
        player.Start();
}

 

I have the sound but not the image because I think there’s a display problem. 
I don’t know how to create a MediaView and I don’t know if I’m using the right way.
Can you help me please ?

Thanks!

Written by