Company of Heroes: Eastern Front

Author Topic: Embedding videos  (Read 1606 times)

Offline Enrique 'Blackbishop' E.

  • Administrator
  • Poster of the Soviet Union
  • *
  • Posts: 12057
  • Community Manager, Programmer and Kicker
    • View Profile
Embedding videos
« on: May 14, 2013, 08:09:13 AM »
To embed videos in posts click on the button when posting a reply or starting a new topic, it will give you this:

Code: [Select]
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]


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]
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:
<a href="" target="_blank" class="new_win"></a>

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().

I guess this will surely come handy for some users :).
« Last Edit: May 14, 2013, 08:11:33 AM by blackbishop »
Mors Indecepta

Might controls everything, and without strength you cannot protect anything. Let alone yourself...