Zophar's Message Domain

Zophar's Message Domain (http://www.zophar.net/forums/index.php)
-   Site Questions / Suggestions (http://www.zophar.net/forums/forumdisplay.php?f=9)
-   -   New forum Feature! Youtube! (http://www.zophar.net/forums/showthread.php?t=9990)

Reaper man 12-02-2008 05:03 AM

New forum Feature! Youtube!
 
<center><object width="425" height="344"><embed src="http://www.youtube.com/v/3KANI2dpXLw&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="344"></object></center>

I decided to add the youtube tag for posts so that you can now post various videos, including (but not limited to) ROM hack demonstrations, emulation tutorials, and more!

The tag works as follows:

{youtube}video id{/youtube} (replace curly brackets with square ones, of course)

So go ahead, hop on the forums, and try it out!

Ugly Joe 12-02-2008 05:54 AM



Working, yay!

BTW, you can use [noparse][/noparse] to keep tags from getting parsed:

[youtube]video id[/youtube]

Isildur 12-02-2008 06:20 AM

testing, yipyipyipyip testtesttestesttest


Nice. =)

Isildur 12-02-2008 11:16 AM

toying around...






Reaper man 12-02-2008 09:36 PM

Quote:

Originally Posted by Isildur (Post 84601)
toying around...

.....D:

ack, well that's a pretty interesting exploit you found, but not exactly useful. Sadly, I can't think of anything that would counteract that though. ;/

Isildur 12-03-2008 06:39 AM

Quote:

Originally Posted by Reaper man (Post 84608)
.....D:

ack, well that's a pretty interesting exploit you found, but not exactly useful. Sadly, I can't think of anything that would counteract that though. ;/

Yeah, it's apparently not dangerous, so long as there aren't any SWFs hosted on the youtube.com domain that do something like redirect to another site. (Fortunately, in html-off mode, vBulletin already converts quotation marks to "&quot;". Otherwise, some nasty js exploits might perhaps be possible by inserting a closing quotation mark and then an event handler.) I guess it should be possible to program the PHP to do a PCRE search for the string

=\"http:\/\/www\.youtube\.com\/v\/*/\.*.\"

and replace it with somthing like =\"\"

but it's probably not necessary-- YouTube doesn't host any problematic SWFs as far as I can tell -- so you probably needn't worry about it, since the harmless stuff that I did is about all that a forum user could do, as far as I can tell.

Isildur 12-03-2008 07:25 AM

Continuing the muppet theme...
 
Continuing the muppet theme...





And of course:


Ugly Joe 12-04-2008 05:01 PM

Can you add
Code:

&showsearch=0
to the link so that we don't see the annoying search bar?

Reaper man 12-04-2008 07:11 PM

Quote:

Originally Posted by Ugly Joe (Post 84648)
Can you add
Code:

&showsearch=0
to the link so that we don't see the annoying search bar?

Yeah that was bothering me a bit too, so it's fixed now. Nice find. I didn't even think it could be disabled.

in fact, I guess one could say that find was 1337 (my current post count) HA!

Isildur 12-06-2008 04:37 PM

Quote:

Originally Posted by Reaper man (Post 84651)
Yeah that was bothering me a bit too, so it's fixed now. Nice find. I didn't even think it could be disabled.

in fact, I guess one could say that find was 1337 (my current post count) HA!

Hm... I see 3,821 now. Did you switch it down to 1337 and then switch it back up?


All times are GMT. The time now is 03:37 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.