[WordPress] 外掛分享: Responsive Video Embeds

首頁外掛目錄 › Responsive Video Embeds
WordPress 外掛 Responsive Video Embeds 的封面圖片
2,000+
安裝啟用
★★★☆☆
3.9/5 分(21 則評價)
3032 天前
最後更新
問題解決
WordPress 3.0+ v1.2.5 上架:2012-04-14

內容簡介

這個外掛會自動地以響應式的方式調整你的 WordPress 自動嵌入內容,包括影片和其他的 iframe。目前它支援以下提供者:

YouTube
Vimeo
DailyMotion
Blip.tv
Viddler
hulu.com
Revision 3
Funny or Die
WordPress.tv
Scribd

實例展示

請造訪測試頁面,你可以調整瀏覽器大小並觀看影片自動調整至最佳解析度。

關於 WordPress 自動嵌入內容

WordPress 提供自動嵌入內容功能,當文章被檢視時,作者可以自動轉換一個嵌入影片連結為一個影片播放器。你可以在管理區 > 設定 > 媒體子項目中勾選「自動嵌入內容」的核取方塊來啟用這個功能。

底層技術

請注意,這個外掛會修改 modify_embed_output 过滤器的輸出,添加 HTML & CSS 來實現此功能。

這個外掛使用的技術方法來自 Anders M. Andersen,對他致上感謝。

由 Kevin Leary 創建和維護,他是一位住在波士頓的 WordPress 開發者。

多站點相容性

這個外掛相容於 WordPress 多站點功能,只需使用「建立網站群組」功能來啟用響應式的影片調整嵌入到每個網站上。如果你只想要在特定網站上啟用響應式的影片調整,只需在該網站上啟用此外掛即可。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2.5) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Responsive Video Embeds」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin will automatically resize your WordPress auto-embeds, including video and other iframes, in a responsive fashion. It currently supports the following providers:

YouTube
Vimeo
DailyMotion
Blip.tv
Viddler
hulu.com
Revision 3
Funny or Die
WordPress.tv
Scribd

Live Example
Visit the test page where you can resize the browser and watch the videos automatically scale to fit the resolution.
About WordPress Auto-embeds
WordPress has a nifty auto-embed feature, allowing authors to automatically turn a link to a video embed into a video player when a post is viewed. To turn this feature on check the Auto-embeds check box in Administration > Settings > Media SubPanel.
Under the hood
Please note that this plugins modifies the output of modify_embed_output filter, adding HTML & CSS to make the magic happen.
Credit for the method used in this plugin goes to Anders M. Andersen for crafting the method used to gracefully resize the embeds.
Create and maintained by Kevin Leary, a WordPress developer living in Boston, MA.
Multisite Compatibility
The Responsive Video Embeds plugin is compatibly with WordPress Multisite, just use the Network Activate feature to enable responsive video resizing embed on every site. If you only want responsive video resizing to happen on a specific site, activate the plugin for that site only.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon