Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
/**
|
|
|
|
* @brief Add a new Elm_Player object to the given parent Elementary (container) object.
|
|
|
|
*
|
|
|
|
* @param parent The parent object
|
|
|
|
* @return a new player widget handle or @c NULL, on errors.
|
|
|
|
*
|
|
|
|
* This function inserts a new player widget on the canvas.
|
|
|
|
*
|
|
|
|
* @see elm_object_part_content_set()
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Video
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
*/
|
|
|
|
EAPI Evas_Object *elm_player_add(Evas_Object *parent);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Add a new Elm_Video object to the given parent Elementary (container) object.
|
|
|
|
*
|
|
|
|
* @param parent The parent object
|
|
|
|
* @return a new video widget handle or @c NULL, on errors.
|
|
|
|
*
|
|
|
|
* This function inserts a new video widget on the canvas.
|
|
|
|
*
|
|
|
|
* @see elm_video_file_set()
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Video
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
*/
|
2016-08-15 20:36:26 -07:00
|
|
|
EAPI Evas_Object *elm_video_add(Evas_Object *parent);
|
Elementary: Split headers for Map, Menu, Panel, Panes, Photocam, Plug,
Prefs, ProgressBar, Radio. Route, Segment Control, Separator, Slider,
Slideshow, Spinner, Systray, Table, Thumb, Video, Web.
2013-04-28 02:58:28 -07:00
|
|
|
|
2014-07-22 08:37:57 -07:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @brief Define the file or URI that will be the video source.
|
|
|
|
*
|
|
|
|
* @return @c EINA_TRUE on success, @c EINA_FALSE otherwise
|
|
|
|
*
|
|
|
|
* This function will explicitly define a file or URI as a source
|
|
|
|
* for the video of the Elm_Video object.
|
|
|
|
*
|
2016-08-15 20:36:26 -07:00
|
|
|
* @see elm_video_add()
|
2014-07-22 08:37:57 -07:00
|
|
|
* @see elm_player_add()
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Video
|
2014-07-22 08:37:57 -07:00
|
|
|
*
|
|
|
|
* @param[in] filename The file or URI to target.
|
|
|
|
Local files can be specified using file:// or by using full file paths.
|
|
|
|
URI could be remote source of video, like http:// or local source like
|
|
|
|
WebCam (v4l2://). (You can use Emotion API to request and list
|
|
|
|
the available Webcam on your system).
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_video_file_set(Eo *obj, const char *filename);
|
|
|
|
|
2015-04-14 13:19:18 -07:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @brief Get the file or URI that is used as the video source.
|
|
|
|
*
|
2016-03-16 08:05:31 -07:00
|
|
|
* @ingroup Elm_Video
|
2015-04-14 13:19:18 -07:00
|
|
|
*
|
|
|
|
* @param filename The file or URI.
|
|
|
|
*
|
|
|
|
* @since 1.14
|
|
|
|
*/
|
|
|
|
EAPI void elm_video_file_get(Eo *obj, const char **filename);
|
|
|
|
|
2016-06-08 02:16:11 -07:00
|
|
|
/**
|
|
|
|
* @brief Set the audio level of an Elm_Video object.
|
|
|
|
*
|
|
|
|
* @param[in] volume The audio level.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI void elm_video_audio_level_set(Evas_Object *obj, double volume);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get the audio level of the current video.
|
|
|
|
*
|
|
|
|
* @return The audio level.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI double elm_video_audio_level_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Change the mute state of the Elm_Video object.
|
|
|
|
*
|
|
|
|
* @param[in] mute The mute state.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI void elm_video_audio_mute_set(Evas_Object *obj, Eina_Bool mute);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get whether audio is muted.
|
|
|
|
*
|
|
|
|
* @return The mute state.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_video_audio_mute_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get the total playing time (in seconds) of the Elm_Video object.
|
|
|
|
*
|
|
|
|
* @return The total duration (in seconds) of the media file.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI double elm_video_play_length_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Is it possible to seek inside the video.
|
|
|
|
*
|
|
|
|
* @return true if is possible to seek inside the video.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI Eina_Bool elm_video_is_seekable_get(const Evas_Object *obj);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Set the current position (in seconds) to be played in the Elm_Video
|
|
|
|
* object.
|
|
|
|
*
|
|
|
|
* @param[in] position The time (in seconds) since the beginning of the media
|
|
|
|
* file.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI void elm_video_play_position_set(Evas_Object *obj, double position);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Get the current position (in seconds) being played in the Elm_Video
|
|
|
|
* object.
|
|
|
|
*
|
|
|
|
* @return The time (in seconds) since the beginning of the media file.
|
|
|
|
*
|
|
|
|
* @ingroup Elm_Video
|
|
|
|
*/
|
|
|
|
EAPI double elm_video_play_position_get(const Evas_Object *obj);
|
|
|
|
|
2016-06-22 16:50:05 -07:00
|
|
|
#include "efl_ui_video.eo.legacy.h"
|