Skip to content

Example for set size #18

@mvolar

Description

@mvolar

Hello,

I love your package, however I am having some trouble implementing the .set_size() method in a working Tkinter mainloop, so if you could be so kind as to provide a minimal example of manual video size setting?

The problem is when I embed the video in the Tkinter window it only shows a corner of the video in a very small box. I manually set the size using this code:

vid_player = TkinterVideo( master=root,keep_aspect=False,scaled=True)
vid_player.set_size(size=(600,600))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions