這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Simple Vimeo Shortcode

外掛說明

A simple shortcode to add your Vimeo videos into your website! This plugin will enable you to use shortcodes to insert your videos from Vimeo. It also allows height, width and class attributes for further customization! Websites are always affordable from YourLocalWebmaster.com

Usage Notes

To use the plugin, simply install it, activate it and then call the shortcode within your page or post content.

[ylwm_vimeo]VIDEO_ID[/ylwm_vimeo]

Where VIDEO_ID is the id of the vimeo video.

To utilize the attributes, add height, width, byline, portrait and/or class to the shortcode.

[ylwm_vimeo height=”400″ width=”600″ class=”MYCUSTOMCLASS” portrait=”false” byline=”false”]VIDEO_ID[/ylwm_vimeo]

Auto Play

Where VIDEO_ID is the id of the vimeo video.

[ylwm_vimeo autoplay=”true”]VIDEO_ID[/ylwm_vimeo]

安裝方式

  1. To install very simple wordpress plugin, simply download it and upload it to the Plugins menu.
    Or, Install it via the “search” feature on the plugin page. “Simple Vimeo Shortcode”

  2. 在WordPress外掛目錄中啟動外掛

常見問題集

Why aren’t my height and width attributes working?

Perhaps you are not aware, but the attributes “height” and “width” are case sensitive. Please remember to use all lowercase letters when adding attributes.

Are there any other available attributes?

The Current Available Attributes are:

-height (sets height of video)
-width (sets width of video)
-class (adds a custom css class to your video)
-portrait (when false(default), removes the image from the top left of video)
-byline (when false(default), removes “From #####” in the title
-autoplay (when true, plays the video automatically) (default: false)
-title (when false, removes the title from the video)

Why does my video look disproportioned?

When setting height and width attributes, they should maintain the same aspect ration of the original video..

i.e. height=”250″ width=”400″, or 1 : 1.6

How do I enable AutoPlay?

Autoplay was added in version 2.5. Make sure your current plugin version is > or = 2.5. IF it is, simply add the attribute “autoplay=true” to the shortcode.

i.e. [ylwm_vimeo autoplay=”true”]1234567[/ylwm_vimeo]

使用者評論

There are no reviews for this plugin.

參與者及開發者

以下人員參與了開源軟體〈Simple Vimeo Shortcode〉的開發相關工作。

參與者

將 Simple Vimeo Shortcode 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0

Added height and width attributes

1.5

Added class attributes

2.0

Added “portrait” and “byline” attributes. (Inspired by Tim Golden http://www.timgolden.com)

2.9

Added “title” option. Remove the title of the video by adding the attribute “title=0” to the shortcode.

2.9.1

Added documentation for “title” option. Remove the title of the video by adding the attribute “title=0” to the shortcode.