Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/jeffreyvr/vimeo-video-links/archive/refs/heads/main.zipSimple WordPress plugin that provides you with shortcodes to get a download url of a Vimeo Video.
Vimeo API
To allow for the plugin to interact with Vimeo's API, you must fill in the credentials in Settings --> Vimeo Video Links.
For more information on getting these credentials, see: https://developer.vimeo.com/api/guides/start#register-your-app
Shortcodes
For all shortcodes, the quality attribute is optional.
The link and button shortcodes, will fetch the Vimeo download url through an ajax request. This is to prevent the Vimeo URL, which is valid for 24 hours, to be cached by a caching plugin - causing invalid url's.
Button
[vimeo_video_button id="vimeo_video_id" quality="hd"]Download the video[/vimeo_video_button]
If you don't specify a text, it will fallback to 'Download'.
Link
[vimeo_video_link id="vimeo_video_id" quality="hd"]Download the video[/vimeo_video_link]
If you don't specify a text, it will fallback to 'Download'.
URL
[vimeo_video_url id="vimeo_video_id" quality="hd"]
Contributors
License
Please see the License File for more information.