Rickaym / manim-sideview

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

Wrong videoSrc when rendering remote code on Windows subsystems for Linux #9

Closed WangQianliang closed 2 years ago

WangQianliang commented 2 years ago

I use all default settings. And the video file rendering is fine. Only the video src path is wrong.

It should be something like https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-webview.net/...... like the final js script src. But instead, it's https://file%2B.vscode-resource.vscode-webview.net/.......

Rickaym commented 2 years ago

Can you please tell me more about your working configurations in vscode with the log that gets printed in the output? What do you mean by the js section script?

WangQianliang commented 2 years ago

My working configuration is that I use vs code with Remote-WSL extension so that I can edit code on wsl from vscode on my windows. I use default settings for Manim-Sideview.

image image

But if I change the video src manually. Everything works fine. image

Rickaym commented 2 years ago

090d8de9c712438471c378f8fb896b96caeefe3c

Note: should be fixed in update 0.0.13

Rickaym commented 2 years ago

c9476261f4964cce7e50717b6e2e785e09a64139

Final patch. This commit should fix the issue.