.vtt legendas WebVTT
Texto e código-fonte
| Tipo MIME | text/vtt |
|---|---|
| Descrição | legendas WebVTT |
| Sigla | VTT – Video Text Tracks |
| Categoria | Texto e código-fonte |
| Assinatura (magic bytes) | 57 45 42 56 54 54 (WEBVTT) |
| Baseado em | text/plain |
Perguntas frequentes
O que é um arquivo .vtt?
Um arquivo .vtt é um formato do tipo “legendas WebVTT” (tipo MIME text/vtt). VTT significa Video Text Tracks.
Como abro um arquivo .vtt?
Com qualquer editor de texto – Notepad++, Visual Studio Code, ou gedit e vim no Linux. O arquivo contém texto legível, possivelmente código-fonte ou configuração.
Como reconhecer um arquivo .vtt verdadeiro?
Pelos bytes do início do arquivo, a assinatura (magic bytes): 57 45 42 56 54 54 (WEBVTT). No Linux e no macOS, file --mime-type example.vtt verifica o tipo real independentemente da extensão.
Em qual formato .vtt se baseia?
Tecnicamente, um arquivo .vtt é um subtipo de “Plain text document” (text/plain); por isso, programas para esse formato base muitas vezes também conseguem lê-lo.
Qual tipo MIME corresponde a .vtt?
O tipo MIME é text/vtt. No servidor web Apache: AddType text/vtt .vtt; no nginx: types { text/vtt vtt; }.