Changeset 1225727
- Timestamp:
- 08/20/2015 12:52:21 AM (11 years ago)
- Location:
- webvtt/trunk
- Files:
-
- 1 deleted
- 1 edited
-
LICENSE (deleted)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
webvtt/trunk/readme.txt
r1224402 r1225727 4 4 Requires at least: 3.6.0 5 5 Tested up to: 4.3 6 Stable tag: 1.0.06 Stable tag: trunk 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 12 12 == Description == 13 13 14 Creates any number of HTML5 <track> elements for uploaded WebVTT files for a given video.14 Creates any number of HTML5 <track> elements for uploaded WebVTT files for videos displayed using the `[video]` shortcode. 15 15 16 The uploaded WebVTT file names shouldfollow this convention to be recognized:16 The uploaded WebVTT file names must follow this convention to be recognized: 17 17 `<video file name> + <separator> + <WebVTT track kind> + <separator> + <language code> + '.vtt'` 18 18 … … 20 20 21 21 * `<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. 23 23 * `<WebVTT track kind>` The kind of text track. The kind is defined by the HTML5 specification and may be one of: 24 24 * captions … … 31 31 * `'.vtt'` The recognized standard file extension for WebVTT files. 32 32 33 As an example, a video file named `'my _video.mp4'` would be able to leverage uploaded track files named:33 As an example, a video file named `'my-video.mp4'` would be able to leverage uploaded track files named: 34 34 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 41 1. Upload entire **webvtt** directory to `/wp-content/plugins/` directory 42 2. Activate the plugin through the 'Plugins' menu in WordPress 43 3. 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 49 The uploaded WebVTT file names must follow this convention to be recognized: 50 `<video file name> + <separator> + <WebVTT track kind> + <separator> + <language code> + '.vtt'` 51 52 This 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 58 Please see the Description section for a full explanation of the VTT file name format. 59 60 == Screenshots == 61 62 1. Upload video and associated VTT files following the naming convention. 63 2. Video being displayed using the `[video]` shortcode with the VTT tracks available. 38 64 39 65 == Changelog == 40 66 67 = 1.0.1 = 68 Released 2015-08-19 69 70 * NEW: Added Screen shots and filled in more readme sections 71 * FIX: Corrected `.vtt` file names in examples 72 41 73 = 1.0.0 = 42 74 Initial release.
Note: See TracChangeset
for help on using the changeset viewer.