Skip to content

Commit c2a2ad4

Browse files
authored
Rename image-preview extension to media-preview (microsoft#162093)
Fixes microsoft#162092 Also removes `aac` from the list of supported audio formats
1 parent fd06e2f commit c2a2ad4

33 files changed

+39
-26
lines changed

build/gulpfile.extensions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const compilations = [
4646
'gulp/tsconfig.json',
4747
'html-language-features/client/tsconfig.json',
4848
'html-language-features/server/tsconfig.json',
49-
'image-preview/tsconfig.json',
5049
'ipynb/tsconfig.json',
5150
'jake/tsconfig.json',
5251
'json-language-features/client/tsconfig.json',
@@ -55,6 +54,7 @@ const compilations = [
5554
'markdown-language-features/server/tsconfig.json',
5655
'markdown-language-features/tsconfig.json',
5756
'markdown-math/tsconfig.json',
57+
'media-preview/tsconfig.json',
5858
'merge-conflict/tsconfig.json',
5959
'microsoft-authentication/tsconfig.json',
6060
'npm/tsconfig.json',

build/npm/dirs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ exports.dirs = [
2323
'extensions/gulp',
2424
'extensions/html-language-features',
2525
'extensions/html-language-features/server',
26-
'extensions/image-preview',
2726
'extensions/ipynb',
2827
'extensions/jake',
2928
'extensions/json-language-features',
3029
'extensions/json-language-features/server',
3130
'extensions/markdown-language-features/server',
3231
'extensions/markdown-language-features',
3332
'extensions/markdown-math',
33+
'extensions/media-preview',
3434
'extensions/merge-conflict',
3535
'extensions/microsoft-authentication',
3636
'extensions/notebook-renderers',

extensions/image-preview/README.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

extensions/media-preview/README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Media Preview
2+
3+
**Notice:** This extension is bundled with Visual Studio Code. It can be disabled but not uninstalled.
4+
5+
## Features
6+
7+
This extension provides basic preview for images, audio and video files.
8+
9+
### Supported image file extensions
10+
11+
- `.jpg`, `.jpe`, `.jpeg`
12+
- `.png`
13+
- `.bmp`
14+
- `.gif`
15+
- `.ico`
16+
- `.webp`
17+
- `.avif`
18+
19+
20+
### Supported audio formats
21+
22+
- `.mp3`
23+
- `.wav`
24+
- `.ogg`
25+
26+
### Supported video formats
27+
28+
- `.mp4` (does not support `aac` audio track)
29+
- `.webm` (vp8 only)
File renamed without changes.

0 commit comments

Comments
 (0)