It is currently Thu May 23, 2013 6:21 pm

All times are UTC - 5 hours [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 27 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:33 pm 
Offline
Hands Off The Panda!
Hands Off The Panda!
Group: Administrator
Group: Hero
Group: TGH Staff
User avatar

Joined: Tue May 27, 2008 7:48 am
Posts: 5095
Location: Dublin, Ireland
Over the past few days I've been tinkering with a new BBCode for the forums, and this is what I've come up with:



That's right! :yuush:
From now on you can all embed youtube videos into topics.

All you have to do is copy and paste the URL of the video in between the tags and it should show up

I'm also working on another code which will allow you to post videos from any video hosting site, but it'll take me another while to sort it out completely, so you'll have to settle for just being able to post youtube videos for now.

As with everything these days, there are rules for using these tags:

  • When posting multiple videos, place them in a spoiler.
  • No videos allowed in sigs
  • Obviously no inappropriate videos allowed

_________________
Image
ლ(ಠ益ಠლ) #thegameheroes IRC, Now with girls!! <3


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:38 pm 
Offline
Is it Hyper or Tiger?
Is it Hyper or Tiger?
Group: Henchman
User avatar

Joined: Tue May 27, 2008 1:14 pm
Posts: 2078
Location: Northern Ireland
Good work Mary, it's just like LWD :teehee:

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:39 pm 
Offline
Worst Thing Since Bat-Mite
Worst Thing Since Bat-Mite
Group: B&

Joined: Tue May 27, 2008 12:53 am
Posts: 1869
Location: Wow, look a new call of duty game! You get to shoot people with the same weapons over and over again
Demon Gate wrote:
Good work Mary, it's just like LWD :teehee:

WHAT A COINCIDENCE!!!! :-o


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:40 pm 
Offline
Ready to get this paper, G, you with me?
Ready to get this paper, G, you with me?
Group: Villain
User avatar

Joined: Thu Mar 26, 2009 2:28 am
Posts: 3987
Location: Chicagoland
Well, this news makes me want to...


_________________
Image

*click* Get yer ass over to the GH chat! *click*
[+=..]OLD SCHOOL PRIDE(+--::)


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:41 pm 
Offline
Hands Off The Panda!
Hands Off The Panda!
Group: Administrator
Group: Hero
Group: TGH Staff
User avatar

Joined: Tue May 27, 2008 7:48 am
Posts: 5095
Location: Dublin, Ireland
Demon Gate wrote:
Good work Mary, it's just like LWD :teehee:

Yes, but this code supports HD! :rabbid:

_________________
Image
ლ(ಠ益ಠლ) #thegameheroes IRC, Now with girls!! <3


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:43 pm 
Offline
A Noble Friend & The Court Magician
A Noble Friend & The Court Magician
Group: Sidekick
User avatar

Joined: Tue May 27, 2008 8:30 pm
Posts: 965
Location: Vancouver, BC

_________________
Image
Check out DebasedToThis, dawg. You know you want to click it.


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:48 pm 
Offline
Is it Hyper or Tiger?
Is it Hyper or Tiger?
Group: Henchman
User avatar

Joined: Tue May 27, 2008 1:14 pm
Posts: 2078
Location: Northern Ireland
mscupcakes wrote:
Demon Gate wrote:
Good work Mary, it's just like LWD :teehee:

Yes, but this code supports HD! :rabbid:


I meant you're turning it into LWD 2.0 :nyor:

_________________
Image

Image


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:51 pm 
Offline
ATATATATATATATATATATATATATATA
ATATATATATATATATATATATATATATA
Group: Hero
User avatar

Joined: Tue May 27, 2008 7:47 am
Posts: 5056
Location: Inverness, Scotland
Finally were not fucking cavemen anymore.

_________________
Image

For more Gary products and unrelated Gary products visit the my page. It's Garyific!


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 9:56 pm 
Offline
Ready to get this paper, G, you with me?
Ready to get this paper, G, you with me?
Group: Villain
User avatar

Joined: Thu Mar 26, 2009 2:28 am
Posts: 3987
Location: Chicagoland
Kaiserhawk wrote:
Finally were not fucking cavemen anymore.

Image
You bigot!

_________________
Image

*click* Get yer ass over to the GH chat! *click*
[+=..]OLD SCHOOL PRIDE(+--::)


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 10:16 pm 
Offline
Slayer Groupies
Slayer Groupies
Group: Sidekick
Group: BETA
User avatar

Joined: Tue May 27, 2008 12:12 pm
Posts: 1063
Location: PA
This is awesome. I feel the way that Louis does when he finds pills in Left 4 Dead...



(This post almost sounds like a scene from Family Guy.)

_________________
Image


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 10:20 pm 
Offline
Beware my power... Green Lantern's light!
Beware my power... Green Lantern's light!
Group: TGH Staff
Group: Hero
User avatar

Joined: Sun Jun 08, 2008 5:33 pm
Posts: 4103
Location: East Rutherford, NJ
This is awesome. Thanks mscupcakes!
I think this calls for one of the worst things ever, seeing that tomorrow is MY GARBAGE DAY!!!!!!!!!



_________________
Image


Last edited by Mongo on Sun Jun 14, 2009 10:30 pm, edited 3 times in total.

Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Sun Jun 14, 2009 10:22 pm 
Offline
Hands Off The Panda!
Hands Off The Panda!
Group: Administrator
Group: Hero
Group: TGH Staff
User avatar

Joined: Tue May 27, 2008 7:48 am
Posts: 5095
Location: Dublin, Ireland
By the way, if you want the video to be in HD you just place "&fmt=18" after the bit you paste

... I think :-?

_________________
Image
ლ(ಠ益ಠლ) #thegameheroes IRC, Now with girls!! <3


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 3:01 am 
Offline
Papa Smurf has a @#$%ing beard! They're mammals!
Papa Smurf has a @#$%ing beard! They're mammals!
Group: Henchman
User avatar

Joined: Sun Jul 27, 2008 8:16 pm
Posts: 1236
Location: Scotland
All bow before the mighty mscupcakes. Queen of admins, embedder of videos.

_________________
No Birdo Penis Allowed! :(


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 3:05 am 
Offline
Is it Hyper or Tiger?
Is it Hyper or Tiger?
Group: Henchman
User avatar

Joined: Sat May 31, 2008 7:09 pm
Posts: 2130
Location: Scotland
You know that you can get code that takes in the entire URL? It'd save a lot of time having to cut certain parts out of it :innocentsmile:

_________________
Image
Coming soon, yo!

Koari wrote:
Dark, do me a favor: shut up


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 3:35 am 
Offline
I've just had an apostrophe.
I've just had an apostrophe.
Group: Henchman
User avatar

Joined: Tue May 27, 2008 5:08 pm
Posts: 1590
Location: Schoten


That last part sums up my feelings quite nicely. I thank you kindly.

_________________
Image

Greyarch EntertainmentPJ on TwitterPJ on DeviantArt


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 4:36 am 
Offline
B-E-N-D-E-R Beeeender
B-E-N-D-E-R Beeeender
Group: Hero
Group: BETA
User avatar

Joined: Tue May 27, 2008 12:17 am
Posts: 3016
Location: Oregon, USA
BoboTheMonkey wrote:
You know that you can get code that takes in the entire URL? It'd save a lot of time having to cut certain parts out of it :innocentsmile:


Yeah, unless you just jacked someone else's code to do this, You've already got a sort of "profile" system going, considering parsing text in php is cake, you could pretty easily have a function to A) identify what service it's from and B) use the proper data from the URL and the appropriate embed (HTML) tag for the site.

Adding more BB options like specific modes the site supports (i.e. HD) would be simple tags to add to the BB tag.

So, instead you'd only have to do something like:

Code:
[video=hd]http://www.youtube.com/watch?v=xF3fED8EXl4[/video]


and it would output:

Code:
<object width="560" height="340">
      <param name="movie" value="http://www.youtube.com/v/xF3fED8EXl4&hl=en&fs=1&ap=%2526fmt%3D22"></param>
      <param name="allowFullScreen" value="true"></param>
      <param name="allowscriptaccess" value="always"></param>
      <embed src="http://www.youtube.com/v/xF3fED8EXl4&hl=en&fs=1&ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
</object>


Anyway, it's 22, not 18, for specifying you want HD in the URL.

_________________
Image


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 10:24 am 
Offline
Hands Off The Panda!
Hands Off The Panda!
Group: Administrator
Group: Hero
Group: TGH Staff
User avatar

Joined: Tue May 27, 2008 7:48 am
Posts: 5095
Location: Dublin, Ireland
Crono wrote:
Spoiler
BoboTheMonkey wrote:
You know that you can get code that takes in the entire URL? It'd save a lot of time having to cut certain parts out of it :innocentsmile:


Yeah, unless you just jacked someone else's code to do this, You've already got a sort of "profile" system going, considering parsing text in php is cake, you could pretty easily have a function to A) identify what service it's from and B) use the proper data from the URL and the appropriate embed (HTML) tag for the site.

