Inline Video Shortcodes

November 12, 2017

Inline Video Shortcodes Plugin

Extends the built-in Wordpress video shortcode with 'muted' and 'playsinline' attributes to enabline inline and automatic html5 vi …

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.

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

Screenshots

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

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

FAQ

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.

Details

  • Version: 20171108
  • Active installations: 60
  • WordPress Version: 4.4.0
  • Tested up to: 4.8.25

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars