adsense

How to Lightbox Videos in WordPress





1. Download Videobox: Lightbox for Videos (see Resources).
2. Unzip the downloaded file 'Video.'

3. Upload the files 'js,' 'css' and 'swf' to your Web server. Note their file paths.
4. Log in to your WordPress site.
5. Select 'Editor' from the 'Appearances' option in the left navigation menu. Choose the php file for the site's header.
6. Place the following code between the

tags:






Customize 'yoururl.com' to the domain path of where you uploaded the files in Step 3.
7. Add the Lightbox code to a post or page. Place the following tag in the body:
Video
The URL of the video goes in place of the YouTube URL. Change 'caption' to text explaining what the video is. Alter 'Video' to text or an image that will be used as a link to launch the video in the Lightbox window.
8. Click 'Save Draft,' then 'Preview.' Ensure the Lightbox script works correctly before publishing.

Comments

0 Responses to "How to Lightbox Videos in WordPress"

Post a Comment

Popular Posts

About