Опис
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.
Встановлення
- Upload the plugin files to the
/wp-content/plugins/inline-video-shortcodes
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
Часті питання
- Installation Instructions
-
- Upload the plugin files to the
/wp-content/plugins/inline-video-shortcodes
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the ‘Plugins’ screen in WordPress
- Upload the plugin files to the
- 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.
Відгуки
Учасники та розробники
“Inline Video Shortcodes” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:
УчасникиПерекладіть “Inline Video Shortcodes” на вашу мову.
Цікавитесь розробкою?
Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.