YouTube HighSlide BBCode

Mod BBCode Database
BBCodes that need some file editing or extra files
There is no support here! Only Read Access!
User avatar
BBCode Bot
BBCoder IV
BBCoder IV
Posts: 239
Joined: 04 Mar 2010, 15:04
Location: bbcode table

YouTube HighSlide BBCode

Post by BBCode Bot »

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:

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-with-gallery.js"></script>
and replace it with this:

Code: Select all

<script type="text/javascript" src="{ROOT_PATH}highslide/highslide-full.js"></script>
You also need to change this in the js file:

Code: Select all

objectLoadTime : 'before',
To:

Code: Select all

objectLoadTime : 'after',
and:

Code: Select all

preserveContent : true,
to:

Code: Select all

preserveContent : false,

BBCode:

Code: Select all

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

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>
Helpline:

Code: Select all

Youtube Popup: [youtubepop]YouTube ID[/youtubepop]
Example:

Code: Select all

[youtubepop]R4i8SpNgzA4[/youtubepop] [youtubepop]Qq8Uc5BFogE[/youtubepop]
Demo:
[youtubepop]R4i8SpNgzA4[/youtubepop] [youtubepop]Qq8Uc5BFogE[/youtubepop]
User avatar
IpHeX
BBCoder II
BBCoder II
Posts: 23
Joined: 23 Mar 2010, 21:02

Re: YouTube HighSlide BBCode

Post by IpHeX »

You also need to change this in the js file:

Code: Select all

    objectLoadTime : 'before',

To:

Code: Select all

    objectLoadTime : 'before',

Is there a change? both look the same to me! :?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: YouTube HighSlide BBCode

Post by Stoker »

First post updated ;)
Board rules! No PM support
camilost
BBCoder I
BBCoder I
Posts: 4
Joined: 20 Apr 2010, 20:22

Re: YouTube HighSlide BBCode

Post by camilost »

Ok. Thats work, but if i click on image gallery video this transfer me to: http://www.youtube.com/v/thisis.swf ;/
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: YouTube HighSlide BBCode

Post by Stoker »

Do you have the Highslide Attachment mod installed?
Board rules! No PM support
camilost
BBCoder I
BBCoder I
Posts: 4
Joined: 20 Apr 2010, 20:22

Re: YouTube HighSlide BBCode

Post by camilost »

Yes, version: 4.1.8.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: YouTube HighSlide BBCode

Post by Stoker »

Please post a link to a topic where you are using it.
Board rules! No PM support
camilost
BBCoder I
BBCoder I
Posts: 4
Joined: 20 Apr 2010, 20:22

Re: YouTube HighSlide BBCode

Post by camilost »

http://multikill.xaa.pl/viewtopic.php?f=11&t=4&p=81#p81
This is my test forum :) If i change to "before", this problem is the same as.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Re: YouTube HighSlide BBCode

Post by Stoker »

You have to use the full js version. Remember to change it in overall_header.html
Board rules! No PM support
camilost
BBCoder I
BBCoder I
Posts: 4
Joined: 20 Apr 2010, 20:22

Re: YouTube HighSlide BBCode

Post by camilost »

Ok, that's work. Thanks :)
Last edited by camilost on 22 Apr 2010, 08:08, edited 1 time in total.
Locked