Textual widget for playing videos in terminal UIs. Based on textual-image.
uv add textual-videofrom textual_video import VideoPlayer
from textual.app import App, ComposeResult
class ExampleApp(App):
def compose(self) -> ComposeResult:
yield VideoPlayer('examples/video.mp4')
if __name__ == '__main__':
ExampleApp().run()