Languages

Menu
Sites
Language
Media controller for web application

Hello!
I'm web developer and now i'm working on audio player and i have problem with media controller. 
I can't find any solution for web app with small controller in lock screen and notification bar.

I found some articals about that in Native section. Like this.
https://developer.tizen.org/development/guides/native-application/notifications-and-content-sharing/minicontrol-window

I haven't expirience in c/c++, but if it possible i will try.
So. My question.
Can i make gybrid application - my html5 audio player with native media controller? It is possible?

Thank you.

Responses

6 Replies
Slawek Kowalski

Yes, you can create hybrid app. Native app will work as service.

Victor Sindeev

Native services can make the media controller?

Victor Sindeev

I read that service app haven't graphic interface. It is can be problem for media controller?

John Ixion

not sure if I understand the question but these 3 media players are becoming standards ;)

https://github.com/videojs/video.js/

https://github.com/jwplayer/jwplayer

https://github.com/clappr/clappr/

Victor Sindeev

It's not whan i need.

I need that:
https://developer.tizen.org/development/guides/native-application/notifications-and-content-sharing/minicontrol-window

 

manoj kumar

Have a look @ https://developer.tizen.org/zh-hans/development/api-references/web-application?redirect=https%3A//developer.tizen.org/dev-guide/3.0.0/org.tizen.web.apireference/html/device_api/mobile/tizen/mediacontroller.html&langredirect=1#full-webidl

This will solve your requirment. You have to create media controller server for sending notifications to quick pannel or lock screen.

try
{
   var mcServer = tizen.mediacontroller.createServer();
}
catch (err)
{
   console.log(err.name + ': ' + err.message);
}