summaryrefslogtreecommitdiff
path: root/src/lib/efl
diff options
context:
space:
mode:
authorJunsuChoi <jsuya.choi@samsung.com>2020-01-28 16:36:33 +0100
committerXavi Artigas <xavierartigas@yahoo.es>2020-01-28 16:56:04 +0100
commit7e7496f25a37957ed2c249f6c7eab088c819ff5a (patch)
tree1c59ec7454dfd009f86b8c4dcc8ea171c47083b7 /src/lib/efl
parent897f27eff407638f8b6979951eed32284737e6a0 (diff)
Efl.Player: Move autoplay/playback_loop from Efl.Ui.Vg_Animation
Summary: Move autoplay and playback_loop method from Efl.Ui.Vg_Animation/ and The playback_loop changed from looping because it conflict with the efl_ui_scrollable's symbol. Efl.Ui.Image and Efl.Ui.Image_Zoomable is needed implements about this method. So it temporarily set the @empty marker. ref T8476 Test Plan: elementary_test -to "Vector Graphics Animation" check to 'loop' Reviewers: Hermet, bu5hm4n, zmike, Jaehyun_Cho, jsuya Reviewed By: zmike Subscribers: cedric, #reviewers, #committers, woohyun, kimcinoo Tags: #efl Maniphest Tasks: T8476 Differential Revision: https://phab.enlightenment.org/D11212
Diffstat (limited to 'src/lib/efl')
-rw-r--r--src/lib/efl/interfaces/efl_player.eo39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/lib/efl/interfaces/efl_player.eo b/src/lib/efl/interfaces/efl_player.eo
index 90717ff7a3..82411fa7f4 100644
--- a/src/lib/efl/interfaces/efl_player.eo
+++ b/src/lib/efl/interfaces/efl_player.eo
@@ -93,6 +93,45 @@ interface Efl.Player
93 speed: double; [[The play speed in the [0, infinity) range.]] 93 speed: double; [[The play speed in the [0, infinity) range.]]
94 } 94 }
95 } 95 }
96 @property autoplay {
97 [[When $true, playback will start as soon as the media is ready.
98
99 This means that the media file has been successfully loaded and the
100 object is visible.
101
102 If the object becomes invisible later on the playback is paused,
103 resuming when it is visible again.
104
105 Changing this property affects the next media being loaded,
106 so set it before setting the media file.
107
108 @since 1.24
109 ]]
110 set {
111 }
112 get {
113 }
114 values {
115 autoplay: bool; [[Auto play mode, Default is $false.]]
116 }
117 }
118 @property playback_loop {
119 [[Enable playback looping.
120
121 When $true, playback continues from the beginning when it reaches the last frame.
122 Otherwise, playback stops.
123 This works both when playing forward and backward.
124
125 @since 1.24
126 ]]
127 set {
128 }
129 get {
130 }
131 values {
132 looping: bool; [[Loop mode, Default is $false.]]
133 }
134 }
96 } 135 }
97 events { 136 events {
98 playing,changed: bool; [[Called when the playing state has changed. The event value reflects the current state. @since 1.24]] 137 playing,changed: bool; [[Called when the playing state has changed. The event value reflects the current state. @since 1.24]]