Rickaym / manim-sideview

A Manim utility extension for Visual Studio Code.
https://marketplace.visualstudio.com/items?itemName=Rickaym.manim-sideview
MIT License
99 stars 11 forks source link

Preview seeking and PIP control #7

Closed RickDW closed 2 years ago

RickDW commented 2 years ago

Hey, thanks for making this extension, it's a really nice tool for experimenting with manim! I've run into some issues that you might be able to fix, although I'm not sure whether they're caused by the extension or VS code itself. The first issue is that you cannot control the playback of the video manually, i.e. you cannot skip ahead or go back in the video, so you need to rewatch the entire video if you missed a part. The second problem is that the picture-in-picture mode closes as soon as the video player tab is hidden. Picture-in-picture is a nice way to save some screen space, but because of this bug you can't actually save any space. Do you think this can be fixed?

Rickaym commented 2 years ago

Hi Rick! Glad you're enjoying the extension.

The restriction in seeking, generally, is imposed by VSCode, but I'm hopeful that there will be an alternative solution that VSCode supports. So far I haven't been able to come up with it (definitely open for contribs!!).

For PIP, the current known limitations are; the lack of response by the built-in buttons (most likely another VSCode limitation), which unfortunately implies the need to keep visibility if you want to use the buttons until an alternative solution is found.

RickDW commented 2 years ago

Thanks for clearing that up, it's unfortunate that it's a vs code problem. I'd offer to help but it's been a long time since I did any programming in javascript and things have changed a lot. Hopefully it'll get sorted out sometime.