This commit is contained in:
yumoqing 2020-08-08 16:05:01 +08:00
parent 559b0c75a6
commit 5ca4e8ff99
2 changed files with 3 additions and 1 deletions

View File

@ -19,6 +19,7 @@ from kivy.properties import BooleanProperty
from kivy.uix.widget import Widget from kivy.uix.widget import Widget
from kivy.app import App from kivy.app import App
from kivy.factory import Factory from kivy.factory import Factory
from kivy.uix.video import Video
from .baseWidget import * from .baseWidget import *
from .toolbar import * from .toolbar import *
from .dg import DataGrid from .dg import DataGrid
@ -499,3 +500,4 @@ class Blocks(EventDispatcher):
return return
Factory.register('Blocks',Blocks) Factory.register('Blocks',Blocks)
Factory.register('Video',Video)

View File

@ -73,7 +73,7 @@ class BaseVPlayer(FloatLayout):
def on_size(self,*args): def on_size(self,*args):
self._video.size = self.size self._video.size = self.size
print('*********************on_size()**************') print('****on_size()****',self.pos,self.size,self._video.pos,self._video.size)
def positionChanged(self,o,v): def positionChanged(self,o,v):
if self.muteFlg: if self.muteFlg: