1. Welcome
  2. Special Notes
    1. Vimeo and YouTube
    2. HTML5 Video and Audio
  3. Installation (Screen Shots)
  4. Installation (Video)
  5. Global Settings
  6. Content Overview
  7. Content Examples/Screencasts
    1. Image Example
    2. Text Link Example
    3. Vimeo Example
    4. YouTube Example Example
    5. Local Video Example
    6. Audio Example
    7. iFrame Example
    8. HTML Content
  8. Multiple Items
  9. Hidden Items
  10. More works by CodingJack

JackBox - Responsive Lightbox, WordPress Plugin


Thank you for purchasing JackBox - the WordPress Plugin edition. This document will help you get started. Feel free to contact me from my profile page (link above) if you have any questions.

Have a Question? Check out the FAQ's Page. Or, search the item's discussion page:


Need this item customized? Contact CodingJack


Special Notes


Vimeo and YouTube

JackBox makes working with Vimeo and YouTube easy.  First, a small thumbnail is not needed, as JackBox will go ahead and load the video's thumbnail directly from Vimeo.com and YouTube.com.  Second, all you need to do to load a Vimeo or YouTube video is to go to that video's homepage and copy the link directly from the browser's address bar:

Working with HTML5 Video and HTML5 Audio

JackBox supports HTML5 Audio and Video.  The default file type for video is mp4 and the default for audio is mp3

Firefox, in particular, does not support mp3 or mp4.  Because of this, alternative file-types need to be created.  For video, JackBox is designed to fall back to the webm file-type when mp4 is not supported. For audio, JackBox will fall back to the ogg file-type when mp3 is not supported. 

Because of this, every audio and video file must have two versions:

For the fallback to work properly, the media item's name must be identical for each version.  Only the file's extention should be different.  Here's an example:

When entering the video urls, always use the default file-types (mp3, mp4). JackBox will then dynamically replace the mp3 or mp4 versions with the ogg or webm fallbacks when neeeded. 

To create the ogg and webm versions of your media, I recommend the following tools:

The traditional "flv" video file type's are not needed even for the Flash fallback.  This is because the Flash fallback can play the "mp4" file-type.

You may find that the audio and video does not work in Firefox.  If you experience this, it likely means that your server has not updated to support the latest HTML5 media extentions.  But you can manually update your server.  Here's how:

  1. Download the .htaccess file from the root directory of your server.  If one does not exist, create a new text file on your computer and name it htaccess.txt.
  2. If you were able to find the .htaccess file on your server, rename it to "htaccess.txt".  Your computer may alert you about changing the file's extention.  Just click "ok" if you get this message.
  3. Next, open htaccess.txt in your favorite text editor, and add the following to the bottom of the file:

    AddType audio/ogg .ogg
    AddType video/webm .webm

     
  4. Next, save the file, and upload it to the root directory of your server.  Then delete the previous .htaccess file from your server, and rename the htaccess.txt file you just uploaded to .htaccess.

Installation Screen Shots


If you're reading this, it means you've downloaded the source files and unzipped the main folder.  Inside the main folder you should see two items:

There's no need to unzip the item named "wp-jackbox.zip".  WordPress will do this for us automatically.  If you've already unzipped this item that's ok.  But we'll be working with the zipped version for the purposes of this tutorial.

To install the plugin, login to your WordPress admin and click the "add new" button in "plugins" menu as shown below:

Next click the "upload" button as shown in the image below:

Next click the "browse" button shown in the image below:

Next locate and select the zip file on your computer (shown in the first image above).  Once selected, click the "Install Now" button as shown in the image below:

After a few seconds you should see the image below.  Next click the "Activate Plugin" link.

And that's it!  You should now see JackBox in your list of plugins.  From here you can click the "Edit Settings" link or head on over to your pages/posts and start building your JackBox items.

Installation Video


Global Settings


Content Overview


JackBox for WordPress is built on a simple idea: Connect your pre-existing page and post content to the lightbox. 

This means no shortcodes and no gallery managers to figure out.  Instead, JackBox is baked into your content editor and works just like the traditional "hyperlink" button.  Except instead of just adding a simple link, you create a lightbox item!

Once you've installed the plugin, Here's what you'll see inside your content editor:

Check out the "Content Examples" to see how easy it is to start creating JackBox items.

Content Examples


Image Example

Vimeo Example

YouTube Example Example

Local Video Example

Audio Example

iFrame Example

HTML Content

Multiple Items


Hidden Items


More works by CodingJack