Go Back   Flash Flash Revolution > Flash Flash Revolution > FFR General Talk > Bug Reports and Suggestions
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 10-27-2010, 03:18 PM   #1
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 34
Posts: 8,080
Default [youtube] tag [/youtube]

Some of the other forums have this tag and it is very handy when you want to directly show off videos to other people.

From what I figure, it shouldn't be that hard to implement this, so why not ??
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 10-27-2010, 09:34 PM   #2
Netjet!
Sic itur ad astra
Retired StaffFFR Simfile AuthorFFR Veteran
 
Netjet!'s Avatar
 
Join Date: Jan 2008
Location: Ottawa, Canada
Age: 30
Posts: 4,700
Send a message via AIM to Netjet! Send a message via Skype™ to Netjet!
Default Re: [youtube] tag [/youtube]

Definitely a possibility. While other things take priority, I'll pass this on and see what can be done.

-Net
Netjet! is offline   Reply With Quote
Old 10-27-2010, 11:47 PM   #3
Izzy
Snek
FFR Simfile AuthorFFR Veteran
 
Izzy's Avatar
 
Join Date: Jan 2003
Location: Kansas
Age: 33
Posts: 9,192
Default Re: [youtube] tag [/youtube]

I tried to do it awhile back with html tags and it didn't work using youtube embed code.
Izzy is offline   Reply With Quote
Old 10-27-2010, 11:54 PM   #4
Sprite-
HAVE ME WITH VODKA
Retired StaffFFR Simfile AuthorFFR Veteran
 
Sprite-'s Avatar
 
Join Date: Aug 2005
Location: Long Island, New York
Age: 35
Posts: 7,316
Default Re: [youtube] tag [/youtube]

I can make it quite easily. I will ask the rest of the staff to see if they object.
Sprite- is offline   Reply With Quote
Old 10-28-2010, 12:24 AM   #5
Sprite-
HAVE ME WITH VODKA
Retired StaffFFR Simfile AuthorFFR Veteran
 
Sprite-'s Avatar
 
Join Date: Aug 2005
Location: Long Island, New York
Age: 35
Posts: 7,316
Default Re: [youtube] tag [/youtube]

There, it has been done!


[youtube]videoID[/youtube]

Last edited by Sprite-; 10-28-2010 at 12:38 AM..
Sprite- is offline   Reply With Quote
Old 10-28-2010, 12:55 AM   #6
wargasm1
Cowbelling FFR
FFR Veteran
 
wargasm1's Avatar
 
Join Date: Apr 2007
Age: 95
Posts: 1,289
Send a message via Skype™ to wargasm1
Default Re: [youtube] tag [/youtube]

test

wargasm1 is offline   Reply With Quote
Old 10-28-2010, 01:00 AM   #7
Shikari
FFR Player
 
Shikari's Avatar
 
Join Date: Oct 2010
Age: 32
Posts: 2,055
Send a message via AIM to Shikari Send a message via Skype™ to Shikari
Default Re: [youtube] tag [/youtube]

Testin'





Edit: Well, it seems broken for me, but it's working for others, so yes, good job again, Sprite.
__________________

Quote:
Originally Posted by gold stinger View Post
Shikari for resident profile artist

Last edited by aperson; 10-28-2010 at 01:05 AM..
Shikari is offline   Reply With Quote
Old 10-28-2010, 01:04 AM   #8
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 34
Posts: 8,080
Default Re: [youtube] tag [/youtube]

Quote:
Originally Posted by Shikari View Post
Testin'





Edit: Well, it seems broken for me, but it's working for others, so yes, good job again, Sprite.
What you wrote: [youtube]http://www.youtube.com/watch?v=NgB1HFZIh3c[/youtube]

What you should've written: [youtube]NgB1HFZIh3c[/youtube]

What is supposed to be shown:






Also nice job Sprite
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 10-28-2010, 01:05 AM   #9
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: [youtube] tag [/youtube]

Fixed it for you edit your post to find out how
__________________

aperson is offline   Reply With Quote
Old 10-28-2010, 01:06 AM   #10
bmah
shots FIRED
Global Moderator, User Support, Judge
Global ModeratorFFR Simfile AuthorFFR Veteran
 
bmah's Avatar
 
Join Date: Oct 2003
Location: Edmonton, AB
Age: 35
Posts: 8,448
Default Re: [youtube] tag [/youtube]

