Title: Ninja Embed Plugin
Author: gerhard
Published: <strong>Bélú 27, 2011</strong>
Last modified: Ọ̀pẹ  12, 2012

---

Ṣàwárí àwọn plugin

Plugin yìí **kò tíì ṣe àyẹ̀wò pẹ̀lú àwọn ìtújáde mẹ́ta pàtàkì tó kẹ́yìn ti WordPress**.
Ó lè jẹ́ pé a kò tọ́jú tàbí ṣe àtìlẹ́yìn fún un mọ́, ó sì lè ní àwọn ọ̀ràn ìbámu
nígbà tí a bá lò ó pẹ̀lú àwọn ẹ̀yà WordPress tuntun.

![](https://s.w.org/plugins/geopattern-icon/ninja-embed-plugin.svg)

# Ninja Embed Plugin

 Láti ọwọ́ [gerhard](https://profiles.wordpress.org/gerhard/)

[Ṣe ìgbàsílẹ̀](https://downloads.wordpress.org/plugin/ninja-embed-plugin.zip)

 * [Àwọn àlàyé](https://yor.wordpress.org/plugins/ninja-embed-plugin/#description)
 * [Àwọn àgbéyẹ̀wò](https://yor.wordpress.org/plugins/ninja-embed-plugin/#reviews)
 *  [Ìgbéwọlẹ̀](https://yor.wordpress.org/plugins/ninja-embed-plugin/#installation)
 * [Ìdàgbàsókè](https://yor.wordpress.org/plugins/ninja-embed-plugin/#developers)

 [Ìrànlọ́wọ́](https://wordpress.org/support/plugin/ninja-embed-plugin/)

## Àpèjúwe

a WordPress plugin that would not only allow the user to easily embed media from
YouTube, Vimeo, Yahoo Video and Soundcloud into their posts, but also allow us as
developers to use it as a function in the our WordPress template files to embed 
videos in custom content types and other filters. The plugin also comes with a widget
to allow you to easily embed media in your sidebar.

The plugin currently supports YouTube, Vimeo, Yahoo Video and Soundcloud. We hope
to be able to add more online media services soon.

### Usage

**How do users use it?**

To embed a piece of media in a post or page you simply need to add the following
shortcode to you post or page content:

_[media link=”http://www.youtube.com/watch?v=EojN6r2VSR4Ìtumọ̀ Yorùbá: ″]_

You can also set a custom width and height to your media by adding the width and
height parameters to the shortcode:

_[media width=”800Ìtumọ̀ Yorùbá: ″ height=”600Ìtumọ̀ Yorùbá: ″ link=”http://www.
youtube.com/watch?v=EojN6r2VSR4Ìtumọ̀ Yorùbá: ″]_

As of version 1.3 you can now remove the container around the embed code by setting
the container to false(default is true):

_[media container=”false” link=”http://www.youtube.com/watch?v=EojN6r2VSR4Ìtumọ̀
Yorùbá: ″]_

**How do developers use it?**

DonÌtumọ̀ Yorùbá: ’t worry, we did not forget about the developers.

To embed a piece of media somewhere in the code you simply need to add the following
function to the template:

_`<?php media\_embed('http://www.youtube.com/watch?v=EojN6r2VSR4'); ?>`_

You can also set a custom width and height to the media by adding arguments for 
width and height respectively:

_`<?php media\_embed('http://www.youtube.com/watch?v=EojN6r2VSR4', 800, 600); ?>`_

As of version 1.3 it is now possible to remove the container around the embed code
you can set the container to false(default is true):

_`<?php media\_embed('http://www.youtube.com/watch?v=EojN6r2VSR4', 800, 600, false);?
>`_

OR if you donÌtumọ̀ Yorùbá: ’t want to set the width and height and just remove 
the container:

_`<?php media\_embed('http://www.youtube.com/watch?v=EojN6r2VSR4', '', '', false);?
>`_

## Ìgbéwọlẹ̀

 1. Copy the PHP file from the zip file at the bottom of this post into your WordPress“
    plugins” folder.
 2. Log in to your installation of WordPress.
 3. Go to the “Plugins” menu and activate the plugin called “Ninja Embed Plugin”
 4. Enjoy!

## FAQ

  Where is a good place I can ask questions about this plugin?

The best place would be on the plugin development page at the following location:
http://blog.ninjasforhire.co.za/65/ninja-embed-wordpress-plugin/

## Àwọn àgbéyẹ̀wò

Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.

## Àwọn Olùkópa & Olùgbéejáde

“Ninja Embed Plugin” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe
ìkópa sí plugin yìí.

Àwọn Olùkópa

 *   [ gerhard ](https://profiles.wordpress.org/gerhard/)

[Túmọ̀ “Ninja Embed Plugin” sí èdè rẹ.](https://translate.wordpress.org/projects/wp-plugins/ninja-embed-plugin)

### Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?

[Ṣàwárí koodu](https://plugins.trac.wordpress.org/browser/ninja-embed-plugin/), 
ṣàyẹ̀wò [ibi ìpamọ́ SVN](https://plugins.svn.wordpress.org/ninja-embed-plugin/),
tàbí ṣe àgbékalẹ̀ sí [àkọsílẹ̀ ìdàgbàsókè](https://plugins.trac.wordpress.org/log/ninja-embed-plugin/)
nípasẹ̀ [RSS](https://plugins.trac.wordpress.org/log/ninja-embed-plugin/?limit=100&mode=stop_on_copy&format=rss).

## Àkọsílẹ̀ àwọn àyípadà

#### 2.2

 * Updated for new SoundCloud player.
 * Fixed embedding using Https.

#### 2.1

 * Updated deprecated PHP functions.

#### 2.0

 * Yahoo Video support added.
 * Widget for embedding media in the sidebar added.

#### 1.3

 * Vimeo URL correcting added.
 * New feature added to remove video container with a parameter tag.

#### 1.2

 * Fixed issue where videos always appeared above post/page content.

#### 1.1

 * Added support for videos on YouTube profile pages.

#### 1.0

 * First Version of the plugin.

## Àkójọpọ̀ Meta

 *  Ẹ̀yà **2.2**
 *  Ìgbàgbọ́hùn tó kẹ́yìn **ọdún 14 sẹ́yìn**
 *  Àwọn ìgbéwọlẹ̀ tó ṣiṣẹ́ **60+**
 *  Ẹ̀yà WordPress ** 3.2.1 tàbí ju bẹ́ẹ̀ lọ **
 *  Dánwò dé **3.5.2**
 *  Èdè
 * [English (US)](https://wordpress.org/plugins/ninja-embed-plugin/)
 * Àwọn àmì
 * [embed](https://yor.wordpress.org/plugins/tags/embed/)[media](https://yor.wordpress.org/plugins/tags/media/)
   [soundcloud](https://yor.wordpress.org/plugins/tags/soundcloud/)[vimeo](https://yor.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://yor.wordpress.org/plugins/tags/youtube/)
 *  [Ìwòye Tó Péye](https://yor.wordpress.org/plugins/ninja-embed-plugin/advanced/)

## Àwọn ìbò

 5 lára àwọn ìràwọ̀ 5.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/#new-post)

[Wo gbogbo àwọn àgbéyẹ̀wò](https://wordpress.org/support/plugin/ninja-embed-plugin/reviews/)

## Àwọn Olùkópa

 *   [ gerhard ](https://profiles.wordpress.org/gerhard/)

## Ìrànlọ́wọ́

Nǹkan wà tí o fẹ́ sọ? Ṣé o nílò ìrànlọ́wọ́?

 [Wo àpéjọ ìrànlọ́wọ́](https://wordpress.org/support/plugin/ninja-embed-plugin/)

## Ṣe ìtọrẹ

Ṣé o fẹ́ ṣe àtìlẹ́yìn fún ìlọsíwájú plugin yìí?

 [ Ṣe ìtọrẹ sí plugin yìí ](http://blog.ninjasforhire.co.za/65/ninja-embed-wordpress-plugin/)