I like it, I think it's a good plan. You should check with bfiller and his team, as from my memory they started on a media player widget already.
On Thu, Feb 5, 2015 at 10:52 AM, Michał Sawicz <michal.saw...@canonical.com> wrote: > 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 subscribed to a > duplicate bug report (1343353). > https://bugs.launchpad.net/bugs/1387691 > > Title: > Media Player should not be visible in the app scope and launcher > > Status in the base for Ubuntu mobile products: > In Progress > Status in Ubuntu UX bugs: > Fix Committed > Status in mediaplayer-app package in Ubuntu: > In Progress > Status in unity8 package in Ubuntu: > Invalid > Status in url-dispatcher package in Ubuntu: > In Progress > Status in mediaplayer-app package in Ubuntu RTM: > In Progress > Status in url-dispatcher package in Ubuntu RTM: > In Progress > > Bug description: > The mediaplayer is an 'auxiliary app' in the current design approach. > That means that its purpouse it playback media launched by other apps > (e.g Messaging) or scopes (e.g. Videos). It should not be launched > from the App scopes. > > However, the 'Update' section System Settings should still display it > when an update to mediaplayer is available. > > Current behaviour > - Mediaplayer app displayed in App Scope, Launcher and Settings > > Desired behaviour > - Mediaplayer app not displayed in App Scope or Launcher > - Mediaplayer displayed in Settings > Update > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/canonical-devices-system-image/+bug/1387691/+subscriptions > -- 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