跳到内容

Shrinking Video

v1.1.1

blakelong · 2016年12月29日 上架

Shrinking Video is a simple plugin that allows for a video to be seen on the top right of the window when the user scrolls past the video.

正在使用
10 以下
评分
暂无
累计下载
1,232
最近更新
2017年1月15日
需要 WordPress 4.6.1+已测试到 4.7.40

贡献者

截图

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.

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”.

Plums

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

导航

说明

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

© 2026 Plums