Skip to content
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

MP4 support in VSCodium webview? #152

Closed
xpol opened this issue May 9, 2019 · 5 comments
Closed

MP4 support in VSCodium webview? #152

xpol opened this issue May 9, 2019 · 5 comments

Comments

@xpol
Copy link

xpol commented May 9, 2019

Is it possible to configure VSCodium with full audio/video playback support in its webview?

I'm utilize VSCodium as a multimedia content authoring tool using markdown files.
As I know, The official vscode can't playback any video/audio in its webview.

I found VSCodium can playback my mp3 files.

But for the video, It can playback mp4 format.

Insert follow code into a markdown file. It the built-in markdown preview has a gray play button.

<video controls>
  <source src="http://techslides.com/demos/sample-videos/small.mp4" type="video/mp4">
</video>

BTW: Atom can have fully audio/video playback support, is it use different version of ffmpeg?

@xpol xpol changed the title Full audio/video playback support in its webview? Full audio/video playback support in VSCodium webview? May 9, 2019
@xpol xpol changed the title Full audio/video playback support in VSCodium webview? Full MP4 playback support in VSCodium webview? May 11, 2019
@xpol xpol changed the title Full MP4 playback support in VSCodium webview? MP4 support in VSCodium webview? May 11, 2019
@stripedpajamas
Copy link
Member

The official vscode can't playback any video/audio in its webview.

@xpol -- VSCodium is a build of vscode. As such, we do not implement any features or fix any bugs in vscode itself, we only run the already written build scripts. MS has no plans to make this work, but if they ever do, it will then work in VSCodium.

@xpol
Copy link
Author

xpol commented May 14, 2019

Thanks for replay.

In case anyone wants MP4 and other video audio support for VSCode/VScodium:

I have solved this by replace VSCode/VScodium packed libffmpeg with libffmpeg form https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases .

@stripedpajamas
Copy link
Member

Awesome!! I would recommend you also put this workaround in the vscode issue to help out others! 🙏

@xpol
Copy link
Author

xpol commented May 14, 2019

Those vscode issues are closed can't add any comments.

@ejabu
Copy link

ejabu commented Aug 15, 2019

Thanks for replay.

In case anyone wants MP4 and other video audio support for VSCode/VScodium:

I have solved this by replace VSCode/VScodium packed libffmpeg with libffmpeg form https://github.com/iteufel/nwjs-ffmpeg-prebuilt/releases .

Is there any step by step guides to use / implement it ?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants