REGISTER or LOGIN to have the annoying ads removed.
Thread Rating:
  • 4 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Youtube Mycode
#1
This is super simple plugin but it helps for those that can't get the mycode to work from admincp.

Simply upload youtube.php to your plugins folder and activate.

Code:
[yt]http://www.youtube.com/watch?v=wWSsM0NXsMA[/yt]

Code:
[youtube]http://www.youtube.com/watch?v=wWSsM0NXsMA[/youtube]

Both of those examples would produce this:



Feel free to share this. It's a simple plugin and I won't claim copyright.


Attached Files
.php   youtube.php (Size: 1.35 KB / Downloads: 962)
#2
Can be done without the need of a plugin. Just add this to your own MyCode:

Expression:
Code:
\[yt\](.*?)\[/yt\]

Replacement:
Code:
<object width="470" height="378"><param name="movie" value="http://www.youtube.com/v/$1&hl=de&fs=1"></param><param name="allowFullScreen" value="true"></param><embed src="http://www.youtube.com/v/$1&hl=de&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="470" height="378"></embed></object>

And then the video id is enough:

Code:
[yt]8e-vgQSqNtA[/yt]
#3
Yup...but I prefer my method.
#4
can you please make a similar one for megavideo? i would be very greatful, also i hate the part when you must put the code of the youtube link i like it when you can put the whole like Smile

can you do this for megavideo too? please?
#5
Does this one work unlike the others?
#6
This one works perfectly. Did you notice the first post?
#7
Works perfectly fine.
Example:
http://certcollection.org/forum/thread-2766.html
#8
thanks i am really gteatful
#9
OMG I was looking for this a long time.. Thanks a lot Big Grin

EDIT: I cannot download nothing, i got the message that i have not permission to blah blah... and i press in Resend Activation Code but it never arrived

Please what can i do to fix it?

Sorry for my bad english

Cya
DX~
#10
http://www.mybbcentral.com/subscribe.php

you must donate a smalllllllllllllllllllllllllllllllllll fee to get the range of magnificant plugins and codes. and best support ever. if i was you i would get it Big Grin


Possibly Related Threads...
Thread Author Replies Views Last Post
  MyCode in Thread Title Black Kat 7 7,142 Sep 12, 2010, 01:27 AM
Last Post: Kaleb
  MyCode Tutorial Elite Dash 2 3,029 Jul 24, 2010, 01:31 PM
Last Post: Elite Dash
  MyCode GOEAR darkmantk 9 5,350 Jul 22, 2010, 04:40 PM
Last Post: 88power88
  MP3 Player MyCode Elite Dash 12 7,202 Jul 22, 2010, 03:06 AM
Last Post: Elite Dash
  SpeedTest Mycode Plugin [1.4.x] Mycode King 13 8,906 Jun 05, 2010, 05:49 AM
Last Post: MasterZuFu

Forum Jump:


Users browsing this thread: 1 Guest(s)