Output from a chat with tvoss today:

We foresee two parallel approaches: a media player widget and a player
using trusted sessions.

1)
If your app has video playback caps + apparmor profile, you should just be able 
to go:

VideoPlayer { // name TBD, component to be ~extracted from the current media 
player app into the SDK
    source: "url://to/video"
}

That's it. It should be an item as any other in your QML scene, and have
a button to put it fullscreen. Hardware decoding included.

2)
If you don't want to embed the player in your app, dispatching a URL to it 
should result in the video player opening as a trusted session for your app, 
covering it whole.

That might not necessarily be the behaviour we want for windowed mode,
where we might want an actual player app, but that we'll have to
determine when we get there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1387691

Title:
  Media Player should not be visible in the app scope and launcher

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1387691/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to