Highslide YouTube BBCode

Download and support for PhpBB3 Highslide Attachment Mod
User avatar
Stoker
Site Admin
Site Admin
Posts: 3525
Joined: 12 May 2008, 21:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark

Highslide YouTube BBCode

Post 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]
Board rules! No PM support