跳到内容

oEmbed for Comments

v0.6

r-a-y · 2010年3月17日 上架

Enable oEmbed support for comments. Requires WP 2.9+.

正在使用
50+
评分
5.0 / 5
累计下载
5,856
最近更新
2010年3月18日
1 条评价需要 WordPress 2.9+已测试到 2.9.2

贡献者

It’s the same oEmbed functionality you know and love from your WP 2.9 post editor, now enabled for comments!

Your comments can now embed content from the following sites:

  • YouTube
  • Blip.tv
  • Vimeo
  • DailyMotion
  • Flickr
  • Hulu
  • Viddler
  • Qik
  • Revision3
  • Photobucket
  • Scribd
  • WordPress.tv

How do you use the plugin? Simple! Input any URL from one of the listed sites above into a comment.

When the comment is posted and approved, the URL automagically transforms into the embedded content.

Blacklist feature

This feature allows you to blacklist websites from being processed by oEmbed.

For example, say I wanted to block YouTube links from being embedded.

Open oembed-config.php in a text editor and add the following line to the end:

$oembed_comments['blacklist'][] = 'youtube.com';

This will blacklist all links from YouTube.com from being parsed.

Known issues

  • Hyperlinking an oEmbeddable link and inputting the same link in plain text will show the oEmbeddable item three times (two times if using anchor text) (not many people will do this)

Special thanks

Donate!

There are a couple of ways you can choose to support me:

  • Fund my work soundtrack! Music helps me help you! A dollar lets me buy a new tune off Amazon MP3, Amie Street or emusic.com! Or if you’re feeling generous, you can help me buy a whole CD! If you choose to donate, let me know what songs or which CD you want me to listen to! 🙂
  • Rate this plugin

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums