WP Manifestindependent plugin directory
manifest / media / youtube-embed-parameters

YouTube Embed Parameters

A WordPress plugin to customize parameters for embedded Youtube players.

★ 7stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/cedaro/youtube-embed-parameters/archive/refs/heads/develop.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Customize parameters for embedded Youtube players, including oEmbeds.

Contributors: Brady Vercher
Requires: 4.0
Tested up to: 4.1
License: GPL-2.0+

YouTube allows embedded players to be customized by setting parameters in the iframe URL, however, custom parameters are stripped when passed through the oEmbed endpoint, making it difficult to customize the players. YouTube Embed Parameters makes sure custom parameters can be added by filtering the oEmbed HTMl.

Usage

Default parameters can be set on the Settings → Media screen in the admin panel.

It's possible to override the defaults for individual players by adding parameters to the original URL. For example, when inserting a YouTube video URL into the editor, add &rel=0 to the end of the URL to disable related videos for that particular player.

Installation

Upload

  1. Download the latest release from GitHub.
  2. Go to the Plugins → Add New screen in your WordPress admin panel and click the Upload button at the top next to the "Add Plugins" title.
  3. Upload the zipped archive.
  4. Click the Activate Plugin link after installation completes.

Manual

  1. Download the latest release from GitHub.
  2. Unzip the archive.
  3. Copy the folder to /wp-content/plugins/.
  4. Go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the YouTube Embed Parameters item.

Read the Codex for more information about installing plugins manually.

Git

Clone this repository in /wp-content/plugins/:

git clone git@github.com:cedaro/youtube-embed-parameters.git

Then go to the Plugins → Installed Plugins screen in your WordPress admin panel and click the Activate link under the YouTube Embed Parameters item.