A Friendly YouTube BBC XHMTL1.2

Started by GantMan, April 14, 2007, 10:49:46 PM

Previous topic - Next topic

GantMan

Link to Mod

Augmentation of Marlon's mod. I found people kept pasting the ENTIRE link to the youtube page.

So I wrote up the RegEx to clean up the link and have it auto format to find the v= ID.

So now [youtube=425,350]hxxp:youtube.com/watch?v=H69eCYcDcuQ [nonactive][/youtube]
will turn itself into
[youtube=425,350]H69eCYcDcuQ[/youtube]

This, plus some cleanup suggestions from the community to allow for correct installation of the youtube GIF.

Complements of hxxp:bleacheatingfreaks.com [nonactive] and hxxp:mindwarppavilion.org [nonactive]

cekcok

hello,

i already upload this mode on my site but not working good

http://www.cekcok.com/index.php?topic=55.0  what wrong?

Tick

Whats not working about it.  It looked fine to me.

cekcok

i see using IE 6 and youtube frame is brokens and the video not playing

Tick

ok I see.  I was using firefox and it looked fine.

Tick

Just checked it in IE and it looked fine too.

Chris369

Hi

I've just installed this but at the top of the forum I get this text ...

$txt['youtube'] = 'YouTube';

How do I get rid of that?

Link is www.psnfriends.net

Thanks in advance.

Chris369

hmm made the text go really big in IE7 as well.

I tried the old one (the Marlon one) and both problems were in that too :/

Simplemachines Cowboy

My SMF forum: The Open Range

cekcok

well,

maybe my connection is too bad..btw Thank for this mod

awesome mod

JeanYves

very good this modification !
it is much more simple to clic the youtube url and just paste, rather the search the ID !
great !

and what about the same for dailymotion ?

thanks again, great job !

AllMassive

THX !

Working fine with my SMF 1.1.2 .

sjb

#12
I've edited line 22 to say this:

                'content' => '<object width="$2" height="$3"><param name="movie" value="http://www.youtube.com/v/$1"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/$1" type="application/x-shockwave-flash" wmode="transparent" width="$2" height="$3"></embed></object><br><a href="http://www.youtube.com/v/$1">http://www.youtube.com/v/$1</a>',

So that now the link appears underneath the video, because I've been having a problem.

Y'see any of the members who are using FireFox 1.5 can't get it to work. Only Firefox 2.0... I'll paste some of the tihngs they've said:

QuoteIt thinks the link to the vid and play button is elsewhere than where it's shown. You gotta do some rapid clicking around the video area til you finally get linked to the actual video.

QuoteWhen you move your mouse, that's the only time the finger cursor is shown, and it flickers.

I've tried recoding the thing so that the embed tag is identical to the youtube one (just with the relevant $1, $2 and $3 in place) but it's not made a difference. I wonder what in the world could be going wrong.

cristianx

it only works if I add the number 425,350 [youtube=425,350]http://youtube.com/watch?v=H69eCYcDcuQ [nofollow][/youtube] which I'm not sure what is it!

Without this number and trying with the full URL does not work, can anyone help?

thanks

cristian

PS apart from thsi working fine on 1.1.2

jploaiza

hi all. the mod works fine to me, but i want to integrate the youtube.gif on another theme, and i don't know how i can do it!!

Please help, i already look the *.xml files, and i find the modification that the mod do to some files on the default theme, but in my theme, there is not the same files.... my theme now is mesh...


Thanks!!

jploaiza

¬¬ i got it... only i have to copy the youtube.gif image from Themes/default/images/bbc to Themes/mesh/images/bbc and thats it folks!!!

good work, now im happy!!

glennk

I get the error mentioned above

at the top of the forum I get this text ...

$txt['youtube'] = 'YouTube';

and all my forum users are complaining of big text.

tenderobject

the mod is working on firefox and safari mac. i love it.. although wehn i checked it on Ie there is an error in the status bar.
dunno why..

i still have the mod that marlon made in my SMF. do i need to leave it there or unintall it as well?

thanks fofrr the mod

neilbombd

#18
Quote from: cristianx on April 30, 2007, 05:25:16 PM
it only works if I add the number 425,350

Yes, I would like to get rid of the need for 425,350, is there any way to do this?  I tried editing the XML file to take out those numbers, but it didn't seem to do the trick.

Alternatively, it should also parse
, please.  I've just migrated from another board, and that's how all my links are.  Cheers.

gilipter

I have the Marion's mod working ok. I just want to update it with the new code that checks the URL (you know, the [youtube=425,350]http://youtube.com/watch?v=H69eCYcDcuQ [nofollow][/youtube] thing). How should I do this?
Thanks!
http://365.com.mk [nofollow]

Advertisement: