[Webkit-unassigned] [Bug 34318] [GStreamer] Should show an error to the user if something goes wrong

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 12 07:41:40 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34318





--- Comment #4 from Sebastian Dröge <slomo at circular-chaos.org>  2010-02-12 07:41:40 PST ---
Proposed API, for the errors at least:

WebKitMediaPlayerController:
 Signals:
   void error (GObject *o, GError *error, const gchar *debug)
   void warning (GObject *o, GError *error, const gchar *debug)
   void info (GObject *o, GError *error, const gchar *debug)

WebKitWebView:
 Methods:
  web_kit_web_view_get_media_player_controller (WebKitWebView *view)


Later this could be extended to also have methods like:
  void web_kit_media_player_controller_set_volume(WebKitMediaPlayerController
*controller, gdouble vol)
  gdouble
web_kit_media_player_controller_get_volume(WebKitMediaPlayerController
*controller)
  [...]


Not sure if setting volume this way is a good idea though, it would mean that
all media players in the current view have the same volume. There must be a
better API for volume ;)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list