开发者 |
Matroschka
Gabriele Maidecchi |
---|---|
更新时间 | 2013年12月15日 14:44 |
PHP版本: | 2.5 及以上 |
WordPress版本: | 3.8.1-alpha |
[vimeo]
) into the post area. Vimeo's options regarding the display of meta properties like by-line, title, or the video author's portrait are supported as short code attributes. We built this plugin as a solution for embedding videos on our site.
Credits
HTML5 embed code contributed by Gabriele Maidecchi. German translation by @talkpress.
Usage
[vimeo clip_id="XXXXXXX"]
short code into any post. clip_id
is the number from the clip's URL (e.g. vimeo.com/12345678
)[vimeo clip_id="XXXXXXX" width="400" height="225"]
[vimeo clip_id="XXXXXXX" byline="0" portrait="1" title="1"]
width
or height
attributes will cause Lux Vimeo to calculate the proper dimension based on a 16:9 aspect ration. Example: [vimeo clip_id="12345678" height="300" width=""]
or [vimeo clip_id="12345678" height="" width="640"]
lux_vimeo.zip
and upload the contained files to the /wp-content/plugins/
directory