Make YouTube prettyPhoto Lightbox Larger From a Link

prettyPhoto plays YouTube clips in a standard size. But how to make it play a movie in larger size?

In a link calling YouTube movie add size parameters http://youtu.be/movieAddress?width=853&height=480 at the end (it can be any other size). Larger sizes trigger higher quality.

You may also disable related movies from the link: ?&rel=0&width=853&height=480

The great enhancements I found on latest version of prettyPhoto is that when a lightbox closes YouTube clip is stopping. That was the most annoying bug in Internet Explorer in previous versions.

Also to remember:

  • TITLE of the link will go to description text below video.
  • ALT on image will become a white text on top of a lightbox.
This entry was posted in Image Galleries and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="">

Current ye@r *