Submit Your Article Modifications Contact Us

Titan Quest


Go Back   Titan Quest Forums > General > Site News & Feedback
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read



If you are having problems logging in, send a mail to webmaster@titanquest.net and we'll try to sort something out.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-11-2009, 11:18 PM
yerkyerk's Avatar
yerkyerk
[User Offline]
 
Join Date: Feb 2008
Posts: 6,113
yerkyerk is on the right path
Default Embed youtube videos

I figured this change was big enough to merit its own thread.

I've inserted a BB code to embed youtube videos (also added an icon for youtube).
You can add youtube videos by inserting the final part of the url (the strange code) between [ youtube] [ /youtube] (no spaces).

So:
http://www.youtube.com/watch?v=Qf9CC7NXeZQ
would become
HTML Code:
[YOUTUBE]Qf9CC7NXeZQ[/YOUTUBE]


A hopefully redundant note; I expect everyone to abide by the rules and use this feature responsibly.
__________________
Reply With Quote
  #2 (permalink)  
Old 06-12-2009, 02:19 AM
Nuwine
[User Offline]
Warrior
 
Join Date: Apr 2009
Posts: 120
Nuwine is the epitome of generic
Default Re: Embed youtube videos

Wow, that is a great video.

Edit: Lol was watching the video and forgot to comment on the actual thread. This is great I may need to start recording more of my uber challenge.

Last edited by Nuwine; 06-12-2009 at 02:20 AM. Reason: derail
Reply With Quote
  #3 (permalink)  
Old 06-12-2009, 06:42 AM
Munderbunny's Avatar
Munderbunny
[User Offline]
Delayomancer
Telkine
 
Join Date: May 2008
Posts: 4,286
Munderbunny is on the right path
Default Re: Embed youtube videos

Hey, very cool!
Reply With Quote
  #4 (permalink)  
Old 06-14-2009, 10:32 AM
Haktar
[User Offline]
Warrior
 
Join Date: Feb 2009
Posts: 96
Haktar is the epitome of generic
Default Re: Embed youtube videos

Great video and great feature. Good job!

Thx a lot!
__________________
"And when Alexander saw the breadth of his domain, he wept, for there were no more worlds to conquer. Benefits of a classical education."

(c) Hans Gruber
Reply With Quote
  #5 (permalink)  
Old 06-19-2009, 01:43 AM
ASYLUM101's Avatar
ASYLUM101
[User Offline]
Telkine
 
Join Date: Aug 2007
Posts: 2,939
ASYLUM101 is aiming to become a model tq.netter
Default Re: Embed youtube videos

It works! yay how cool.
Reply With Quote
  #6 (permalink)  
Old 06-19-2009, 09:45 AM
jiaco's Avatar
jiaco
[User Offline]
Demi God
 
Join Date: Sep 2008
Location: GMT+1
Posts: 890
jiaco is aiming to become a model tq.netter
Default Re: Embed youtube videos

Much improved. Thank you for letting youtube in the forum like this. Works great!
Reply With Quote
  #7 (permalink)  
Old 06-19-2009, 09:52 AM
yerkyerk's Avatar
yerkyerk
[User Offline]
 
Join Date: Feb 2008
Posts: 6,113
yerkyerk is on the right path
Default Re: Embed youtube videos

It indeed works Unfortunately it wasn't used too much. So I removed the legal jargon and put the videos directly in there.

Only problem still is now (as it was previously), that the size is distorted.

The current code is set to give a fixed size for youtube videos, but if I remove width and height the video gets really small (thumbnail size). I'd prefer to let it automatically pick the right size.
The first part, btw (<param ...></param> seems rather redundant)
Code:
<param name="movie" value="<A href="http://www.youtube.com/v/{param}">
</param>

<embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash"
 width="425" height="350">
</embed>
Note: [_code][_/code] allows you to put things into code without BBcode messing it up (remove underscores)
__________________
Reply With Quote
  #8 (permalink)  
Old 06-19-2009, 10:18 AM
jiaco's Avatar
jiaco
[User Offline]
Demi God
 
Join Date: Sep 2008
Location: GMT+1
Posts: 890
jiaco is aiming to become a model tq.netter
Default Re: Embed youtube videos

I really dont see any distortion but

Google pulled this out:
Code:
<object width="425" height="350"><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="425" height="350"></embed></object>
When I right click the youtube video above and copy embed html (in firefox) I get:
Code:
<object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Qf9CC7NXeZQ&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/Qf9CC7NXeZQ&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="425" height="344"></embed></object>
Could the height 350 versus 344 be the cause of this distortion?
Reply With Quote
  #9 (permalink)  
Old 06-19-2009, 10:22 AM
yerkyerk's Avatar
yerkyerk
[User Offline]
 
Join Date: Feb 2008
Posts: 6,113
yerkyerk is on the right path
Default Re: Embed youtube videos

Well, the distortion is hardly noticable, but, the video is a lot smaller (and more square/less widescreen).

344 might be a better value Heh, I never bothered to look up the youtube site...
__________________
Reply With Quote
  #10 (permalink)  
Old 06-23-2009, 03:11 PM
Tashes's Avatar
Tashes
[User Offline]
Elemental
 
Join Date: Oct 2008
Posts: 502
Tashes is aiming to become a model tq.netter
Default Re: Embed youtube videos

Thankyou, finally, for fixing this! It was only one of the first posts I made... :tease:
__________________
What apple?
Then and than are different words.
Reply With Quote
Reply


Thread Tools
Display Modes


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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 02:04 AM.


TitanQuest.net is an Privacy Policy and Legal
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0
Titan Quest Forums are not affiliated with THQ/Iron Lore.