Abstract video player into a widget/library

Bug #1176974 reported by Sergio Spinatelli on 2013-05-06
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Audience
Triaged
Wishlist
Unassigned

Bug Description

It would be nice if there was a simple "audience library" to make it possible to embed an audience window in another app.
For example, Birdie could embed a video window for youtube videos inside the main window, instead of opening a new one..
Just an idea..

Related branches

Daniel Fore (danrabbit) on 2014-11-22
Changed in audience:
importance: Undecided → Wishlist
Daniel Fore (danrabbit) wrote :

From a design perspective: what I would imagine is we'd just want the video player itself with the overlay playback controls. To make sure this widget can be the same as used in Audience then I guess we'd want an API to add actions to the right side of the control bar

Changed in audience:
milestone: none → loki-beta1
status: New → Confirmed
Daniel Fore (danrabbit) on 2015-06-22
summary: - Make it possible to embed audience in other apps
+ Abstract video player into a widget/library
Nathan Dyer (nathandyer) wrote :

It should be pretty easy to create an audio/video library in Granite to do exactly what we're looking for. We could actually make it so that you initialize a player and then it returns a typical GTK widget, prepacked with all the clutter textures and playback controls, that a developer could then just add to any additional container they wanted. So, in theory, it would be basically 4 lines of code to play a video.

For instance:

var video = new Granite.Media.VideoPlayer();
video.uri = "https://foo.com/foo.mp4";
pack_start(video);
video.play();
show_all();

Daniel Fore (danrabbit) on 2016-02-03
Changed in audience:
milestone: loki-beta1 → none
RabbitBot (rabbitbot-a) on 2016-02-23
Changed in audience:
status: Confirmed → Fix Committed
Cody Garver (codygarver) on 2016-02-23
Changed in audience:
status: Fix Committed → Confirmed
Changed in audience:
status: Confirmed → Triaged
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.