mirror of https://github.com/kivy/kivy.git
actually set volume level in video...also swap 0 with very small value, since 0 dont seem to work
This commit is contained in:
parent
25ec0a3d4f
commit
ce678ef2ce
|
@ -120,3 +120,7 @@ class Video(Image):
|
|||
|
||||
def _on_eos(self, *largs):
|
||||
self.eos = True
|
||||
|
||||
def on_volume(self, instance, value):
|
||||
if self._video:
|
||||
self._video.volume = max(value, .0000001)
|
||||
|
|
Loading…
Reference in New Issue