YouTube Playlist BBCode v1.6

Started by karlbenson, October 10, 2007, 07:22:34 PM

Previous topic - Next topic

karlbenson


YOUTUBE PLAYLIST BBCODE 1.6
By Karl Benson

Link to Mod | Donate

I've discontinued this modification as I have merged it with my YouTube mod.

http://custom.simplemachines.org/mods/index.php?mod=936
You'll also find a conversion script to convert [ytplaylist] bbcode to [youtube]

asdas2

can we have a screen shot ...... PLease
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

karlbenson


asdas2

OHHHHHHHHHHHHHHHHHHHHHHHH okay ....... well thanz for the moddd .... i'll try it when i come back .....
www.chillparadise.com

for all desi people .... get everything u ever wanted.... log in to view hidden stuff.

karlbenson

and this mod is also compatible with my normal youtube mod (so you can have both installed at the same time)

karlbenson

I've got a newer version coming in the next few minutes which I've redone based on my youtube mod.

In my testing, there is no whitespace.  Any inside the url tags will be ignored.

karlbenson

Ok, I've have now uploaded v1.1 [mod]

1.1 - 16th October 2007
o Added support for embed player url
o Improved security of mod by denying script access (allowScriptAccess="never")
o Removes excess whitespace/carriage returns
o Fixed bug where youtube playlist bbcode was disabled it produced an invalid partial url
o Added support for when YouTube playlist & url bbcode tags are disabled to showing 'friendly alternative'
o Disables Youtube playlist for 'printer friendly' pages, showing a 'friendly alternative' instead.
o Fixed bug related to not escaping dots (.) in preg_match

karlbenson

I've uploaded v1.2

1.2 - 29th October 2007
o Consolidated 2.0 beta 1 and 1.1.x versions into single mod
o Added support for more YouTube localised versions
- Australia, Hong Kong, Mexico, New Zealand

karlbenson

1.3 - 29th November 2007
o Added support for de.youtube.com
o Fixed default sizes (they changed them)

Hoochie Coochie Man

Thank you..
and these are the Turkish Language

Modifications.turkish.php
$txt['ytplaylist'] = 'YouTube Playlist';
$txt['ytplaylist_invalid'] = '#Geçersiz YouTube Playlist Linki#';


Take good care..
İnadına SMF 1.1.X

karlbenson

1.4 - 4th December 2007
o Increased efficiency of regex/preg_match
o Added support for Turkish/Turkish-utf8 (Thanks Hoochie Coochie Man)
1.5 - 7th December 2007
o Added support for YouTube Canada

falguni1

wot to do

it says

hi

#Invalid YouTube Playlist Link#

#Invalid YouTube Playlist Link#

I used the following code

----------------------------------------------------------------------------------------------- .

hi

[ytplaylist]http://www.youtube.com/watch?v=a8uedKXMEZM[/ytplaylist]

[ytplaylist]<object width="425" height="355"><param name="movie" value="http://www.youtube.com/v/a8uedKXMEZM&rel=1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/a8uedKXMEZM&rel=1" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object>[/ytplaylist].

karlbenson

Falguni1, thats not a valid youtube playlist link.

Thats a normal youtube link.

Playlist links are different. (and you will note they use a P, rather than a V

falguni1

where to get them

and who will tell my members which link to use.

better you make normal links work with this mod.

because I cant tell each user how to use the mod.

karlbenson

No, I've done separate mods on purpose because playlists are completely different.

And board owners might not want both types on their forum.

An example playlist link is www.youtube.com/view_play_list?p=595A40209CB17411

falguni1

I am using many of your mods

like automatic embed videos and lightbox.

but do something to tell members which url to use.

karlbenson

well my automatic embed video clips mod does both.

To me its obvious.

But there isnt really much I can do. Tell members, where?

falguni1

Quote from: karlbenson on December 23, 2007, 12:33:18 PM
well my automatic embed video clips mod does both.


you mean to say automatic embed video clips works like youtube playlist mod.

karlbenson

It supports both types.

YouTube (normal links)
YouTube (playlist links)

falguni1

wot I mean to say is that a person uses both the mods

automatic video embed and youtube playlist

wen a user puts 5 links the videos are placed behind other

and wen a user uses youtube playlist bbc code button the videos are placed in one screen with other four videos at right bar.

so there is already difference.

Advertisement: