ytlink

Makes a preview-pic out of the short youtube-id, uses fancybox or prettyPhoto

Author:Jakobus Schürz (profile at wordpress.org)
WordPress version required:3.0.1
WordPress version tested:3.5.2
Plugin version:0.9.2
Added to WordPress repository:07-03-2013
Last updated:01-04-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:http://wordpress.org/extend/plugins/ytlink/
Total downloads:2 132
Active installs:10+
plugin download
Click to start download

Gives you a shortcode for Youtube-Videos and makes a preview-pic for this Video and realizes to watch the video with fancybox for wordpress oder prettyPhoto or in a extra tab. You choose, what you want.

The URL ist for example: http://www.youtube.com/watch?v=XmRLJ4XvpZk
The shortcode is

[ytcode ytid="XmRLJ4XvpZk"]
[ytcode ytid="XmRLJ4XvpZk" tit="Vemma Strategie Deutsch"]
[ytcode ytid="XmRLJ4XvpZk" tit="Vemma Strategie Deutsch" x="800" y="488"]
[ytcode ytid="XmRLJ4XvpZk" x="800" y="488" ppic="2"]
[ytcode ytid="XmRLJ4XvpZk" ppic="default"]
[ytcode ytid="XmRLJ4XvpZk" fso="v"]
  • Options:
  • float=”left|none|right”
    if float is none, you can choose the alignment:

  • align=”left|center|right”

  • fso=”h|v|n”
    horizontal, vertical, none filmstripes

  • ppic=”default|1|2|3″
    takes the previewpic from youtube. This are the four possible picture-names.

  • vb=”prettyphoto|fancybox|blank”
    if installed it uses prettyphoto or fancybox. Or it opens the video in a new tab (target=”_blank”)

  • pfeil=”FF0000″
    the color of the arrow is now red

Arbitrary section

*Known Issues:
– Publishing an Artikel/Site or update ist can cause an error-message “Warning: Cannot modify header information – headers already sent by (…)”
maybe this is theme specific or it depends to other plugins!

A brief Markdown Example

Unordered list:

  • Make opacity from the overlay-pic with the arrow on the preview-pic adjustable
  • resizing of the previewpic doesn’t work correct!

Here’s a link to WordPress and one to Markdown’s Syntax Documentation.
Titles are optional, naturally.

Markdown uses email style notation for blockquotes and I’ve been told:

Asterisks for emphasis. Double it up for strong.

<?php code(); // goes in backticks ?>

Screenshots
FAQ
ChangeLog