![]() If the anchor attribute is provided then auto_thumb is ignored if anchor is not provided then auto_thumb must be set to ‘1’. auto_thumb – replaces the anchor text with a thumbnail image of the video.anchor – this text becomes the hyperlinked text that opens the video in a lightbox accepts HTML.description – this text is displayed in the lightbox’s footer accepts HTML.height (required) – the height of the video playback.width (required) – the width of the video playback. ![]() video_id (required) – the service’s unique identifier for the video.for embedding a Vimeo videoīoth shortcodes accept the same 6 attributes:.WP Video Lightbox provides its own shortcodes for including YouTube and Vimeo videos in a post: Of course, we can’t do anything until the plugin is installed, so jump into Plugins > Add New and search for WP Video Lightbox. It works equally well on both desktop and on tablets and is simple to install and use.Ĭontinue reading, or jump ahead using these links: The plugin uses the prettyPhoto jQuery library to bring Lightbox capabilities to your YouTube and Vimeo videos. The WP Video Lightbox plugin has been around for a while (Sarah wrote about it here in 2012) but it continues to be maintained and provides an excellent way to put videos front and center. ![]() Present your videos in a distraction-free lightbox complete with description In this article, we’ll look at using the WP Video Lightbox plugin to bring all the benefits of Lightbox to your embedded videos. Lightbox is a widely accepted tool for focussing readers’ attention by darkening the page and overlaying a full-size version of the image.īut if images can benefit from this distraction-free viewing why not other media types? Why not video? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |