\hypertarget{group__Efl__Ui__Video}{}\doxysection{Video}
\label{group__Efl__Ui__Video}\index{Video@{Video}}
 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{video_inheritance_tree}}
\end{DoxyImageNoCaption}


 
\begin{DoxyImageNoCaption}
  \mbox{\includegraphics[width=\textwidth,height=\textheight/2,keepaspectratio=true]{player_inheritance_tree}}
\end{DoxyImageNoCaption}


Elementary comes with two object that help design application that need to display video.

The first one, Efl\+\_\+\+Ui\+\_\+\+Video, 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.

The second one, Elm\+\_\+\+Player is a video player that need to be linked with an Efl\+\_\+\+Ui\+\_\+\+Video. It take care of updating its content according to Emotion event and provide a way to theme itself. It also automatically raises the priority of the linked Efl\+\_\+\+Ui\+\_\+\+Video so it will use the video decoder, if available. It also activates the \char`\"{}remember\char`\"{} function on the linked Efl\+\_\+\+Ui\+\_\+\+Video object.

Both widgets inherit from the Layout one, so that all the functions acting on it also work for video objects.

This widget emits the following signals, besides the ones sent from Layout\+: \begin{DoxyItemize}
\item {\ttfamily \char`\"{}focused\char`\"{}} \+: When the video has received focus. (since 1.\+8) \item {\ttfamily \char`\"{}unfocused\char`\"{}} \+: When the video has lost focus. (since 1.\+8)\end{DoxyItemize}
The player widget emits the following signals, besides the ones sent from Layout\+:
\begin{DoxyItemize}
\item {\ttfamily \char`\"{}forward,clicked\char`\"{}} -\/ the user clicked the forward button.
\item {\ttfamily \char`\"{}info,clicked\char`\"{}} -\/ the user clicked the info button.
\item {\ttfamily \char`\"{}next,clicked\char`\"{}} -\/ the user clicked the next button.
\item {\ttfamily \char`\"{}pause,clicked\char`\"{}} -\/ the user clicked the pause button.
\item {\ttfamily \char`\"{}play,clicked\char`\"{}} -\/ the user clicked the play button.
\item {\ttfamily \char`\"{}prev,clicked\char`\"{}} -\/ the user clicked the prev button.
\item {\ttfamily \char`\"{}rewind,clicked\char`\"{}} -\/ the user clicked the rewind button.
\item {\ttfamily \char`\"{}stop,clicked\char`\"{}} -\/ the user clicked the stop button.
\end{DoxyItemize}

Default content parts of the player widget that you can use for are\+: \begin{DoxyItemize}
\item \char`\"{}video\char`\"{} -\/ A video of the player \end{DoxyItemize}