Most forums I know utilize the full youtube link. Only here and KBO are the places I know that only use the video ID. :/

Anyways, handy thing to have. Thanks.
bmah is offline   Reply With Quote
Old 10-28-2010, 01:09 AM   #11
Shikari
FFR Player
 
Shikari's Avatar
 
Join Date: Oct 2010
Age: 32
Posts: 2,055
Send a message via AIM to Shikari Send a message via Skype™ to Shikari
Default Re: [youtube] tag [/youtube]

Quote:
Originally Posted by leonid View Post
What you wrote: [youtube]http://www.youtube.com/watch?v=NgB1HFZIh3c[/youtube]

What you should've written: [youtube]NgB1HFZIh3c[/youtube]
Hmm, thanks, Leo.



Edit: And aperson, for the edit/fix.
__________________

Quote:
Originally Posted by gold stinger View Post
Shikari for resident profile artist
Shikari is offline   Reply With Quote
Old 10-28-2010, 01:23 AM   #12
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: [youtube] tag [/youtube]

Quote:
Originally Posted by bmah View Post
Most forums I know utilize the full youtube link. Only here and KBO are the places I know that only use the video ID. :/

Anyways, handy thing to have. Thanks.
Not letting you embed external URLs outside of youtube no sir
__________________

aperson is offline   Reply With Quote
Old 10-28-2010, 01:32 AM   #13
skyfox_
FFR Player
 
skyfox_'s Avatar
 
Join Date: Sep 2006
Age: 33
Posts: 354
Send a message via MSN to skyfox_
Default Re: [youtube] tag [/youtube]

i like this.


maybe throw in some other standard forum tags while youre at it.
__________________

skyfox_ is offline   Reply With Quote
Old 10-28-2010, 01:35 AM   #14
Izzy
Snek
FFR Simfile AuthorFFR Veteran
 
Izzy's Avatar
 
Join Date: Jan 2003
Location: Kansas
Age: 33
Posts: 9,192
Default Re: [youtube] tag [/youtube]



Edit: Did the wasted sig space get fixed?
Izzy is offline   Reply With Quote
Old 10-30-2010, 06:34 PM   #15
scl1604
FFR Player
 
Join Date: Sep 2009
Posts: 31
Default Re: [youtube] tag [/youtube]

Quote:
Originally Posted by bmah View Post
Most forums I know utilize the full youtube link. Only here and KBO are the places I know that only use the video ID. :/
Why not make it so that it works both ways?
scl1604 is offline   Reply With Quote
Old 10-30-2010, 06:43 PM   #16
Sprite-
HAVE ME WITH VODKA
Retired StaffFFR Simfile AuthorFFR Veteran
 
Sprite-'s Avatar
 
Join Date: Aug 2005
Location: Long Island, New York
Age: 35
Posts: 7,316
Default Re: [youtube] tag [/youtube]

If we use the whole link, people can abuse it and put any link in tags. This way is secure.
Sprite- is offline   Reply With Quote
Old 10-30-2010, 06:54 PM   #17
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 34
Posts: 8,080
Default Re: [youtube] tag [/youtube]

you could make it look for and replace every occurrence of /\[youtube\](http:\/\/)?(www\.)?youtube\.com\/watch\?v=/ with "[youtube]"
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 10-30-2010, 07:10 PM   #18
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: [youtube] tag [/youtube]

Quote:
Originally Posted by leonid View Post
you could make it look for and replace every occurrence of /\[youtube\](http:\/\/)?(www\.)?youtube\.com\/watch\?v=/ with "[youtube]"
Then that wouldn't even be a BBCode, that would be a stream editor that has to be exec'ed whenever anyone posts.
__________________

aperson is offline   Reply With Quote
Old 10-30-2010, 07:12 PM   #19
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 34
Posts: 8,080
Default Re: [youtube] tag [/youtube]

but doesn't every url get replaced by [url]url[/url]? idk I have no idea how BBCode works so derp
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 10-30-2010, 07:13 PM   #20
aperson
FFR Hall of Fame
Retired StaffFFR Simfile AuthorFFR Veteran
 
aperson's Avatar
 
Join Date: Jul 2003
Location: Houston
Posts: 3,428
Send a message via AIM to aperson
Default Re: [youtube] tag [/youtube]

Long story short: The current method is secure against any kind of injections and doesn't require anything extra to be done to parse the command, it isn't changing.
__________________

aperson is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 01:34 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution