跳到内容

WebVTT

v1.3.2

bobbywalters · 2015年8月19日 上架

Add HTML5 text track files to videos.

正在使用
10+
评分
5.0 / 5
累计下载
2,549
最近更新
2017年12月4日
1 条评价需要 WordPress 3.6.0+已测试到 4.9.36

贡献者

截图

Upload video and associated VTT files following the naming convention.
Upload video and associated VTT files following the naming convention.
Video being displayed using the [video] shortcode with the VTT tracks available.
Video being displayed using the [video] shortcode with the VTT tracks available.
Video and VTT attachments display reference links on media library and edit pages.
Video and VTT attachments display reference links on media library and edit pages.
Localization support on all screens.
Localization support on all screens.

Creates any number of HTML5 elements for uploaded WebVTT files for videos displayed using the [playlist] and [video] shortcodes.

The uploaded WebVTT file names must follow this convention to be recognized:
+ + + + + ‘.vtt’

With each value described as:

  • <video file name> The base file name of the video file (without it’s extension).
  • <separator> A normalized single character separator typically a dash - to match the WordPress name normalization pattern.
  • <WebVTT track kind> The kind of text track. The kind is defined by the HTML5 specification and may be one of:
    • captions
    • chapters
    • descriptions
    • metadata
    • subtitles
  • <separator> (defined above)
  • <language code> The language of the track text data. This is a lower case 2 character code that represents the language only part of a full BCP 47 language tag. Here’s a listing of available language codes for reference.
  • '.vtt' The recognized standard file extension for WebVTT files.

As an example, a video file named 'my-video.mp4' would be able to leverage uploaded track files named:

  • 'my-video-chapters-en.vtt' to add English chapters
  • 'my-video-subtitles-en.vtt' to add English subtitles
  • 'my-video-subtitles-es.vtt' to add Spanish subtitles

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums