Page 1 of 1

Highslide YouTube BBCode

Posted: 16 May 2011, 08:57
by Stoker
Highslide YouTube BBCode makes Youtube videos popup in a nice layer.

BBCode:

Code: Select all

[youtubehs]{IDENTIFIER}[/youtubehs]
HTML:

Code: Select all

<a href="http://www.youtube.com/embed/{IDENTIFIER}?rel=0&wmode=transparent" onclick="return hs.htmlExpand(this, {align: 'center', objectType: 'iframe', width: 480, height: 385, allowSizeReduction: false, wrapperClassName: 'draggable-header no-footer', preserveContent: false, objectLoadTime: 'after'})" class="highslide"><img style="width: 130px; height: 97px; border:1px solid black;" alt="YouTube Video" src="http://i.ytimg.com/vi/{IDENTIFIER}/default.jpg" /></a>
Helpline:

Code: Select all

YouTube Highslide: [youtubehs]YouTube Video ID[/youtubehs]
Example:

Code: Select all

[youtubehs]nhBorPm6JjQ[/youtubehs] [youtubehs]pa14VNsdSYM[/youtubehs]
Demo:
[youtubehs]nhBorPm6JjQ[/youtubehs] [youtubehs]pa14VNsdSYM[/youtubehs]