mirror of https://github.com/kivy/kivy.git
Merge pull request #1893 from Zen-CODE/videoplayer_fix
VideoPlayer not responding to source change
This commit is contained in:
commit
31990c5a0b
|
@ -480,6 +480,8 @@ class VideoPlayer(GridLayout):
|
||||||
if self._video is not None:
|
if self._video is not None:
|
||||||
self._video.unload()
|
self._video.unload()
|
||||||
self._video = None
|
self._video = None
|
||||||
|
if value:
|
||||||
|
self._trigger_video_load()
|
||||||
|
|
||||||
def _load_thumbnail(self):
|
def _load_thumbnail(self):
|
||||||
if not self.container:
|
if not self.container:
|
||||||
|
|
Loading…
Reference in New Issue