內容簡介
這個外掛可以讓你在一個方框中顯示多個影片的群組。它使用 AJAX 驅動的選項卡系統來載入所選擇的影片。目前該外掛支援 YouTube、Vimeo、Daily Motion、Vevo、Metacafe、MuchShare、NowVideo、VideoMega、ShareVid、Flashx.TV 和 Putlocker 上的影片。CSS 可完全自訂。
[mvob] 簡碼用法
[mvob] 簡碼需要以下兩個參數之一:
group – 您想要顯示的群組 ID,例如:[mvob group=1]
video – 您想要顯示單個影片的 ID,例如:[mvob video=1]
如果兩個 group 和 video 都被傳遞了,則會使用 group 參數。
其他參數 – – –
如果您想要自定義影片的輸出,[mvob] 簡碼給您提供了幾個選項。當您調用 [mvob] 簡碼時,您可以使用以下任何或所有選項。
tab – 您想將選項卡顯示在影片顯示的哪一側?可接受的值:top(預設值)、left、bottom 和 right。如果您只輸出單個影片,則此參數將被忽略。
title – 您想在哪顯示影片的標題?可接受的值:top(預設值)、bottom 或 none
description – 您想在哪顯示影片的描述?可接受的值:top(預設值)、bottom 或 none
簡碼範例
[mvob group=1] 輸出 Group #1 的影片,使用預設設置
[mvob group=12 tab=”left” title=”bottom”] 輸出 Group #12 的影片,選項卡在左側,標題在影片下方,描述仍在影片上方(使用預設設置)。
[mvob video=2 tab=”left” description=”bottom”] 輸出影片 #2,標題在影片上方(使用預設設置),描述在影片下方,選項卡設置會被忽略,因為只輸出了一個影片。
外掛標籤
開發者團隊
原文外掛簡介
This plug-in allows you to display groups of videos in a single box. It uses an AJAX-driven tab system to load selected videos. The plug-in currently supports the use of videos hosted on YouTube, Vimeo, Daily Motion, Vevo, Metacafe, MuchShare, NowVideo, VideoMega, ShareVid, Flashx.TV, and Putlocker. CSS is fully-customizable.
[mvob] Shortcode Usage
The [mvob] shortcode requires one of two parameters:
group – The ID of the Group that you want to display, such as: [mvob group=1]
video – The ID of the individual Video that you want to display, such as: [mvob video=1]
If both group and video are passed, group will be used.
Additional Parameters – – –
If you want to custom tailor the output of your Videos, the [mvob] shortcode gives you several options. You can use any or all of these when you call the [mvob] shortcode.
tab – Which side of the Video display do you want the tabs on? Accepts: top (default), left, bottom, and right. This parameter is ignored if you’re only outputting a single Video.
title – Where do you want the title of the Video displayed? Accepts: top (default), bottom, or none
description – Where do you want the description of the Video displayed? Accepts: top (default), bottom, or none
Shortcode Examples
[mvob group=1] Outputs the videos for Group #1 with default settings
[mvob group=12 tab=”left” title=”bottom”] Outputs videos for Group #12 with tabs on the left and the title below the video. Description remains above the video (per default setting).
[mvob video=2 tab=”left” description=”bottom”] Outputs Video #2 with the title above the video (per default setting) and description below the video. tab setting is ignored because there is only one Video being output.
