该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Inline Video Shortcodes

Description

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.

Installation

  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.

Reviews

此插件暂无评论。

Contributors & Developers

“Inline Video Shortcodes” 是开源软件。 以下人员对此插件做出了贡献。

Contributors

将“Inline Video Shortcodes”翻译成您的语言。

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.