Widget:
	Video:
		id: myvideo
		source: '/home/tito/code/pymt/examples/apps/videoplayer/softboy.avi'
		play: mybutton.state == 'down'
		canvas:
			Color:
				rgb: (1, 1, 1)
			BorderImage:
				texture: self.texture
				size: self.texture_size

	Image:
		source: 'kivy.jpg'
		canvas:
			PushMatrix:
			Rotate:
				angle: 1
			BorderImage:
				border: 250, 250, 250, 250
				texture: self.texture
				size: self.texture_size
			PopMatrix:

	Button:
		id: mybutton
		text: 'Push me'
		pos: 100, 100

	Slider:
		width: myvideo.width
		height: 25
		min: 0
		max: myvideo.duration
		value: myvideo.position
		pos: myvideo.pos