Adding more BB options like specific modes the site supports (i.e. HD) would be simple tags to add to the BB tag.

So, instead you'd only have to do something like:

Code:
[video=hd]http://www.youtube.com/watch?v=xF3fED8EXl4[/video]


and it would output:

Code:
<object width="560" height="340">
      <param name="movie" value="http://www.youtube.com/v/xF3fED8EXl4&hl=en&fs=1&ap=%2526fmt%3D22"></param>
      <param name="allowFullScreen" value="true"></param>
      <param name="allowscriptaccess" value="always"></param>
      <embed src="http://www.youtube.com/v/xF3fED8EXl4&hl=en&fs=1&ap=%2526fmt%3D22" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed>
</object>


Anyway, it's 22, not 18, for specifying you want HD in the URL.


Yeah I thought about that, but for people would have to paste the url of the actual video which is youtube.com/v/ instead of v=, and i thought some people might find that a bit annoying instead of just cutting out the last part.
Atleast I can't find a way around that.
I dont see how your placement would work there, when you've put in the tags is this: http://www.youtube.com/watch?v=xF3fED8EXl4
but the html has to be http://www.youtube.com/v/xF3fED8EXl4
Maybe I'm just not that good with custom BBCode tags yet @_@
this is what my code looks like this:
Code:
<object type="application/x-shockwave-flash" data="http://www.youtube.com/v/{TEXT}" width="560" height="344">
        <param name="movie" value="http://www.youtube.com/v/{TEXT}" />
        <param name="wmode" value="transparent" />
        </object>

