Locations of visitors to this page

    Blog List       Minimize  
,NET:ASP:MVP
.NET
.NET 3.5
.NET:ACL
.NET:AppDomains
.NET:ASP
.NET:ASP ServerControls
.NET:ASP:Commerce
.NET:ASP:Config
.NET:ASP:JSON
.NET:ASP:Layout
.NET:ASP:Media/Flash
.NET:ASP:Mobile
.NET:ASP:Monitoring
.NET:ASP:MVC
.NET:ASP:Navigation
.NET:ASP:Stress Testing
.NET:ASP:Validation
.NET:ASP:WebParts
.NET:C#-Trig
.NET:CAB
.NET:CAS
.NET:Certification
.NET:CF
.NET:Collections
.NET:Configuration
.NET:Cryptography
.NET:Db
.NET:Delegates
.NET:Deployment
.NET:Diagnostics
.NET:Documentation
.NET:Encoding
.NET:Environment
.NET:Extension Methods
.NET:Globalization
.NET:I/O Streams
.NET:Interop
.NET:IO:Mail
.NET:IsolatedStorage
.NET:LicenseManager
.NET:LINQ
.NET:Metrics/Quality
.NET:Mono
.NET:MSOffice
.NET:Optimization
.NET:Patterns/Practices
.NET:Phone7
.NET:Reflection
.NET:Remoting
.NET:Reverse Engineering
.NET:Serialization
.NET:Silverlight
.NET:Silverlight UserGroup
.NET:Silverlight:Phone7
.NET:Threading
.NET:WCF
.NET:Windows Services
.NET:WinForms
.NET:WPF
.NET:Xml
Admin
Admin:Creating Software
Admin:CruiseControl
Admin:Estimating
Admin:Installers/Packaging
Admin:Methodologies
Admin:PM
Admin:SourceControl
Admin:UnitTesting
Admin:VisualStudio
Arch:Gen
Arch:Patterns
Arch:UML
Blogging
DB:Sqlite
DB:SqlServer
DB:SqlServer CE
DB:VistaDB
Graphs
IT
IT:DNN
IT:DOS
IT:IIS
IT:MailServers
IT:MS Office
IT:OS (XP/Vista/7)
Misc
Misc:Hardware
Misc:Humour
mISV:Accounting
mISV:Marketing
OS:Vista
Personal
Personal:Children
Personal:Faith
Personal:Family
Personal:History
Personal:Politics
Places:New Zealand
Places:Paris
Presentations
Tech:CSS
Tech:Regex
Tech:SQL
Tech:Web:HTML
Tech:XML/XSL
Web:HTML5

             
    Sprouting Synapses       Minimize  

             
All about exploring the issues of embedding media (usually Flash, but can be other things) in ASP.NET pages.

Tip:
Note that although Silverlight is technically a media plugin just like Flash, it's rich and important enough in its own right to deserve its own Post Category.

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

Copyright 2007 by Sky Sigal