Vimeo is a social video website not much unlike YouTube. Because of its premium subscriptions, it permits videos to be broadcast without advertisements making it popular among certain film makers. Those that use it argue that its back end functionality make it a more sensible choice to any other video streaming platform - including YouTube.
The name Vimeo was created as a play on the words video and me. Vimeo is also an anagram of the word movie.
This post is the first of a few that deals with Vimeo. This one is the most basic since all it does is show how to render a Vimeo video on your WordPress website with shortcode... and nothing else. In posts to follow we'll play around with the API and provide more meaningful functionality.
The Result
Using the shortcode of [vimeo v="http://player.vimeo.com/video/82413431"]
or [vimeo v="82413431"]
(preferred), the following video will show on your WordPress post or page.
Shortcode Attributes
v
v
is the video URL or video ID. While virtually any Vimeo URL is generally permitted, the ID is preferred so global modifications can easily be made in the future.width
width
to 590 (pixels) although you'll want to change this to best fit your post container.Usage
Example usage is as follows: [vimeo v="67019023"]
. You may optionally alter the width of the container with [vimeo v="67019023" width="860"]
(where 860 is your new pixel width).
WordPress Shortcode
Copy and paste the WordPress function into your theme's functions.php
file or, if you sensibly have one installed, your custom functions plugin. You may optionally download and install our plugin from the bottom of of the page.
If you require shortcode to work in a sidebar widget, you'll have to enable the functionality with a filter. If you're using our custom functions plugin, you'll have that feature enabled by default.
Download
Title: Embed Responsive Vimeo Videos in WordPress (WP Plugin)
Description: Embed Responsive Vimeo Videos in WordPress with Shortcode.
Download • Version 0.2, 1.7K, zip, Category: WordPress Plugins (General)
WordPress Shortcodes, (891.0B)