That's all I could come up with, atleast with my basic understanding of it
I tried changing it to this to allow people to use the full URL:
Code:
<object type="application/x-shockwave-flash" data="{TEXT}" width="560" height="344">
        <param name="movie" value="{TEXT}" />
        <param name="wmode" value="transparent" />
        </object>

which doesn't work without the direct link to the video.
Can you PM me with how to set it up properly then/ :oops:

_________________
Image
ლ(ಠ益ಠლ) #thegameheroes IRC, Now with girls!! <3


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 12:28 pm 
Offline
Hands Off The Panda!
Hands Off The Panda!
Group: Administrator
Group: Hero
Group: TGH Staff
User avatar

Joined: Tue May 27, 2008 7:48 am
Posts: 5095
Location: Dublin, Ireland
Okay, I've fixed it all thanks to a little help from Bobo.
Code:
[youtube]http://www.youtube.com/watch?v={TEXT}[/youtube]

Code:
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="560" height="340"></embed></object>

I dunno why I didn't think of that..
Maybe I shouldn't stay up so late in the future :-?

You can all now just paste the URL from the video in between the tags.

Doing this has meant that all the old videos you've posted to be broken.. sorry bout that, but I'll fix most of them now

_________________
Image
ლ(ಠ益ಠლ) #thegameheroes IRC, Now with girls!! <3


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 12:42 pm 
Offline
Is it Hyper or Tiger?
Is it Hyper or Tiger?
Group: Henchman
User avatar

Joined: Sat May 31, 2008 7:09 pm
Posts: 2130
Location: Scotland
I do everything simply.


High School maths was a bit of an issue..

_________________
Image
Coming soon, yo!

Koari wrote:
Dark, do me a favor: shut up


Top
 Profile  
 
 Post subject: Re: Videos and more!!
PostPosted: Mon Jun 15, 2009 1:01 pm 
Offline
Worst Thing Since Bat-Mite
Worst Thing Since Bat-Mite
Group: Henchman
Group: B&
User avatar

Joined: Tue May 27, 2008 12:24 am
Posts: 2962
Location: "the electric city"

_________________
NO BOOBS HERE!


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 27 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group