Managing Flash based content is difficult without implementing a specific best practice for the rendering of flash content. This discussion paper hopes to provide such a practice. |
There are three basic scenarios when adding Flash content:
There are two common content rendering requirements when a user attaches/relates SWF content via a library to their content item:
Flash content should be rendered using best practice Flash embedding via the swfobject 2.1 library:
There are specifically two components:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title>SWFObject dynamic embed - step 3</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0"); </script> </head> <body> <div id="myContent"> <p>Alternative content</p> </div> </body> </html> |