Company of Heroes: Eastern Front

Other discussions (Read-Only) => Tech Support => Topic started by: Blackbishop on May 14, 2013, 08:09:13 AM

Title: Embedding videos
Post by: Blackbishop on May 14, 2013, 08:09:13 AM
To embed videos in posts click on the (http://www.easternfront.org/forums/Themes/default/images/bbc/flash.gif) button when posting a reply or starting a new topic, it will give you this:

Code: [Select]
[flash=200,200][/flash]
First, the "200,200" part is the size of the video be careful about the size you assign ;). Second, you need to format the URL for the video in this way:

Regular YouTube URL
Code: [Select]
http://www.youtube.com/watch?v=VTbzeXebDIM&feature=player_embedded

OR

http://www.youtube.com/watch?v=VTbzeXebDIM

You need to take the value of "v", in the case of the URL above would be this "VTbzeXebDIM", and format it in this way:

Code: [Select]
[flash=200,200]http://www.youtube.com/v/VTbzeXebDIM?hd=1[/flash]
You can choose a dimension of "720,480" or "640,480" or whatever you prefer as long as it can be shown properly instead of "200,200". The ?hd=1 means the video will load the 720p version if available, however, as far as I know it already does it by default regardless you put or not the parameter... so you can just omit that part.

So, the result of the snippet of above would be this:
http://www.youtube.com/v/VTbzeXebDIM?hd=1

And that's why you should change the default size of the tag 8). These instructions work not only in Eastern Front forums, but on every forum based upon SMF v2.0 if they have enabled the Flash tag((http://www.easternfront.org/forums/Themes/default/images/bbc/flash.gif)).

I guess this will surely come handy for some users :).