Codec (enCOder/DECoder) non-streaming/streaming compression/decompression algorithms:
- Non-Streaming:
- Audio Formats:
- Waveform (.wav)
- Sound (.snd)
- Unix audio (.au)
- Audio interchange file format (.aif, .aiff, .aifc)
- Video Formats
- Audio-Video Interleaved (.avi)
- Streaming:
- Audio Formats:
- Moving Pictures Experts Group standard 1, Layer 1, 2, 3 (.mpa, .mp2, .mp3)
- Windows Media Audio (.wma)
- Video Formats:
- Moving Pictures Experts Group standard 1 (.mpg, .mpeg, .mpv, .mpe)
- Windows Media Video (.wmv)
Example
<OBJECT ID="Player1" height="480" width="640"
CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6">
</OBJECT>
<br />
<INPUT TYPE="BUTTON" NAME="BtnPlay" VALUE="Play" OnClick="StartPlayer()"/>
<INPUT TYPE="BUTTON" NAME="BtnStop" VALUE="Stop" OnClick="StopPlayer()"/>
<script type="text/javascript" language=javascript > 1:
2: <!--
3: function StartPlayer () { 4: this.document.Player1.URL = "happybirthday.wma";
5: }
6:
7: function StopPlayer () { 8: this.document.Player1.controls.stop();
9: }
</script>
SWFObject
Probably the most used media is Flash… Which brings up the issue of the Eola Lawsuit…and the reason for the SWFObject script…
It used to be called FlashObject way back when, but its now SWFObject -- and if you're going to deal with embedding Flash, you've just got to know about it.
SWFObject is a small Javascript file used for embedding Adobe Flash content. The script can detect the Flash plug-in in all major web browsers (on Mac and PC) and is designed to make embedding Flash movies as easy as possible. It is also very search engine friendly, degrades gracefully, can be used in valid HTML and XHTML 1.0 documents*, and is forward compatible, so it should work for years to come.
http://blog.deconcept.com/swfobject/
Links:
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_4150