Skip to content

#1779 Include VideoPlayerView in exports #1780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2023

Conversation

MrWardKKHS
Copy link
Contributor

Will add the video player view for users. Especially helpful in quick prototyping and reducing boilerplate.

Copy link
Member

@pushfoo pushfoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good as-is. 👍

I didn't even know we had this feature, and I appreciate you bringing it to my attention!

If you have time for a follow-up PR, I'd appreciate it if you could take a look at the following:

  1. Add a small public domain MP4 we can include instead of the hard link to a local file on the original author's device
  2. Type annotations
  3. Better docstrings & formatting

@pvcraven pvcraven merged commit d4981cb into pythonarcade:development May 18, 2023
@gran4
Copy link
Contributor

gran4 commented May 18, 2023

@pvcraven it has a mistake.
from .video_player import VideoPlayer
from .video_player import VideoPlayerView

should be made
from .video_player import VideoPlayer, VideoPlayerView

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants