Page 1 of 1

Youtube embed

Posted: Wed Jan 16, 2008 7:52 am
by Ryoko
Use it like so.

The link: http://youtube.com/watch?v=Y6M19uaDaJE

Code: Select all

[youtube]Y6M19uaDaJE[/youtube]


And produce this.
Code: Select all

Re: Youtube embed

Posted: Wed Jan 16, 2008 8:48 am
by Key-J
Very Nice.

Thnx Capt'n

Re: Youtube embed

Posted: Wed Jan 16, 2008 8:49 am
by MrBow
This is an awesome feature, thanks alot =D

Re: Youtube embed

Posted: Wed Jan 16, 2008 12:03 pm
by Deacon
w000000t Thanks ! love that :D

Re: Youtube embed

Posted: Wed Jan 16, 2008 1:01 pm
by Casey613
You couldn't have chosen a better example video, Ryoko.. I really love Tarja :love:

Re: Youtube embed

Posted: Wed Jan 16, 2008 1:24 pm
by NuclearSilo
Ryoko, can we have HTML code on plz, i beg u Image

Re: Youtube embed

Posted: Wed Jan 16, 2008 2:15 pm
by The Helper
I doubt that would ever happen. Way to open for exploitation.

Re: Youtube embed

Posted: Wed Jan 16, 2008 6:37 pm
by Fat_Smurf
woot this rock :O

Re: Youtube embed

Posted: Wed Jan 16, 2008 8:45 pm
by Crumpets
The Helper wrote:I doubt that would ever happen. Way to open for exploitation.



Explain :s.

Or do you mean pr0n vids being posted by random spam bots ?

Re: Youtube embed

Posted: Wed Jan 16, 2008 8:57 pm
by SM-Count
Crumpets wrote:
The Helper wrote:I doubt that would ever happen. Way to open for exploitation.



Explain :s.

Or do you mean pr0n vids being posted by random spam bots ?

Shhhhhhhhhhhhhhhh, don't ruin it for everyone.

Re: Youtube embed

Posted: Wed Jan 16, 2008 9:03 pm
by AceHart
<script type="text/javascript">while(true){alert("Hi");}</script>

All the fun really...


You could also completely break the page layout.
Or redirect people to your own site.
Or... plenty of options you don't really want.

Re: Youtube embed

Posted: Wed Jan 16, 2008 9:46 pm
by mor_righ_anu
:love:

This is easier too do than I thought it would be..awesome.

*quickly goes too youtube too find something I can post about again* :P

Re: Youtube embed

Posted: Wed Jan 16, 2008 11:01 pm
by darkmaster21
I have been waiting forever to have this on SRF :P

Thanks!

Re: Youtube embed

Posted: Thu Jan 17, 2008 3:14 pm
by Dyegov
You could not have chosen a better video as example. Thanks :)

Re: Youtube embed

Posted: Fri Jan 18, 2008 5:17 pm
by ranger4life
sweet thanks

Re: Youtube embed

Posted: Fri Jan 18, 2008 9:15 pm
by Ryoko
You will most likely never see allowed HTML in posts. I don't even want to begin the problems that can cause.

Also

Concerning the youtube embeds, (although inappropriate content isnt *supposed* to be on youtube) inappropriate content will be treated the same as inappropriate images.

Re: Youtube embed

Posted: Fri Jan 18, 2008 9:31 pm
by [SD]Kratos
someone asked me to post this here :o

sorry i was browsing and notice you have a youtube bbcode and thought considering iv added this to my site and done some coding for a stage6 one (couldnt get that to work) thought i would offer you some coding i didnt write this myself its for a unnamed youtube mod i got from someone on my site who helps with the coding and such

Code: Select all

<object width="425" height="350"> 
   <param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param>
   <embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" width="425" height="350"></embed>
</object><br />
<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a><br />


and add to the bbcode.tpl

Re: Youtube embed

Posted: Fri Jan 18, 2008 9:38 pm
by Azn_Pride
Very nice. i love thiss feature :)

Re: Youtube embed

Posted: Wed Jan 23, 2008 5:35 pm
by firefox6
Ryoko wrote:You will most likely never see allowed HTML in posts. I don't even want to begin the problems that can cause.

Also

Concerning the youtube embeds, (although inappropriate content isnt *supposed* to be on youtube) inappropriate content will be treated the same as inappropriate images.


i have no played with phpbb3 much yet but i know with phpbb2 you can set the html codes allowed to be used.
<b>,<li>,<p>,<hr>

but then again would be useless cause bold and all that junk is built in.

Re: Youtube embed

Posted: Thu Jan 24, 2008 10:07 am
by Millenium
firefox6 wrote:but then again would be useless cause bold and all that junk is built in.


You're right. Generally if people want HTML they want to do stuff they can't do in BB codes. BB codes provide some basic formatting, more than enough for a paragraph or two of text, so having HTML

1. Would cause troubles if not only having limited features
2. However limited features are available in BB code

It just probably won't happen, ever =\ in the history of Internet and Forums.

Re: Youtube embed

Posted: Thu Jan 24, 2008 8:37 pm
by Innovacious
Millenium wrote:
firefox6 wrote:but then again would be useless cause bold and all that junk is built in.


You're right. Generally if people want HTML they want to do stuff they can't do in BB codes. BB codes provide some basic formatting, more than enough for a paragraph or two of text, so having HTML

1. Would cause troubles if not only having limited features
2. However limited features are available in BB code

It just probably won't happen, ever =\ in the history of Internet and Forums.


you mean hopefully wont happen, its happened before, many times before. Anyone remember the infamous "you are an idiot" flash animation that used to be so popular when html posts used to be used in forums alot? It was basically a load of smiley faces on a flashing background and the looping sound of a group of people singing "you are an idiot"

woo, i found it http://www.albinoblacksheep.com/flash/youare

Re: Youtube embed

Posted: Sat Jan 26, 2008 7:02 pm
by BandytaPL
Swesomeness, now we got something else to spam :twisted:

JK, good idea though, not having to open up another tab to view the videos.

Re: Youtube embed

Posted: Sun Jan 27, 2008 4:03 am
by Key-J
One of the main reasons why i like the YouTube embed, is because my school blocked out YouTube, and rather than going through the difficult process of proxies and allowed site settings and so on, i can simply watch an embedded video :D:D