Title: oEmbed styling
Author: honza.skypala
Published: <strong>24 آگوست 2010</strong>
Last modified: 13 ژانویه 2016

---

جستجوی افزونه‌ها

این افزونه **با ۳ نگارش عمدهٔ اخیر وردپرس آزمایش نشده است**. ممکن است دیگر نگهداری
یا پشتیبانی نشود و هنگام استفاده با نگارش‌های تازه‌تر وردپرس مشکل سازگاری داشته 
باشد.

![](https://ps.w.org/oembed-styling/assets/icon-256x256.jpg?rev=971676)

# oEmbed styling

 توسط [honza.skypala](https://profiles.wordpress.org/honzaskypala/)

[دانلود](https://downloads.wordpress.org/plugin/oembed-styling.1.1.zip)

 * [جزئیات](https://fa.wordpress.org/plugins/oembed-styling/#description)
 * [نقد و بررسی‌ها](https://fa.wordpress.org/plugins/oembed-styling/#reviews)
 *  [نصب](https://fa.wordpress.org/plugins/oembed-styling/#installation)
 * [توسعه](https://fa.wordpress.org/plugins/oembed-styling/#developers)

 [پشتیبانی](https://wordpress.org/support/plugin/oembed-styling/)

## توضیحات

Support for oEmbed, which was added to WordPress in version 2.9, is very nice. Unfortunately
the generated oEmbed code is not easy to be centered in the text, which is a common
request. This plug-in allows for centering (or even other styling), although it 
will not solve it by itself, just makes it possible.

This plugin wraps all oEmbed code into div tags with several classes set:

 * oembed
 * oembed-mediatype (e.g. oembed-video)
 * oembed-server (e.g. oembed-youtube-com)
 * oembed-mediatype-server (e.g. oembed-video-youtube-com)

Then you can specify in your theme CSS (in the file style.css) the way you want 
the embeds to behave. E.g. by adding the following code to style.css:

    ```
    .oembed {
      text-align: center;
    }
    ```

you will make all oembeds (videos and pictures) to be centered; anyway, if you understand
CSS, you are not limited by centering, but you can add much more (like frames around
pictures etc.)

### جواز

WTFPL License 2.0 applies

    ```
               DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
                       Version 2, December 2004

    Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>

    Everyone is permitted to copy and distribute verbatim or modified
    copies of this license document, and changing it is allowed as long
    as the name is changed.

               DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
      TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION

     0. You just DO WHAT THE FUCK YOU WANT TO.
    ```

## عکس‌های صفحه

[⌊The HTML code (provided by oEmbed) is wrapped in div tags (marked)⌉⌊The HTML code(
provided by oEmbed) is wrapped in div tags (marked)⌉[

The HTML code (provided by oEmbed) is wrapped in div tags (marked)

## نصب

 1. Upload the plugin into wp-content/plugins.
 2. Activate it in the plugin administration.
 3. Modify file style.css in your theme and add formatting for oembed classes

## نقد و بررسی‌ها

![](https://secure.gravatar.com/avatar/0af0077b6897c9ba710f94ed4feea2e4bfcd9ab6da89c88fbfb0ef2d6fa4ba5a?
s=60&d=retro&r=g)

### 󠀁[Amazing plugin](https://wordpress.org/support/topic/amazing-plugin-685/)󠁿

 [Ben Gray](https://profiles.wordpress.org/bravoechon/) 16 مارس 2017

Awesome plugin – this functionality should be part of the WordPress core, in my 
opinion. Thanks for developing it.

 [ خواندن تمامی 2 نقد و بررسی‌ ](https://wordpress.org/support/plugin/oembed-styling/reviews/)

## توسعه دهندگان و همکاران

“oEmbed styling” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کرده‌اند.

مشارکت کنندگان

 *   [ honza.skypala ](https://profiles.wordpress.org/honzaskypala/)

[ترجمه “oEmbed styling” به زبان شما.](https://translate.wordpress.org/projects/wp-plugins/oembed-styling)

### علاقه‌ مند به توسعه هستید؟

[کد را مرور کنید](https://plugins.trac.wordpress.org/browser/oembed-styling/)، [مخزن SVN](https://plugins.svn.wordpress.org/oembed-styling/)
را بررسی کنید، یا از طریق [RSS](https://plugins.trac.wordpress.org/log/oembed-styling/?limit=100&mode=stop_on_copy&format=rss)
در [گزارش توسعه](https://plugins.trac.wordpress.org/log/oembed-styling/) مشترک شوید.

## گزارش تغییرات

#### 1.1

 * converted to class
 * small optimizations
 * flushing oembed cache converted to dirty, but quick method
 * license change

#### 1.0

 * Initial release.

## اطلاعات

 *  نگارش **1.1**
 *  آخرین به‌روزرسانی **11 سال پیش**
 *  نصب‌های فعال **50+**
 *  نگارش وردپرس ** 2.9 یا بالاتر **
 *  آزمایش‌شده تا **4.4.34**
 *  زبان
 * [English (US)](https://wordpress.org/plugins/oembed-styling/)
 * برچسب
 * [center](https://fa.wordpress.org/plugins/tags/center/)[css](https://fa.wordpress.org/plugins/tags/css/)
   [oembed](https://fa.wordpress.org/plugins/tags/oembed/)[video](https://fa.wordpress.org/plugins/tags/video/)
   [youtube](https://fa.wordpress.org/plugins/tags/youtube/)
 *  [نمایش پیشرفته](https://fa.wordpress.org/plugins/oembed-styling/advanced/)

## امتیازها

 5 از 5 ستاره.

 *  [  امتیاز 2 5-ستاره     ](https://wordpress.org/support/plugin/oembed-styling/reviews/?filter=5)
 *  [  امتیاز 0 4-ستاره     ](https://wordpress.org/support/plugin/oembed-styling/reviews/?filter=4)
 *  [  امتیاز 0 3-ستاره     ](https://wordpress.org/support/plugin/oembed-styling/reviews/?filter=3)
 *  [  امتیاز 0 2-ستاره     ](https://wordpress.org/support/plugin/oembed-styling/reviews/?filter=2)
 *  [  امتیاز 0 1-ستاره     ](https://wordpress.org/support/plugin/oembed-styling/reviews/?filter=1)

[بررسی شما](https://wordpress.org/support/plugin/oembed-styling/reviews/#new-post)

[مشاهدهٔ همهٔ بررسی‌ها](https://wordpress.org/support/plugin/oembed-styling/reviews/)

## مشارکت کنندگان

 *   [ honza.skypala ](https://profiles.wordpress.org/honzaskypala/)

## پشتیبانی

چیزی برای گفتن دارید؟ نیاز به کمک دارید؟

 [مشاهده انجمن پشتیبانی](https://wordpress.org/support/plugin/oembed-styling/)

## کمک مالی

آیا تمایل دارید از پیشرفت این افزونه حمایت کنید؟

 [ کمک مالی به این افزونه ](http://www.honza.info)