updated to video play

This commit is contained in:
2025-03-25 14:58:08 +02:00
parent c6e7d38a69
commit 1d207b6ee2
3 changed files with 1 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ class MediaPlayer(Screen):
self.video_player.opacity = 1
self.video_player.play()
self.image_display.opacity = 0
Clock.schedule_once(self.next_media, duration)
elif file_extension in ['.jpg', '.jpeg', '.png', '.gif']:
self.image_display.source = file_path
self.image_display.opacity = 1

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 742 KiB