mirror of
https://github.com/Microsoft/vscode
synced 2024-09-12 21:24:38 +00:00
d05d85a78b
The `asWebviewUri` methods was introduced in VS Code 1.38. It's silly that we still force every single webview to pay the cost of trying to rewrite the old style uris we supported in very old versions of VS Code Instead I've moved this logic into the extension host and disabled it for all extensions that target VS Code 1.60+ or newer. This means it never applies to internal webviews, notebooks, webview views, or custom editors (these public apis were all introduced after the switch to `asWebviewUri`) |
||
---|---|---|
.. | ||
media | ||
src | ||
.vscodeignore | ||
extension-browser.webpack.config.js | ||
extension.webpack.config.js | ||
icon.png | ||
package.json | ||
package.nls.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
Media Preview
Notice: This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
Features
This extension provides basic preview for images, audio and video files.
Supported image file extensions
.jpg
,.jpe
,.jpeg
.png
.bmp
.gif
.ico
.webp
.avif
Supported audio formats
.mp3
.wav
.ogg
Supported video formats
.mp4
(does not supportaac
audio track).webm
(vp8 only)