YouTube HighSlide BBCode
Posted: 11 Mar 2010, 07:49
YouTube HighSlide BBCode
Author: Stoker
Description: With the YouTube HighSlide BBCode you can have youtube videos in the highslide popup layer.
Note that you need to use the full script version. This BBCode is an addon for the highslide attachment mod.
You need to use the full Highslide script and to do so you need to edit overall_header.html
When the Highslide Attachment Mod is installed find this:
and replace it with this:
You also need to change this in the js file:
To:
and:
to:
BBCode:
HTML:
Helpline:
Example:
Demo:
[youtubepop]R4i8SpNgzA4[/youtubepop] [youtubepop]Qq8Uc5BFogE[/youtubepop]
Author: Stoker
Description: With the YouTube HighSlide BBCode you can have youtube videos in the highslide popup layer.
Note that you need to use the full script version. This BBCode is an addon for the highslide attachment mod.
You need to use the full Highslide script and to do so you need to edit overall_header.html
When the Highslide Attachment Mod is installed find this:
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-with-gallery.js"></script>
Code: Select all
<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-full.js"></script>
Code: Select all
objectLoadTime : 'before',
Code: Select all
objectLoadTime : 'after',
Code: Select all
preserveContent : true,
Code: Select all
preserveContent : false,
BBCode:
Code: Select all
[youtubepop]{IDENTIFIER}[/youtubepop]
Code: Select all
<a href="http://www.youtube.com/v/{IDENTIFIER}.swf" onclick="return hs.htmlExpand(this, { objectType: 'iframe', width: 425, height: 388, wrapperClassName: 'draggable-header' } )"><img style="width: 130px; height: 97px;" alt="YouTube" src="http://i.ytimg.com/vi/{IDENTIFIER}/default.jpg" /></a>
Code: Select all
Youtube Popup: [youtubepop]YouTube ID[/youtubepop]
Code: Select all
[youtubepop]R4i8SpNgzA4[/youtubepop] [youtubepop]Qq8Uc5BFogE[/youtubepop]
[youtubepop]R4i8SpNgzA4[/youtubepop] [youtubepop]Qq8Uc5BFogE[/youtubepop]