Vimeo shortcode
Categories
Component ID
Component name
Component type
Maintenance status
Development status
Component security advisory coverage
Downloads
Component created
Component changed
Component body
Adds an input filter to enable Vimeo videos to be embedded using a short code[vimeo url="https://vimeo.com/1234567"]
Additional options are also available:[vimeo url="https://vimeo.com/1234567" width="640" height="360" class="custom-class" caption="This is my video"]
Features
Using playlists
Download from https://github.com/luwes/vimeowrap.js and extract the contents to sites/all/libraries (D7) or in D6, to the js subfolder of the module, so that (for example) the main vimeowrap file is at js/vimeowrap.js.
Then you can display playlists as follows:
- Multiple URLs:
[vimeo url="https://vimeo.com/1234567, https://vimeo.com/12234353" display="playlist"] - Albums and channels:
[vimeo url="https://vimeo.com/channel/1234567" display="carousel"]
If no display variable is given, then multiple URLS, albums and channels are displayed as playlist by default. Additionally, the variables that vimeowrap provides are supported (e.g. 'position', 'size', 'offsetx', 'offsety', 'visible', 'autoplay', 'speed', 'thumb.quality', 'thumb.width', 'thumb.height'). Note that the Vimeo Plus and per account embed restrictions don't yet apply to playlists.
Troubleshooting
Make sure that the vimeo short code filter loads after any html restricting filters (such as HTML filter or WYSIWYG filter) and the convert-links-to-URL filter.
Note: The Vimeo extension to the Media module may also provide what you're looking for.
You can see this module demonstrated on www.ashrita.com - the website of multiple Guinness record holder Ashrita Furman.
