How to insert Videos

Everything you need to know about the Origami Forum.
Locked
User avatar
Daydreamer
Moderator
Posts: 1423
Joined: October 28th, 2005, 2:53 pm
Location: Vienna, Austria
Contact:

How to insert Videos

Post by Daydreamer »

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

Code: Select all

[youtube]VideoID[/youtube]
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.

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]
For the video http://vimeo.com/10545987 the VideoID is 10545987
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>
From this code you will need the src and the flashvars.

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
Put those parts together with a &-sign in between and add a flash-BBCode around it.

Code: Select all

[flash=400,225]src&flashvars[flash]
Full example:

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]
So long and keep folding ^_^
Gerwin
Locked