bugfix
This commit is contained in:
parent
a347ee9f06
commit
559b0c75a6
@ -71,6 +71,10 @@ class BaseVPlayer(FloatLayout):
|
|||||||
if vfile is not None:
|
if vfile is not None:
|
||||||
self.setSource(vfile)
|
self.setSource(vfile)
|
||||||
|
|
||||||
|
def on_size(self,*args):
|
||||||
|
self._video.size = self.size
|
||||||
|
print('*********************on_size()**************')
|
||||||
|
|
||||||
def positionChanged(self,o,v):
|
def positionChanged(self,o,v):
|
||||||
if self.muteFlg:
|
if self.muteFlg:
|
||||||
self._video.volume = 0
|
self._video.volume = 0
|
||||||
@ -352,7 +356,7 @@ class VPlayer(Swipe_VPlayer):
|
|||||||
|
|
||||||
def show_hide_menu(self,obj,touch):
|
def show_hide_menu(self,obj,touch):
|
||||||
if not self.collide_point(*touch.pos):
|
if not self.collide_point(*touch.pos):
|
||||||
print('not inside the player')
|
print('not inside the player',touch.pos,self.pos,self.size)
|
||||||
return
|
return
|
||||||
|
|
||||||
if touch.is_double_tap:
|
if touch.is_double_tap:
|
||||||
|
Loading…
Reference in New Issue
Block a user