How to insert Videos
Posted: March 19th, 2011, 1:51 am
With the new forum software there now is an easier (and safer) way to embed youtube and other videos.
YouTube
For this you can use the following BBCode
The VideoID is the last part of the URL to your video.
F.e. the video http://www.youtube.com/watch?v=AtClePfPthI has the VideoID AtClePfPthI
So I can use this BBCode to embed it.
Vimeo
Embedding videos from Vimeo works almost the same way like for Youtube
For the video http://vimeo.com/10545987 the VideoID is 10545987
so you can embed the video with the following BBCode.
Flickr
Embedding videos from Flickr is unfortunately a bit more complicated.
First copy the html code you get when you click on "Share This" --> "Grab the html/BBCode" on Flickr.
Remove everything except the embed part.
From this code you will need the src and the flashvars.
Put those parts together with a &-sign in between and add a flash-BBCode around it.
Full example:
YouTube
For this you can use the following BBCode
Code: Select all
[youtube]VideoID[/youtube]
F.e. the video http://www.youtube.com/watch?v=AtClePfPthI has the VideoID AtClePfPthI
So I can use this BBCode to embed it.
Code: Select all
[youtube]AtClePfPthI[/youtube]
Vimeo
Embedding videos from Vimeo works almost the same way like for Youtube
Code: Select all
[vimeo]VideoID[/vimeo]
so you can embed the video with the following BBCode.
Code: Select all
[vimeo]10545987[/vimeo]
Flickr
Embedding videos from Flickr is unfortunately a bit more complicated.
First copy the html code you get when you click on "Share This" --> "Grab the html/BBCode" on Flickr.
Remove everything except the embed part.
Code: Select all
<embed type="application/x-shockwave-flash" src="http://www.flickr.com/apps/video/stewart.swf?v=71377" bgcolor="#000000" allowfullscreen="true" flashvars="intl_lang=en-us&photo_secret=01314602eb&photo_id=4619190591" height="225" width="400"></embed>
Code: Select all
src = http://www.flickr.com/apps/video/stewart.swf?v=71377
flashvars = intl_lang=en-us&photo_secret=01314602eb&photo_id=4619190591
Code: Select all
[flash=400,225]src&flashvars[flash]
Code: Select all
[flash=400,225]http://www.flickr.com/apps/video/stewart.swf?v=71377&intl_lang=en-us&photo_secret=01314602eb&photo_id=4619190591[/flash]