quick fix 2
This commit is contained in:
14
Lib/site-packages/bvPlayer/bvPlayer.py
Normal file
14
Lib/site-packages/bvPlayer/bvPlayer.py
Normal file
@ -0,0 +1,14 @@
|
||||
from tkinter import *
|
||||
from . import VideoPlayer
|
||||
|
||||
class bvPlayer:
|
||||
def __init__(self, file, **kwargs):
|
||||
root = Tk()
|
||||
player = VideoPlayer.VideoPlayer(root, file, **kwargs)
|
||||
|
||||
try:
|
||||
player.play()
|
||||
except KeyboardInterrupt:
|
||||
player.kill()
|
||||
|
||||
root.mainloop()
|
||||
Reference in New Issue
Block a user