Title: WP Easy Embed
Author: ibarmin
Published: <strong>2011 年 7 月 20 日</strong>
Last modified: 2012 年 1 月 17 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

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

# WP Easy Embed

 作者：[ibarmin](https://profiles.wordpress.org/ibarmin/)

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

 * [详情](https://cn.wordpress.org/plugins/wp-easy-embed/#description)
 * [评价](https://cn.wordpress.org/plugins/wp-easy-embed/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/wp-easy-embed/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/wp-easy-embed/#developers)

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

## 描述

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

## 屏幕截图

 * [[
 * You can preview how embed will look like before inserting shortcode into post
 * [[
 * Some providers support additional fields

## 安装

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**.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WP Easy Embed」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「WP Easy Embed」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/wp-easy-embed)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/wp-easy-embed/)，查看
[SVN仓库](https://plugins.svn.wordpress.org/wp-easy-embed/)，或通过[RSS](https://plugins.trac.wordpress.org/log/wp-easy-embed/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/wp-easy-embed/)。

## 更新日志

#### 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

## 额外信息

 *  版本 **1.2**
 *  最后更新：**14 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.3.0 或更高版本 **
 *  已测试的最高版本为 **3.3.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/wp-easy-embed/)
 * 标签
 * [embed](https://cn.wordpress.org/plugins/tags/embed/)[post](https://cn.wordpress.org/plugins/tags/post/)
   [video](https://cn.wordpress.org/plugins/tags/video/)[vimeo](https://cn.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/wp-easy-embed/advanced/)

## 评级

尚未提交反馈。

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

[查看全部评论](https://wordpress.org/support/plugin/wp-easy-embed/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/wp-easy-embed/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](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)