[WordPress] 外掛分享: WP Amara Shortcode

前言介紹

  • 這款 WordPress 外掛「WP Amara Shortcode」是 2013-12-04 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2013-12-05,距離現在已有 4168 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.0.1 以上版本才可以安裝。
  • 有 2 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

d79 |

外掛標籤

amara | video | amara.org | subtitles |

內容簡介

這是一個簡單的 WordPress 外掛,可啟用 Amara.org shortcode。

使用方法

在您想要顯示裝有字幕的影片的頁面內容中插入 [amara url=http://URL/OF/VIDEO](支援的影片格式:Ogg、WebM、flv、mp4、Youtube、Vimeo、Dailymotion)。

您可以選擇性地設置其他選項,這些選項如 Amara 嵌入程式碼使用指南中所述。

若要為 FLV 檔案插入 content 選項,請使用此格式 content='key1:value1|key2:value2|...|keyN:valueN'(注意括號內的引號)

若要插入 base_state 語言選項,只需像此一樣添加 base_state=XX(其中 XX 為ISO-639-3 語言代碼)

範例
[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]

原文外掛簡介

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]

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Amara Shortcode」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon