Title: ytlink
Author: xundeenergie
Published: <strong>2013 年 3 月 7 日</strong>
Last modified: 2013 年 4 月 1 日

---

搜索插件

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

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

# ytlink

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

[下载](https://downloads.wordpress.org/plugin/ytlink.zip)

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

 [支持](https://wordpress.org/support/plugin/ytlink/)

## 描述

Gives you a shortcode for Youtube-Videos and makes a preview-pic for this Video 
and realizes to watch the video with fancybox for wordpress oder prettyPhoto or 
in a extra tab. You choose, what you want.

The URL ist for example: http://www.youtube.com/watch?v=XmRLJ4XvpZk
 The shortcode
is

    ```
    [ytcode ytid="XmRLJ4XvpZk"]
    [ytcode ytid="XmRLJ4XvpZk" tit="Vemma Strategie Deutsch"]
    [ytcode ytid="XmRLJ4XvpZk" tit="Vemma Strategie Deutsch" x="800" y="488"]
    [ytcode ytid="XmRLJ4XvpZk" x="800" y="488" ppic="2"]
    [ytcode ytid="XmRLJ4XvpZk" ppic="default"]
    [ytcode ytid="XmRLJ4XvpZk" fso="v"]
    ```

 * Options:
 * float=”left|none|right”
    if float is none, you can choose the alignment:
 * align=”left|center|right”
 * fso=”h|v|n”
    horizontal, vertical, none filmstripes
 * ppic=”default|1|2|3″
    takes the previewpic from youtube. This are the four possible
   picture-names.
 * vb=”prettyphoto|fancybox|blank”
    if installed it uses prettyphoto or fancybox.
   Or it opens the video in a new tab (target=”_blank”)
 * pfeil=”FF0000″
    the color of the arrow is now red

### Arbitrary section

*Known Issues:
 – Publishing an Artikel/Site or update ist can cause an error-message“
Warning: Cannot modify header information – headers already sent by (…)” maybe this
is theme specific or it depends to other plugins!

### A brief Markdown Example

Unordered list:

 * Make opacity from the overlay-pic with the arrow on the preview-pic adjustable
 * resizing of the previewpic doesn’t work correct!

Here’s a link to [WordPress](https://wordpress.org/) and one to [Markdown’s Syntax Documentation](http://daringfireball.net/projects/markdown/syntax).

Titles are optional, naturally.

Markdown uses email style notation for blockquotes and I’ve been told:

> Asterisks for _emphasis_. Double it up for **strong**.

    ```
    <?php code(); // goes in backticks ?>
    ```

## 屏幕截图

 * [[
 * Page one “Settings for Youtube-Link”
 * [[
 * Settings for Fancybox

## 安装

 1. Extract `ytlink.zip` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Install “Fancybox for WordPress” and/or “prettyPhoto”, if you wish to watch the
    Videos with this Plugins. If not, the Video opens in a new Window/Tab (target=”
    _blank”
 4. Place one of the 4 shortcodes with your defaults in pages or sites
 5. Choose your default-settings in the admin-section for video-size, preview-pic-size
    and the title (if you don’t put this into the shortcode)
 6. Enjoy

## 常见问题

  Are there other languages than german for the admin-menu?

No! You can help me!

  What is this for a strange donate-link?

If you want to donate, buy a tray verve energy-drink. this is insanely healty energy
for you. you will love it! sure!!! an if you buy it on the site above, i get a few
euros for it. 😉

  What about prettyPhoto and fancybox?

Fancybox testet version 3.0.2
 prettyPhoto testet version 1.0

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### 0.9.2

#### – Preview-Bug in admin-section with prettyPhoto fixed

0.9.1 =
 = – l18n Localisation prepared – de_DE, de_AT, de_CH, en_GB .po-Files prepared

#### 0.9

#### – Choose the color of the arrow with wp-color-picker dynamically

0.8.3 =
 = – Infosite update – bugs in preview fixed

#### 0.8.2

#### – Filmstripes none: bug fixed

0.8.1 =
 = – Codeupdate – black and white arrow added

#### 0.8

 * Now you can choose the color of the arrow, which is overlay on the preview-pic

#### 0.7.1

    - Bug in Preview fixed

#### 0.7

    - If float “none”, you can now choose the alignment of the preview-pic left,
      center or right.
    - shortcode options added for alignment and float

#### 0.6

    - Adjustable float left, none, right. Choose in Admin default for all videos,
      or choose in shortcode option “float”
    - Some Bugs fixed

#### 0.5.8

    - Bugs fixed:
    - Previewpic in some Themes not shown

#### 0.5.7

    - Bugs fixed

#### 0.5.6

    - Bugs fixed – Debug-Code removed

#### 0.5.5

    - prepared the plugin for a third videobox like shadowbox or lightbox.
    - prepared undocumentet shordcode-option for the videobox for each link

#### 0.5.4

    - marging of video-title in preview smaller

#### 0.5.3

    - Video-preview opens in a new Tab/Window in admin-section
 *  - extra-file for video-preview-generation – Code-cleanup
 *  - some bugs fixed

#### 0.5.2

    - Colored tab-buttons in admin-section
 *  - Some bugs fixed

#### 0.3

    - Admin-section:
    - Choose vertical or horizontal filmstripes
 * some bugs fixed

#### 0.2

    - Admin-section, choose preview-pic-sice small|medium|large
    - including a dynamic preview-pic
    - choose to show flimstripe above and under the preview-pic or not.
    - Reset to defaults
    - Choose from different previewpics (default, 1, 2, 3)

#### 0.1

 * First version

## 额外信息

 *  版本 **0.9.2**
 *  最后更新：**13 年前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 3.0.1 或更高版本 **
 *  已测试的最高版本为 **3.5.2**
 *  语言
 * [English (US)](https://wordpress.org/plugins/ytlink/)
 * 标签
 * [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/ytlink/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/ytlink/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/ytlink/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/ytlink/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/ytlink/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/ytlink/reviews/?filter=1)

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

[查看全部评论](https://wordpress.org/support/plugin/ytlink/reviews/)

## 贡献者

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

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/ytlink/)

## 捐助

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

 [ 捐助此插件 ](http://jakobusschuerz.vemma.eu/verve-energy-drink.html)