Plugin Directory

Changeset 1225727


Ignore:
Timestamp:
08/20/2015 12:52:21 AM (11 years ago)
Author:
bobbywalters
Message:

Merge branch 'master' into svn

Location:
webvtt/trunk
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • webvtt/trunk/readme.txt

    r1224402 r1225727  
    44Requires at least: 3.6.0
    55Tested up to: 4.3
    6 Stable tag: 1.0.0
     6Stable tag: trunk
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1212== Description ==
    1313
    14 Creates any number of HTML5 <track> elements for uploaded WebVTT files for a given video.
     14Creates any number of HTML5 <track> elements for uploaded WebVTT files for videos displayed using the `[video]` shortcode.
    1515
    16 The uploaded WebVTT file names should follow this convention to be recognized:
     16The uploaded WebVTT file names must follow this convention to be recognized:
    1717`<video file name> + <separator> + <WebVTT track kind> + <separator> + <language code> + '.vtt'`
    1818
     
    2020
    2121* `<video file name>` The base file name of the video file (without it's extension).
    22 * `<separator>` A normalized single character separator typically a dash `-` or underscore `_`.
     22* `<separator>` A normalized single character separator typically a dash `-` to match the WordPress name normalization pattern.
    2323* `<WebVTT track kind>` The kind of text track. The kind is defined by the HTML5 specification and may be one of:
    2424 * captions
     
    3131* `'.vtt'` The recognized standard file extension for WebVTT files.
    3232
    33 As an example, a video file named `'my_video.mp4'` would be able to leverage uploaded track files named:
     33As an example, a video file named `'my-video.mp4'` would be able to leverage uploaded track files named:
    3434
    35 * `'my_video_chapters_en.mp4'` to add a chapters listing in English
    36 * `'my_video_subtitles_en.mp4'` to add a subtitle track in English
    37 * `'my_video_subtitles_es.mp4'` to add a subtitle track in Spanish
     35* `'my-video-chapters-en.vtt'` to add a chapters listing in English
     36* `'my-video-subtitles-en.vtt'` to add a subtitles track in English
     37* `'my-video-subtitles-es.vtt'` to add a subtitles track in Spanish
     38
     39== Installation ==
     40
     411. Upload entire **webvtt** directory to `/wp-content/plugins/` directory
     422. Activate the plugin through the 'Plugins' menu in WordPress
     433. Upload new or see existing VTT files with the correct naming convention become available to HTML5 videos displayed using the `[video]` shortcode
     44
     45== Frequently Asked Questions ==
     46
     47= Why aren't my VTT files available with my video? =
     48
     49The uploaded WebVTT file names must follow this convention to be recognized:
     50`<video file name> + <separator> + <WebVTT track kind> + <separator> + <language code> + '.vtt'`
     51
     52This avoids:
     53
     54* the need for a settings page
     55* extra meta data fields and trying to keep these in sync
     56* having to re-upload a video when a VTT file is changed or updated
     57
     58Please see the Description section for a full explanation of the VTT file name format.
     59
     60== Screenshots ==
     61
     621. Upload video and associated VTT files following the naming convention.
     632. Video being displayed using the `[video]` shortcode with the VTT tracks available.
    3864
    3965== Changelog ==
    4066
     67= 1.0.1 =
     68Released 2015-08-19
     69
     70* NEW: Added Screen shots and filled in more readme sections
     71* FIX: Corrected `.vtt` file names in examples
     72
    4173= 1.0.0 =
    4274Initial release.
Note: See TracChangeset for help on using the changeset viewer.