Title: Shrinking Video
Author: blakelong
Published: <strong>2016 年 12 月 29 日</strong>
Last modified: 2017 年 1 月 15 日

---

搜索插件

![](https://ps.w.org/shrinking-video/assets/banner-772x250.png?rev=1565768)

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

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

# Shrinking Video

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

[下载](https://downloads.wordpress.org/plugin/shrinking-video.1.1.1.zip)

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

 [支持](https://wordpress.org/support/plugin/shrinking-video/)

## 描述

Have a video that you want your website viewers to watch? Watching a video would
typically restrict the viewer from viewing the rest of the webpage. Shrinking video
solves that problem by shrinking the video to the upper right corner of the screen
once the user scrolls past the video. Once the user scrolls back up to the page 
the video unshrinks and returns to its normal position.

#### Features

 * Shortcode [shrinkingvideo] to specify which video to shrink
 * Control over where the video is shrunk. ( top right, top left, bottom left, bottom
   right )
 * Supports any video supported by wordpresses embed system

### Shortcode

Shrinking Video uses the shortcode [shrinkingvideo] in order to specify which video
to apply the changes to.

The following shortcode accepts 5 attributes.
 [shrinkingvideo src=”” height=”” 
width=”” class=”” position=””]

 * The src attribute is required and should be the url to the video.
 * The height attribute is optional and is used to define the height of the video.
   The default value is 394.
 * The width attribute is optional and is used to define the width of the video.
   The default value is 700.
 * The class attribute is optional and is used to apply a css class to the videos
   wrapper element.
 * The position attribute is optional and is used to specify where to display the
   shrunked video. Accepts values “top right”, “top left”, “bottom left”, “bottom
   right”. The default value is “top right”.

## 屏幕截图

[⌊Shows the video before the user scrolls past.⌉⌊Shows the video before the user
scrolls past.⌉[

Shows the video before the user scrolls past.

[⌊Shows the video once the user scrolls past.⌉⌊Shows the video once the user scrolls
past.⌉[

Shows the video once the user scrolls past.

## 安装

 1. Upload the plugin files to the `/wp-content/plugins` directory, or install the 
    plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Use the shortcode [shrinkingvideo src=” height=” width=”] on a page that you wish
    to apply the new video to.

## 常见问题

  What videos are supported?

Any video that wordpress supports through their embed system is supported with Shrinking
Video.

  How do I select the video that I want to shrink?

Shrinking Video uses the shortcode [shrinkingvideo src=”] to specify which video
to shrink. For more information on the shortcode goto other notes or view the readme.
txt.

  How do I change the position of the shrunken video?

To control where the video is shrunk to change the position attribute of the shortcode[
shrinkingvideo]. For more information on the shortcode goto other notes or view 
the readme.txt.

## 评价

此插件暂无评价。

## 贡献者及开发者

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

贡献者

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

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

### 对开发感兴趣吗?

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

## 更新日志

#### Version 1.1.0

 * Updated shortcode to accept a position attribute
 * Updated shortcode to accept a class attribute for css styling

#### Version 1.0.0

 * Initial release of Shrinking Video

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**10 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 4.6.1 或更高版本 **
 *  已测试的最高版本为 **4.7.35**
 *  语言
 * [English (US)](https://wordpress.org/plugins/shrinking-video/)
 * 标签
 * [media](https://cn.wordpress.org/plugins/tags/media/)[position](https://cn.wordpress.org/plugins/tags/position/)
   [shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)[video](https://cn.wordpress.org/plugins/tags/video/)
   [videos](https://cn.wordpress.org/plugins/tags/videos/)
 *  [高级视图](https://cn.wordpress.org/plugins/shrinking-video/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/shrinking-video/reviews/#new-post)

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

## 贡献者

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

## 支持

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

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

## 捐助

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

 [ 捐助此插件 ](http://staff@digital-scripts.com)