Merge pull request #4961 from doriclazar/patch-1

Update video.py
This commit is contained in:
Alexander Taylor 2017-01-28 01:06:49 +00:00 committed by GitHub
commit f7dac1511b
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)