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

Inline Video Shortcodes

描述

This plugin extends the WordPress video tag to include the muted and playsinline attributes, which are both required for an autoplay video to correctly function on iPhone.

螢幕截圖

  • Editor page showing the correct attributes added to the video shortcode.

安裝

  1. Upload the plugin files to the /wp-content/plugins/inline-video-shortcodes directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

常見問題

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/inline-video-shortcodes directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
How do I make use of the extended attributes?

Add a self-hosted video to your WordPress post or page using the WordPress editor, either manually or using the “Add Media” button. Switch to Text mode and edit the shortcode to include the playsinline=”1″ attribute. For autoplay videos, add muted=”1″ (iPhone will only auto play videos if they are muted). The plugin will then add the correct attributes to your post or page.

評價

閱讀全部1個評價

貢獻者及開發者

“Inline Video Shortcodes” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Inline Video Shortcodes 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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