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

Does not autoplay after rendering #64

Closed MarkHoo closed 9 months ago

MarkHoo commented 12 months ago

OS: Windows10 Python:v3.9.13 vscode:v1.80.1 manim:v0.17.3, v0.16.0.post0 sideview: v0.2.5


Watch the video introduction on YouTube, it will play automatically after rendering. But this is not the case when I use it. Every time I need to manually click on the video to play it, it seems very troublesome.

How can I configure it so that it can play automatically after rendering. Thanks!

Rickaym commented 12 months ago

Hi, You can go to File -> Preferences -> Settings and enable Manim-sideview: Auto Preview

image

MarkHoo commented 12 months ago

Hi, You can go to File -> Preferences -> Settings and enable Manim-sideview: Auto Preview

image

This option is checked by default.

This problem occurs after updating the version of vscode.

After I downgraded vscode to version 1.63 today, it returned to normal. This may be an adaptation problem between the plugin and the new version of vscode

Rickaym commented 11 months ago

Hi, You can go to File -> Preferences -> Settings and enable Manim-sideview: Auto Preview image

This option is checked by default.

This problem occurs after updating the version of vscode.

After I downgraded vscode to version 1.63 today, it returned to normal. This may be an adaptation problem between the plugin and the new version of vscode

I will look further into this and get back to you.

gd247217 commented 10 months ago

This does have to do with the vscode version.the new version of vscode will result in this situation

Rickaym commented 9 months ago

This seems to be an issue due to the fact that video players need to be muted for auto-play to work, accordingly to this post. Why it broke only now, I don't know.

Rickaym commented 9 months ago

Fixed and released as v0.2.8 a8787f7

MarkHoo commented 8 months ago

Thank you very much for your contribution to manim and the fix for this problem

Rickaym commented 8 months ago

You're welcome!