Title: Advanced Custom Fields: oEmbed Field
Author: edwardtownend
Published: <strong>2014 年 1 月 16 日</strong>
Last modified: 2014 年 9 月 4 日

---

搜索插件

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

![](https://s.w.org/plugins/geopattern-icon/advanced-custom-fields-oembed-field.
svg)

# Advanced Custom Fields: oEmbed Field

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

[下载](https://downloads.wordpress.org/plugin/advanced-custom-fields-oembed-field.zip)

 * [详情](https://cn.wordpress.org/plugins/advanced-custom-fields-oembed-field/#description)
 * [评价](https://cn.wordpress.org/plugins/advanced-custom-fields-oembed-field/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/advanced-custom-fields-oembed-field/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/advanced-custom-fields-oembed-field/#developers)

 [支持](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/)

## 描述

Requires the Advanced Custom Fields plugin. Output can be selected as HTML embed,
URL, or data object. Includes settings for preview and output resolution and will
accept any provider registered in WordPress.

**With the news that ACF V5 includes a built-in oEmbed field type, we’re discontinuing
further development of this plugin. The plugin will remain online for legacy V4 
support to those that haven’t upgraded, but only essential updates will be released.**

#### Compatibility

This add-on will work with:

 * Advanced Custom Fields version 4 and up
 * Repeater Field

## 屏幕截图

[⌊The Add Field interface.⌉⌊The Add Field interface.⌉[

The Add Field interface.

[⌊The field in an Advanced Custom Field.⌉⌊The field in an Advanced Custom Field.⌉[

The field in an Advanced Custom Field.

## 安装

This add-on can be treated as both a WP plugin and a theme include.

#### Plugin

 1. Copy the ‘acf-oembed’ folder into your plugins folder
 2. Activate the plugin via the Plugins admin page

#### Include

 1. Copy the ‘acf-oembed’ folder into your theme folder (can use sub folders). You 
    can place the folder anywhere inside the ‘wp-content’ directory
 2. Edit your functions.php file and add the code below (Make sure the path is correct
    to include the acf-oembed.php file)
 3. add_action(‘acf/register_fields’, ‘my_register_fields’);
 4. function my_register_fields() { include_once(‘acf-oembed/acf-oembed.php’); }

## 常见问题

  What oEmbed sources are supported?

Any supported by WordPress. See [Embeds on wordpress.org](https://codex.wordpress.org/Embeds)

  Can I use this in a repeater field?

Yep, you sure can.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Advanced Custom Fields: oEmbed Field」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

[帮助将「Advanced Custom Fields: oEmbed Field」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/advanced-custom-fields-oembed-field)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.3

 * Remove PHP short tag dependancy
 * Fix for ‘Missing argument’ warning when getting the object and not supplying 
   arguments

#### 1.0.2

 * Improve reliability on freaky servers

#### 1.0.1

 * Prevent PHP error caused by missing v3 compatibility

#### 1.0.0

 * Initial Release.

## 额外信息

 *  版本 **1.0.3**
 *  最后更新：**12 年前**
 *  活跃安装数量 **900+**
 *  WordPress 版本 ** 3.4 或更高版本 **
 *  已测试的最高版本为 **4.0.38**
 *  语言
 * [English (US)](https://wordpress.org/plugins/advanced-custom-fields-oembed-field/)
 * 标签
 * [acf](https://cn.wordpress.org/plugins/tags/acf/)[advanced custom fields](https://cn.wordpress.org/plugins/tags/advanced-custom-fields/)
   [oembed](https://cn.wordpress.org/plugins/tags/oembed/)
 *  [高级视图](https://cn.wordpress.org/plugins/advanced-custom-fields-oembed-field/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/advanced-custom-fields-oembed-field/)