ytlink

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

  • 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.

0

评论0

 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
显示验证码
没有账号?注册  忘记密码?

社交账号快速登录