Title: WP Easy Embed
Author: ibarmin
Published: <strong>20. juli 2011</strong>
Last modified: 17. januar 2012

---

Søk gjennom innstikk

Dette innstikket **er ikkje testa med dei tre siste utgåvene av WordPress**. Det
kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar
av WordPress.

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

# WP Easy Embed

 Av [ibarmin](https://profiles.wordpress.org/ibarmin/)

[Last ned](https://downloads.wordpress.org/plugin/wp-easy-embed.1.2.zip)

 * [Detaljar](https://nn.wordpress.org/plugins/wp-easy-embed/#description)
 * [Omtalar](https://nn.wordpress.org/plugins/wp-easy-embed/#reviews)
 *  [Installasjon](https://nn.wordpress.org/plugins/wp-easy-embed/#installation)
 * [Utvikling](https://nn.wordpress.org/plugins/wp-easy-embed/#developers)

 [Hjelp](https://wordpress.org/support/plugin/wp-easy-embed/)

## Skildring

WP Easy Embed allows you to embed videos, images and such via [OEmbed service](http://oembed.com/)
without manually editing the post (or page).
 If content provider support additional
fields they can be used (right now only [vimeo ones](http://vimeo.com/api/docs/oembed)
are supported)

#### i18n

Plugin is ready for l10n, just a little note – there are two language files to translate,

languages/wp-easy-embed.pot and tinymce/langs/en.js

#### Plugin’s actions & filters

 * wp_easy_embed_config_{$config_key} filter
 * wp_easy_embed_init action. Runs before any button created
 * wp_easy_embed_additional_field_{$field_type} filter with $args parameter. See
   below.

#### Adding support for some provider additional fields

 * Add wp_easy_embed_config_supported_providers filter and push to passed array 
   one more string – provider name (its domain name, please)
 * Add wp_easy_embed_config_supported_attributes_{$provider_name} filter and return
   assoc array in format, described in next section

#### Supported Atrributes Array Format

    ```
    array(
        'Attribute name #1' => array('type' => 'text', 'value' => 'Default value', 'title' => 'Title for field #1')
        , 'Attribute name #2' => array('type' => 'checkbox', 'value' => [true|false], 'title' => 'Title for field #2')
        , 'Attribute name #3' => array('type'=>'select', 'values'=>array('value 1','value 2', ...), 'value' => 'Selected one', 'title' => 'Title for field #3')
        , 'Attribute name #4' => array('type' => 'your own type', 'value' => '', 'title' => 'Title for field #4')
    )
    ```

To add type, add filter handler for wp_easy_embed_additional_field_{$field_type}
and return html. Name is 1st parameter and config for that attribute is passed in
second parameter

## Skjermbilete

[⌊You can preview how embed will look like before inserting shortcode into post⌉⌊
You can preview how embed will look like before inserting shortcode into post⌉[

You can preview how embed will look like before inserting shortcode into post

[⌊Some providers support additional fields⌉⌊Some providers support additional fields⌉[

Some providers support additional fields

## Installasjon

As usual, upload the folder of WP Easy Embed to the wordpress plugin directory, 
activate it then.

To alter settings of this plugin, go to **Settings->WP Easy Embed**.

## Omtalar

There are no reviews for this plugin.

## Bidragsytarar og utviklarar

“WP Easy Embed” is open source software. The following people have contributed to
this plugin.

Contributors

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

[Omset “WP Easy Embed” til ditt eige språk.](https://translate.wordpress.org/projects/wp-plugins/wp-easy-embed)

### Interested in development?

[Les kjeldekoden](https://plugins.trac.wordpress.org/browser/wp-easy-embed/), sjekk
[SVN-lageret](https://plugins.svn.wordpress.org/wp-easy-embed/) eller abonner på
[utviklingsloggen](https://plugins.trac.wordpress.org/log/wp-easy-embed/) med [RSS](https://plugins.trac.wordpress.org/log/wp-easy-embed/?limit=100&mode=stop_on_copy&format=rss).

## Endringslogg

#### 1.2

 * multisite issues with activating and deactivating fixed
 * fixed style.css not applying to page
 * fixed js issue – removed «provider» field from [embed] tag
 * reworked inner part even more

#### 1.1

 * added additional oembed fields. right now only [vimeo ones](http://vimeo.com/api/docs/oembed)
   are supported
 * preview can be hided
 * reworked inner part a bit – reduced calls of get_option to one per instance
 * added loading animation for preview area

#### 1.0

 * initial release

## Om

 *  Version **1.2**
 *  Last updated **15 år sidan**
 *  Active installations **10+**
 *  WordPress version ** 3.3.0 eller nyare **
 *  Tested up to **3.3.2**
 *  Language
 * [English (US)](https://wordpress.org/plugins/wp-easy-embed/)
 * Tags
 * [embed](https://nn.wordpress.org/plugins/tags/embed/)[post](https://nn.wordpress.org/plugins/tags/post/)
   [video](https://nn.wordpress.org/plugins/tags/video/)[vimeo](https://nn.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://nn.wordpress.org/plugins/tags/youtube/)
 *  [Avansert vising](https://nn.wordpress.org/plugins/wp-easy-embed/advanced/)

## Vurderingar

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/wp-easy-embed/reviews/)

## Contributors

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

## Hjelp

Har du noko å seia? Treng du hjelp?

 [Sjå hjelpeforumet](https://wordpress.org/support/plugin/wp-easy-embed/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=Y885NYRSWNSS4&lc=RU&item_name=WP%20Easy%20Embed&currency_code=USD&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)