Embedding Audio and Video

From AGI Wiki
Revision as of 21:03, 8 August 2014 by Andrew Branscom (talk | contribs)
Jump to navigationJump to search

Embedding Audio

OGG
To be done.

File:KQ4AGI Dwarves Mine.ogg

KQ4 Dwarve's Mine

Embedding Video

OGV

Theora (OGV and OGG) is a Xiph.Org's (Vorbis audio format and the OGG container) free lossy video compression format, distributed without licensing fees. Videos can be encoded to Theora with the free MiniCoder batch encoder. The following code can be used to embed an OGV video. It uses the same code as images. The "thumbtime=" specifies what video frame to use for the thumbnail image.

[[File:SeasonedPro.ogv|thumb|thumbtime=0:02|320px|center|<div align="center">1990 Christmas Card - The Seasoned Pro (256 colors)</div>]]


 


Flash

The following code can be used to embed a Flash video.

<oflash file="http://sierrahelp.com/Assets/Movies/Camelot.flv" width="640" height="480" />

will give:

<oflash file="http://sierrahelp.com/Assets/Movies/Camelot.flv" width="640" height="480" />