Update video.py

This commit is contained in:
Lazar Doric 2017-01-27 18:59:40 -06:00 committed by GitHub
parent 8cc8a64938
commit 658f38fd7d
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ the video is loaded (when the texture is created)::
def on_position_change(instance, value):
print('The position in the video is', value)
def on_duration_change(instance, value):
print('The duration of the video is', video)
print('The duration of the video is', value)
video = Video(source='PandaSneezes.avi')
video.bind(position=on_position_change,
duration=on_duration_change)