语言

Menu
Sites
Language
Tizen.NUI Video playback

Hello!

I'm using Tizen.NUI GUI libarary for the app development.  I'm using API Level 8 for Tizen 6.0 M2 Platform. I faced a problem with implementing seek bar and progress bar for the video playback since VideoView control from Tizen.NUI.BaseComponents doesn't provide any information about video progress and duration. 

I was wondering to try Player class from the Tizen.Multimedia namespace. To see playback result I've set Display property with instance Display class by passing here current Window object. Problem here is that I ahve to make Window transparent to see the video playback and I cannot add any custom controls over it.

var player = new Player();
player.SetSource(new MediaUriSource("my media url"));
Window.Instance.SetTransparency(true);
player.Display = new Display(Window.Instance);
await player.PrepareAsync();
player.Start();

Is there any way to use Player from Tizen.Multimedia namespace as a NUI component to have a possibility to add custom controls like play/pause button, progress and seek bars and etc?

Or maybe as alternative there is a way to get Duration and Progress information by using VideoView from Tizen.NUI.BaseComponents?

 

响应

2 回复
zetisno zetisno

Tizen.NUI's capabilities in video playback have truly elevated the user experience to a new level. With its advanced features and seamless integration, Tizen.NUI brings about a commendable enhancement in video playback quality and functionality.

zetisno zetisno

With its advanced features and seamless integration, Tizen.NUI brings about a commendable enhancement in video playback quality and functionality.