Title: Video Lightbox for YouTube/Vimeo
Author: Milind More
Published: <strong>2014 年 2 月 4 日</strong>
Last modified: 2024 年 10 月 15 日

---

搜索插件

![](https://ps.w.org/youtubefancybox/assets/banner-772x250.jpg?rev=980253)

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

![](https://ps.w.org/youtubefancybox/assets/icon-128x128.png?rev=2439272)

# Video Lightbox for YouTube/Vimeo

 作者：[Milind More](https://profiles.wordpress.org/milindmore22/)

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

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

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

## 描述

Easy YouTube & Vimeo popups! Click thumbnails to watch videos in a sleek lightbox.
Works with shortcodes in posts, pages & widgets.

The plugin now has support for the official AMP plugin.

    ```
        [youtube videoid="<youtube videoid goes here>" height="<height goes here>" width="<width goes here>"]
        [youtube url="<youtube url goes here>"]
    ```

in the backend you can generate shortcodes also you can set default height, width,
and an option to play video automatically.

Now Supports Vimeo

    ```
        [vimeo videoid="<vimeo videoid goes here>" height="<height goes here>" width="<width goes here>"]
        [vimeo url="<vimeo url goes here>"]
    ```

## 屏幕截图

[⌊Backend of Plugin⌉⌊Backend of Plugin⌉[

Backend of Plugin

[⌊add the shortcode on a page⌉⌊add the shortcode on a page⌉[

add the shortcode on a page

[⌊Thumbnails generated from youtube video⌉⌊Thumbnails generated from youtube video⌉[

Thumbnails generated from youtube video

[⌊Youtube Video in Lightbox⌉⌊Youtube Video in Lightbox⌉[

Youtube Video in Lightbox

## 安装

 1. Upload `youtubefancybox` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Place shortcode like`[youtube videoid="<videoid goes here>"]` in your page, post,
    text widget

## 常见问题

### I have installed the plugin but nothing happens?

You need to add [shortcode](https://codex.wordpress.org/Shortcode) to your page,
post, or your text widget

### Does this plugin has backend

Yes, It does it’s in the plugin submenu named “YTubeFancyBox”.

### I need to set default height and width

You can set the default height and width on the admin side

### I don’t want to play video after lightbox opens

You can set the default autoplay option at the backend

### I need to set different height and width for each Youtube thumbnail

You can set height and width for each image thumbnail in shorcode `[youtube videoid
="<videoid>" height="<height>" width="<width>"]`

### Where can I get youtube video id

You can find youtube video id at the backend by inserting youtube video URL

### Can I use youtube video URL instead of video id

Yes, you can add `[youtube url="<youtube video URL here>"]`

## 评价

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

### 󠀁[Very sleeeeek](https://wordpress.org/support/topic/very-sleeeeek/)󠁿

 [techieoriname](https://profiles.wordpress.org/techieoriname/) 2019 年 2 月 25 
日

Best lightbox plugin have seen

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

### 󠀁[Elementor plugin doesn’t work](https://wordpress.org/support/topic/elementor-plugin-doesnt-work/)󠁿

 [dako77](https://profiles.wordpress.org/dako77/) 2018 年 3 月 19 日 2 回复

After hours of testing and finding problem I deactivate this plugin. I had problem
with text editor. This text editor wont show my text inserted in text editor… So
with this plugin is Elementor useles…

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

### 󠀁[Good and Useful plugin!](https://wordpress.org/support/topic/good-and-useful-plugin-4/)󠁿

 [RealMag777](https://profiles.wordpress.org/realmag777/) 2016 年 9 月 3 日

Thank you 😉

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/youtubefancybox/reviews/)

## 贡献者及开发者

「Video Lightbox for YouTube/Vimeo」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Milind More ](https://profiles.wordpress.org/milindmore22/)

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

### 对开发感兴趣吗?

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

## 更新日志

#### 2.7.1

Version update

#### 2.7.0

Fix : Fixed error where the vimeo data was not reetrieved.
 Updated Tested tag to
6.6.2

#### 2.6.2

Fix: short code Generator.
 Updated Tested Tag to 5.8

#### 2.6.1

Renamed plugin and updated logo to avoid copyright violations.

#### 2.6

Added Official AMP Plugin Support.
 Tested up to 5.6

#### 2.5

Tested up to 5.4.2

#### 2.4

Fixes warning.

#### 2.3

Fixed issue with directly redirecting to video.
 Added Extended version of colorboxjs

#### 2.2

Added muted autoplay for Chrome and Safari.
 https://developers.google.com/web/updates/
2017/09/autoplay-policy-changes

#### 2.1

Fixes Widget text minor issue.

#### 2.0

Updated colorboxjs

Now supports Vimeo.

#### 1.6

Updated colorboxjs

Updated for WordPress 4.0

Now supports SSL (HTTPS)

Improved look and feel

Updated text domain to be the same as a slug

Updated code to make plugin translation ready, the latest version of colorboxjs 
updated.

Fixed shortcode inside shortcode bug with return output

Updated for WordPress 4.1

Fixed iPhone iPad bugs

#### 1.0

First release. Compatible with IE9,IE10, Chrome, Firefox

## 额外信息

 *  版本 **2.7.1**
 *  最后更新：**2 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.6 或更高版本 **
 *  已测试的最高版本为 **6.6.5**
 *  PHP 版本 ** 8.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/youtubefancybox/)
 * 标签
 * [lightbox](https://cn.wordpress.org/plugins/tags/lightbox/)[popup video](https://cn.wordpress.org/plugins/tags/popup-video/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[vimeo](https://cn.wordpress.org/plugins/tags/vimeo/)
   [youtube](https://cn.wordpress.org/plugins/tags/youtube/)
 *  [高级视图](https://cn.wordpress.org/plugins/youtubefancybox/advanced/)

## 评级

 3.3 星（最高 5 星）。

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

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

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

## 贡献者

 *   [ Milind More ](https://profiles.wordpress.org/milindmore22/)

## 支持

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

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