Video

Widget description

Display a video by using Emotion.

It embeds the video inside an Edje object, so you can do some animation depending on the video state change. It also implements a resource management policy to remove this burden from the application.

Inheritance diagram

class efl.elementary.Video(Object parent, *args, **kwargs)
Parameters
  • parent (efl.evas.Object) – The parent object

  • **kwargs – All the remaining keyword arguments are interpreted as properties of the instance

class efl.elementary.Player(Object parent, *args, **kwargs)

It takes care of updating its content according to Emotion events and provides a way to theme itself. It also automatically raises the priority of the linked Video so it will use the video decoder, if available. It also activates the “remember” function on the linked Video object.

The player widget emits the following signals, besides the ones sent from LayoutClass:

  • forward,clicked - the user clicked the forward button.

  • info,clicked - the user clicked the info button.

  • next,clicked - the user clicked the next button.

  • pause,clicked - the user clicked the pause button.

  • play,clicked - the user clicked the play button.

  • prev,clicked - the user clicked the prev button.

  • rewind,clicked - the user clicked the rewind button.

  • stop,clicked - the user clicked the stop button.

Default content parts of the player widget that you can use for are:

  • video - A video of the player

Parameters
  • parent (efl.evas.Object) – The parent object

  • **kwargs – All the remaining keyword arguments are interpreted as properties of the instance