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.
])进入发布区域。 p>
Usage
用法 h3>
Vimeo:
Vimeo:
1. Enter the
short code into any post.
1.在任何帖子中输入 <!-vimeo错误:不是vimeo视频-> code>短代码。 clip_id
is the number from the clip’s URL (e.g. http://vimeo.com/123456)
clip_id code>是片段URL中的数字(例如http://vimeo.com/123456)
2. Optionally modify the clip’s appearance by specifying width or height, like so:
2.(可选)通过指定宽度或高度来修改剪辑的外观,如下所示: <!-vimeo错误:不是vimeo视频-> code>
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 code>或 height code>属性使用空值将导致AB-Video根据16:9的宽高比计算正确的尺寸。
Example:
or
示例: <!-vimeo错误:不是vimeo视频-> code>或 <!-vimeo错误:不是vimeo视频-> code> p>Youtube:
Youtube:
1. Enter the
short code into any post.
1.在任何帖子中输入 <!-YouTube错误:输入了错误的URL-> code>短代码。 clip_id
is the id from the clip’s URL after v= (e.g. http://www.youtube.com/watch?v=2LbpLRZwWtE)
clip_id code>是剪辑网址中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-> code>
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 code>或 height code>属性使用空值将导致AB-Video根据16:9的宽高比计算正确的尺寸。
Example:
or
示例: <!-YouTube错误:输入了错误的URL-> code>或 <!-YouTube错误:输入了错误的URL-> code> p>Dailymotion:
Dailymotion:
1. Enter the [dailymotion clip_id="xdjrm7"]
short code into any post.
1.在任何帖子中输入 [dailymotion clip_id =“ xdjrm7”] code>短代码。 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 code>是剪辑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”] code>
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 code>或 height code>属性使用空值将导致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 =“”] code>或 [dailymotion clip_id =“ 12345678” height =“” width =“ 640”] code >
> p>