Welcome Guest [Log In] [Register]
We hope you enjoy your visit.

You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.


Join our community!


If you're already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
[CODE] Youtube Embed BBCODE; Users can post a youtube video simply
Topic Started: Apr 18 2008, 06:25 PM (20,034 Views)
trinigangsta-ZNR
Member
[ * ]
Code or Skin Name: Youtube videos in posts

Description: You post a piece of any Youtube video between a bbcode, and it will be converted into a youtube video in the post, without the use of DoHTML tags

Preview of it in Use: http://z15.invisionfree.com/trinimods/inde...ic=4&st=0&#last

Where it goes (code): Under <% BOARD %>

Copyright: Me, Trini_GanGsta

Put this:
Code:
 
<script src="http://resourceempire.com/filehosting/trinigangsta/yt.js"></script>

Under <% BOARD %> and your done!

The Youtube button will appear when posting

PAY CLOSE ATTENTION HERE!

If this:
http://www.youtube.com/watch?v=JnNLpeJzDi8
is the Youtube video you would like to post, you would only put:
Quote:
 
JnNLpeJzDi8

between the Youtube tags
http://www.youtube.com/watch?v=JnNLpeJzDi8




Backup of code:
Spoiler: click to toggle
Offline Profile Quote Post Goto Top
 
prosimfreak1
Member Avatar
Member
[ * ]
Simple, easy to use. Good work. Can't really think of any mistakes, it's Browser Compatible, no flaws or errors. Good code anyway. It worked for me, the button's nice.

Once again, nice.
Offline Profile Quote Post Goto Top
 
c e o of gpz
Member
[ *  * ]
U ARE GOOD THANKS THANKS THANKS!!!
Offline Profile Quote Post Goto Top
 
Engelens
Member Avatar
Member
[ * ]
this code is awesome, i dont need to put links to video anymore ^^
thnx a lot!
Offline Profile Quote Post Goto Top
 
bobbelzz0
Member
[ * ]
Thnx this code is awsome ^^,
But i have one question..

The button appears underneath: Open Tags:
But how can i place it just next to the LIST button ?
Offline Profile Quote Post Goto Top
 
callum4ever
Member
[ *  * ]
that is pure genius
Offline Profile Quote Post Goto Top
 
AnimeFanX00
Member Avatar
Member
[ * ]
good, but next time, can u make this same code exept you can put videos from different video sites like myspacetv, veoh, or megavideo. I'd appreciate it if you would reply back to me, thanks!
Offline Profile Quote Post Goto Top
 
MuhammadHaziq
Member
[ * ]
It didn't work :(
Offline Profile Quote Post Goto Top
 
AnimeFanX00
Member Avatar
Member
[ * ]
MuhammadHaziq
May 22 2008, 07:44 AM
It didn't work :(

thats odd, it works for me fine o_O
Offline Profile Quote Post Goto Top
 
MuhammadHaziq
Member
[ * ]
It just showed the link instead of the video
Offline Profile Quote Post Goto Top
 
Deleted User
Deleted User

MuhammadHaziq
May 23 2008, 07:57 AM
It just showed the link instead of the video

Did you put the youtube code around the link?
Quote Post Goto Top
 
lock n load
Member Avatar
Member
[ * ]
what youtube code whould that be?

It dont work for me

i put: [youtube]NkyTv8E[/youtube]

it dont work :(

i put the script under board like it says... but nuthin :(

link... have a look for yourself

i put it in capitals and it gives a large space where it should be, but there is just black
Offline Profile Quote Post Goto Top
 
mankato
Member Avatar
Member
[ *  * ]
say this was the full url for the video
Quote:
 


Use everthing after v=
Quote:
 
Y18LUMkVt2Y&feature=bz301


so it would be
Quote:
 
[youtube]Y18LUMkVt2Y&feature=bz301[/youtube]


Offline Profile Quote Post Goto Top
 
lock n load
Member Avatar
Member
[ * ]
Quote:
 
[YOUTUBE]NkyTv8E[/YOUTUBE]

[YOUTUBE]Fz2_NkyTv8E[/YOUTUBE]

[YOUTUBE]JnNLpeJzDi8[/YOUTUBE]

[YOUTUBE]Fz2_NkyTv8E&hl=en&rel=0&color1=0x234900&color2=0x4e9e00[/YOUTUBE]

[YOUTUBE]Y18LUMkVt2Y&feature=bz301[/YOUTUBE]


I put the above in a post, and i get a lot of fairly large black boxes :(

Question: does this work for free invision?
Offline Profile Quote Post Goto Top
 
mankato
Member Avatar
Member
[ *  * ]
Yeah. The code is for invisionfree. I have it on my site. I just tested it
with that youtube url I used as an example. I tested it with a few different ones and they all work. o_O
Offline Profile Quote Post Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Codes & Modifications · Next Topic »
Add Reply