You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Abd (JIRA)" <ji...@apache.org> on 2017/03/22 18:12:41 UTC

[jira] [Commented] (TIKA-1772) Mimetype of VTT files

    [ https://issues.apache.org/jira/browse/TIKA-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15936837#comment-15936837 ] 

Abd commented on TIKA-1772:
---------------------------

The issues is still there..
according to the specs:
https://w3c.github.io/webvtt/#file-structure
"A WebVTT file body consists of the following components, in the following order:
An optional U+FEFF BYTE ORDER MARK (BOM) character.
The string "WEBVTT"."

so this kind of files will return text/plain
WEBVTT

00:01.000 --> 00:04.000
Never drink liquid nitrogen.

00:05.000 --> 00:09.000
- It will perforate your stomach.
- You could die.

ref: https://developer.mozilla.org/en-US/docs/Web/API/WebVTT_API


> Mimetype of VTT files
> ---------------------
>
>                 Key: TIKA-1772
>                 URL: https://issues.apache.org/jira/browse/TIKA-1772
>             Project: Tika
>          Issue Type: Improvement
>            Reporter: Alexander Widera
>            Priority: Minor
>             Fix For: 1.11
>
>         Attachments: upc-video-subtitles-en.vtt
>
>
> Files with extension "vtt" are "WebVTT: The Web Video Text Tracks Format" files.
> The mimetype resolved by tika is currently text/plain.
> The correct mimetype should be text/vtt.
> see: https://w3c.github.io/webvtt/



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)