Nice YouTube Lite for WordPress Documentation

Installation

Basic Usage

Shortcode Attributes

Shortcode Attribute Definitions

Plugin Options

 

Installation

  1. Log in and navigate to WP-Admin>>Plugins
  2. Click the "Add New" button next to the Plugins title.
  3. Click the "Upload" link on the Install Plugin page.
  4. Click the "Choose File" button.
  5. Locate and select the Nice YouTube Lite .zip file on your local computer
  6. Click the Ok button on the pop-up window.
  7. Click the install button on the Install Plugin page.
  8. Activate the plugin through the 'Plugins' menu in WordPress.
  9. Go to Settings>>Nice Youtube Lite
  10. Configure the Nice Youtube Lite options.
  11. Click the "Update Settings" button
  12. Insert Nice Youtube Lite shortcodes in any post or page.
  13. That's it! You're all ready to start showing off your videos!!

Alternative installation

  • Unzip the Nice PayPal Lite plugin download
  • Upload the entire niceYouTubeLite folder to your wp-content/plugins directory.
  • Activate the plugin through the 'Plugins' menu in WordPress.
  • Go to Settings>>Nice Youtube Lite
  • Configure the Nice Youtube Lite options, i.e. PayPal seller's email address, currency, country code, etc.
  • Click the "Update Settings" button
  • Insert Nice Youtube Lite shortcodes in any post or page.
  • That's it! You're all ready to start showing off your videos!!
  • ^top

     

    Basic Usage

    Usage is simple. Create a new post, page or text widget add your content to it. Wherever you want a YouTube video to appear include a Nice YouTube shortcode, like the following example. When you view your published post, page or widget the shortcode will be automatically replaced with a corresponding YouTube video.

     

    Shortcode Example

    [niceyoutubelite id="UXtjrb0WBhc"]

    Note, id is the YouTube video id of your video. You can find the video idea in the YouTube URL just after the "v=" and before the next & symbol.

    Example: http://www.youtube.com/watch?v=UXtjrb0WBhc&feature=c4-overview&list=UUBZ78mpRCvVKkAtsGPP8Z5w

    In the example above UXtjrb0WBhc is the video id.

    Shortcode Syntax

    [niceyoutubelite attribute_name="attribute_value"]

    ^top

     

    Shortcode Attributes

    The Nice Youtube Lite plugin provides options through the inclusion of 3 shortcode attributes. These attributes are as follows.

    • id
    • width
    • aspect_ratio

    Each attribute can be set in the shortcode by including the attribute name followed by an equals sign and the attribute value in quotes. You can set a default value for all of the attribute, excluding the video "id", on the admin settings page.

    Attribute Example

    [niceyoutubelite id="UXtjrb0WBhc" width="320"]

    ^top

     

    Shortcode Attribute Definitions

     

    id

    [niceyoutubelite id="YouTube_Video_Id"]

    Sets the video id for the YouTube video you wish to display. The YouTube video id is displayed in your browsers address bar when you are watching a video on YouTube. To obtain the video id, go to your video manager on YouTube and simply play your video. Look at your browser's address bar. You will see a web address that looks like the following.

    http://www.youtube.com/watch?v=UXtjrb0WBhc

    The portion of the address after the "v=" is the video id.

    Example

    [niceyoutubelite id="UXtjrb0WBhc"]

    Notice that the id value is the same as the value that comes after the "v=" portion of the YouTube video URI.

    ^top

     

    width

    [niceyoutubelite width="640"]

    Use width to set the YouTube video player width.

    Example

    [niceyoutubelite id="UXtjrb0WBhc" width="320"]

    ^top

     

    aspect_ratio

    [niceyoutubelite aspect_ratio="16:9"]

    Set the YouTube video player's aspect ratio with the aspect_ratio attribute. The default YouTube video aspect ratio is 16:9. Older videos probably have an aspect ratio of 4:3. The aspect ratio and width settings are used to automatically calculate the appropriate height for the YouTube video player.

    Example

    [niceyoutubelite id="UXtjrb0WBhc" aspect_ratio="320"]

    ^top

     

    Plugin Options

    The Nice Youtube Lite plugin allows you to configure the plugin's global default settings. Configuration of the plugin is made quick and easy through the use of it's admin settings page. You can find the settings page at WP-Admin>>Settings>>Nice Youtube Lite. The global default settings that are made available to you are as follows.

     

    Default Video Width

    Enter the default YouTube video embed width in pixels. This will be used for all videos that do not have a width set in their respective shortcodes.

    ^top

     

    Default Video Aspect Ratio

    Enter the YouTube player aspect ratio. This will be used to determine the height of the video player. YouTubes standard aspect ratio is 16:9. Older videos may have an aspect ratio of 4:3.

    ^top

     

     

    65,184

    total customer downloads. Wow!! That's a lot.

    Thanks for all the love! :)

    Get Our Newsletter!

    Get 20% off our Nice Bundle when you sign-up for our free newsletter!

    Get Our Downloads!

    Checkout our other fantastic downloads

    We have spent a lot of time building a bunch of great downloads for you. Take a few minutes and check out some of our fantastic downloads now.