Creates shortcode to display video iframes in columns, where each video expands to play on mouse click.
Also generates a video thumbnail to use as a placeholder to reduce load time and memory usage.
Shortcode format is the following:
[video-expander video-url=”THE URL OF YOUR YOUTUBE OR VIMEO VIDEO”]The caption for your video.[/video-expander]
Read complete instructions in Installation section
Admin can choose how many columns of videos to display. At 800px or less, will automatically display only
one column of videos.
Accepts Youtube and Vimeo video urls only at this time.
Contact me with requests for features
- Upload the plugin files to the
/wp-content/pluginsdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress
- Use the Settings->Media screen to configure the number of columns of videos
How to Create a Gallery
- Insert correctly formatted shortcode in your post or page content area (text edit mode only).
- Shortcode format is
[video-expander video-url="THE URL OF YOUR YOUTUBE OR VIMEO VIDEO"]The caption for your video.[/video-expander]
- Enter as many shortcodes as you want, but group them directly next to each other (no spaces or line breaks) or bad things will happen.
- Save. The plugin will automatically wrap your shortcodes in a gallery
Example video urls
In other words, the video id (‘MBbpzbfNaC0’) needs to go at the end of the URL.
- To change colors, font-size, etc. you will need to know CSS. Either override in your styles.css or edit the video-expander.css file — but remember to save it elsewhere before updating.
- To change the image for the play button, delete the original play-button.png file in the assets folder and give the new image the same name, including the file extension.
- What videos can I use?
Video embed urls from Youtube and Vimeo only at this time. See Installation for correct format of urls.
- How do I stop the videos from auto-playing on click?
Ask me to add that as an option in the settings page and I’ll do it.
- Can you change the plugin to do XYZ?
If it is not too much work, sure. Just ask.
- What about foo bar?
Our top people are working on a solution.
There are no reviews for this plugin.
Contributors & Developers
“Video Expander” is open source software. The following people have contributed to this plugin.Contributors
- The first release.