PaulleDemon / tkVideoPlayer

Video player for tkinter.
MIT License
83 stars 25 forks source link

window is not the size of the video #31

Closed carlosneto726 closed 1 year ago

carlosneto726 commented 1 year ago

The video player have fixed width = 150 and height = 100. To solve that i'd have to to manualy change the _set_frame_size() function. screenshot

PaulleDemon commented 1 year ago

@carlosneto726 I am unsure what you mean by video player have fixed width and height. Could you please elaborate. You should easily be able to fill the width and height.

carlosneto726 commented 1 year ago

let's say I want to play a video of size 1000 x 600, I call the play() function to play the video, but the video only shows in 150 X 100. Is there a way to do this? I'm sorry if I came across as ignorant or anything like that.

How it is: how it is

How i want: how i want

Brandon4466 commented 1 year ago

I am also facing this exact same issue

PaulleDemon commented 1 year ago

@Brandon4466 @carlosneto726 sorry for the late reply. I am guessing you haven't resized the window. The frame resides in the window so add win.geometry("widthxheight+x+y"). If this is not what you meant can you create a MRE

carlosneto726 commented 1 year ago

That works, thanks!