Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

YouTube Shortcode Parameters with PrettyPhoto, Fancybox and ColorBox

by

Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › YouTube Shortcode Parameters with PrettyPhoto, Fancybox and ColorBox

Tagged: lightbox, video, youtube

  • This topic has 3 replies, 2 voices, and was last updated 11 years, 11 months ago by wpCommerce.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 11, 2013 at 6:03 pm #9318
    klippety
    Member

    Hello,

    I am trying to use some of the YouTube shortcode parameters with PrettyPhoto, Fancybox and ColorBox.

    The page I am testing these on is here:

    [http://westminsterav.com/westminstertech/headpod/]

    The code I am using for each is:

    [wp_lightbox_prettyPhoto_video link=”http://www.youtube.com/watch?v=P947H2bkUx0″ description=”Video description goes here” autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”1″ show_suggested_video=”0″ showinfo=”0″ anchor_type=”image” source=”http://westminsterav.com/westminstertech/wp-content/uploads/2013/07/headpod-video-1-295.jpg” title=”Video title goes here”]

    [wp_lightbox_fancybox_youtube_video link=”http://www.youtube.com/watch?v=P947H2bkUx0″ title=”Video title goes here” hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”1″ theme=”dark” show_suggested_video=”0″ showinfo=”0″ anchor_type=”image” source=”http://westminsterav.com/westminstertech/wp-content/uploads/2013/07/headpod-video-1-295.jpg”%5D

    [wp_lightbox_colorbox_video link=”http://www.youtube.com/embed/P947H2bkUx0″ description=”Video description goes here” autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”1″ show_suggested_video=”0″ showinfo=”0″ anchor_type=”image” source=”http://westminsterav.com/westminstertech/wp-content/uploads/2013/07/headpod-video-1-295.jpg” title=”Video title goes here”]

    I am not having any luck getting any of the YouTube parameters like “showinfo” or “show_suggested_video” to work with any of these three. I can only get these codes to work with the Lightbox Ultimate Video code:

    [wp_lightbox_ultimate_youtube_video_embed videoid=”P947H2bkUx0″ playlist=”” hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”1″ theme=”dark” show_suggested_video=”0″ showinfo=”0″ anchor_type=”image” source=”http://westminsterav.com/westminstertech/wp-content/uploads/2013/07/headpod-video-1-295.jpg”%5D

    So, will these codes work with PrettyPhoto, Fancybox or ColorBox, and if so is there documentation or can someone tell me how to get them to work properly, please?

    Thanks!

    Ted

    July 12, 2013 at 12:22 am #56533
    wpCommerce
    Moderator

    Hi, prettyPhoto, Fancybox and Colorbox have their own shortcodes to play YouTube videos. You can have a look at all those shortcodes here:

    http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/wp-content/uploads/wp-lightbox-stuff/docs/wp-lightbox-ultimate-shortcodes-by-library-type.pdf

    Since normal YouTube shortcodes (the ones above) cannot handle advanced options we made another shortcode for users who are looking for a customized YouTube player:

    http://www.tipsandtricks-hq.com/wp-affiliate-link-manager/wp-content/uploads/wp-lightbox-stuff/docs/wp-lightbox-ultimate-youtube-shortcode-reference-guide.pdf

    July 12, 2013 at 5:02 am #56534
    klippety
    Member

    So, the only player that offers the YouTube customizations such as “showinfo” or “show_suggested_video” is the customized player – not PrettyPhoto, FancyBox or Colorbox? Correct?

    Also, here is my code for the customized player:

    [wp_lightbox_ultimate_youtube_video_embed videoid=”P947H2bkUx0″ playlist=”” hd=”0″ autoplay=”1″ display_control=”1″ fullscreen=”1″ autohide=”1″ theme=”dark” show_suggested_video=”0″ showinfo=”0″ anchor_type=”image” source=”http://westminsterav.com/westminstertech/wp-content/uploads/2013/07/headpod-video-1-295.jpg”%5D

    As you can see, the showinfo value is “0” to not show the title information. I notice when the Youtube video finishes playing, the title appears. Why is this?

    Thanks.

    July 13, 2013 at 12:27 am #56535
    wpCommerce
    Moderator

    So, the only player that offers the YouTube customizations such as “showinfo” or “show_suggested_video” is the customized player – not PrettyPhoto, FancyBox or Colorbox? Correct?

    – yes, you are right.

    The showinfo parameter causes the player to not display

    information like the video title and uploader before the video starts playing. So it will not work once the video has finished playing.

    In the documentation all the parameters are explained with a description of how they behave (based on YouTube guidelines).

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