Closed LeonPupier closed 11 months ago
Hi @LeonPupier Would you mind showing a screen recording and a minimal reproducible example, I am on Ubuntu as well, and it works as expected for me.
Okkaayy I just got it. Actually everything works fine, but I would like my video to loop once it reaches the end so I put a tkinter loop like this:
def loop(self):
# Replay the video if it's the end
if self.video.is_paused():
self.video.play()
# Loop method
self.after(10, self.loop)
So she doesn't care about the pause AND the stop sign... Is there a better technique?
Hi sorry for the late reply please upgrade the library and use the example: https://github.com/PaulleDemon/tkVideoPlayer/blob/master/examples/loop_example.py
Hey, When a video is playing, and by pressing a button I launch a function which calls video.pause() or video.close(), nothing happens. Video appears and plays well but won't pause or stop... I'm on Ubuntu with the latest pip version of your package.
Here is my code:
Thank you very much in advance for any help, Leon