Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
type error = private Ojs.t
val code : error -> media_error
val message : error -> string
type media = private Ojs.t
val get_duration : media -> int
val play : media -> unit
val pause : media -> unit
val stop : media -> unit
val seek_to : media -> int
val set_volume : media -> int
val start_record : media -> unit
val stop_record : media -> unit
val new_media :
string ->
(int -> unit) ->
?error_cb:(media_error -> unit) ->
?status_cb:(media_status -> unit) ->
unit ->
media