這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WP Amara Shortcode

外掛說明

A simple wordpress plugin to enable Amara.org shortcode.

Usage

Insert [amara url=http://URL/OF/VIDEO] into the content of your page where you want to display the subtitled video (supported video formats: Ogg, WebM, flv, mp4, Youtube, Vimeo, Dailymotion).

Optionally, you can set some other options, like explained on Amara Embed Code Usage Guide.

To insert the content option for FLV files use the format content='key1:value1|key2:value2|...|keyN:valueN' (note the wrapping quotes)

To insert the base_state language option, just add it like base_state=XX (where XX is the ISO-639-3 language code)

Examples

[amara url=http://www.youtube.com/watch?v=XSGBVzeBUbk color1=0xFF0000 width=640 height=480]

[amara url=http://vimeo.com/15308050 color=FF0000 width=640 height=480]

[amara url=http://mysite.com/myvideofile.flv width=640 height=480 content='url:flowplayer.content-3.2.0.swf|height:220|padding:30|backgroundColor:#112233|opacity:0.7|backgroundGradient:[0.1, 0.1, 1.0]|style:{p: {fontSize: 40}}']

[amara url=http://blip.tv/file/get/Miropcf-AboutUniversalSubtitles847.ogv base_state=ja]

安裝方式

  1. Upload wp_amara_shortcode.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

使用者評論

2016 年 9 月 3 日
I often write blog posts about making subtitle with Amara.org like this. Thank you very much!
閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WP Amara Shortcode〉的開發相關工作。

參與者

將〈WP Amara Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.2

Support extended to most of the options available on Amara Embed Code Usage Guide

1.1

Support extended to all video formats accepted by Amara

1.0

Plugin file created