Skip to content

Commit 3c034d4

Browse files
committed
feat: add documentation for video and audio preview
1 parent 214f98b commit 3c034d4

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
title: Video & Audio Preview
3+
slug: "/Features/video-audio-preview"
4+
---
5+
6+
**Phoenix Code** plays video and audio files right in the editor. Click a media file in the file tree and it opens with playback controls, no setup needed.
7+
8+
<!-- TODO: PLUTO - add image here showing a video playing in the editor -->
9+
10+
Above the player you see the file's path, and below it the details: dimensions (for videos), duration, and file size.
11+
12+
## Supported Formats
13+
14+
- **Video**: `mp4`, `m4v`, `webm`, `mkv`, `ogv`, `mov`
15+
- **Audio**: `mp3`, `wav`, `ogg`, `m4a`, `flac`, `aac`, `aiff`
16+
17+
> Whether a format plays can also depend on the codecs your operating system provides. If a file cannot be played, Phoenix Code shows a message stating that it cannot be played.
18+
19+
Files up to 16 MB can be previewed. If you edit a media file outside Phoenix Code, the preview refreshes automatically.

0 commit comments

Comments
 (0)