[wordpress插件] AB-VideoAB视频

wordpress 插件 文章 2020-01-24 03:20 672 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Allows the user to embed Youtube Vimeo or Dailymotion movie clips by entering a shortcode ( / / [dailymotion

允许用户通过输入简码来嵌入Youtube Vimeo或Dailymotion影片剪辑(<!-YouTube错误:输入了错误的URL-> / <!-vimeo错误:不是vimeo视频-> / [dailymotion

]) into the post area.

])进入发布区域。

Usage

用法

Vimeo:

Vimeo:

1. Enter the short code into any post.

1.在任何帖子中输入 <!-vimeo错误:不是vimeo视频-> 短代码。

clip_id is the number from the clip’s URL (e.g. http://vimeo.com/123456)

clip_id 是片段URL中的数字(例如http://vimeo.com/123456)

2. Optionally modify the clip’s appearance by specifying width or height, like so:

2.(可选)通过指定宽度或高度来修改剪辑的外观,如下所示: <!-vimeo错误:不是vimeo视频->

3. Using empty values for either the width or height attributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration.
   

3.对 width height 属性使用空值将导致AB-Video根据16:9的宽高比计算正确的尺寸。
   

Example: or

示例: <!-vimeo错误:不是vimeo视频-> <!-vimeo错误:不是vimeo视频->

Youtube:

Youtube:

1. Enter the short code into any post.

1.在任何帖子中输入 <!-YouTube错误:输入了错误的URL-> 短代码。

clip_id is the id from the clip’s URL after v= (e.g. http://www.youtube.com/watch?v=2LbpLRZwWtE)

clip_id 是剪辑网址中v =后的ID(例如http://www.youtube.com/watch?v=2LbpLRZwWtE)

2. Optionally modify the clip’s appearance by specifying width or height, like so:

2.(可选)通过指定宽度或高度来修改剪辑的外观,例如: <!-YouTube错误:输入了错误的URL->

3. Using empty values for either the width or heightattributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration.
   

3.对于 width height 属性使用空值将导致AB-Video根据16:9的宽高比计算正确的尺寸。
   

Example: or

示例: <!-YouTube错误:输入了错误的URL-> <!-YouTube错误:输入了错误的URL->

Dailymotion:

Dailymotion:

1. Enter the [dailymotion clip_id="xdjrm7"] short code into any post.

1.在任何帖子中输入 [dailymotion clip_id =“ xdjrm7”] 短代码。

clip_id is the id from the clip’s URL (e.g. http://www.dailymotion.com/video/xdjrm7_kylie-minogue-all-the-lovers_music#hp-v-v4)

clip_id 是剪辑URL的ID(例如http://www.dailymotion.com/video/xdjrm7_kylie-minogue-all-the-lovers_music#hp-v-v4)

2. Optionally modify the clip’s appearance by specifying width or height, like so: [dailymotion clip_id="XXXXXXX" width="400" height="225"]

2.(可选)通过指定宽度或高度来修改片段的外观,例如: [dailymotion clip_id =“ XXXXXXX” width =“ 400” height =“ 225”]

3. Using empty values for either the width or height attributes will cause AB-Video to calculate the proper dimension based on a 16:9 aspect ration.
   

3.对 width height 属性使用空值将导致AB-Video根据16:9的宽高比计算正确的尺寸。
   

Example: [dailymotion clip_id="12345678" height="300" width=""] or [dailymotion clip_id="12345678" height="" width="640"]

示例: [dailymotion clip_id =“ 12345678” height =“ 300” width =“”] [dailymotion clip_id =“ 12345678” height =“” width =“ 640”]

>

>

安装步骤

    1. Unzip ab-video.zip and upload the contained files to the /wp-content/plugins/ directory
    2. 解压缩 ab-video.zip 并将所包含的文件上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址

https://downloads.wordpress.org/plugin/ab-video.1.2.2.zip

https://downloads.wordpress.org/plugin/ab-video.1.2.2.zip

-EOF-

AI助手支持GPT4.0