...
Excerpt |
---|
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. |
Note |
---|
This is a working paper for a suggested feature enhancement to FarCry 5.0.x |
Content Management Requirements
...
Code Block | ||
---|---|---|
| ||
<!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 2 <title>SWFObject dynamic embedpublishing -example step 3<page</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("myContenttest.swf", "myContent", "300", "120", "9.0.0", "expressInstall.swf"); </script> </head> <body> <div </script> </head> <body> id="myContent"> <h1>Alternative content</h1> <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p> </div> </body> </html> |
This gives us some great options for robust SWF content management provider the contributors enforce the following:
- all SWF content is registered in the Flash Library with appropriate metadata
- any content item embedding Flash must have the Flash Content item associated as an array or UUID property
- if the user must embed, then the only embed code is the alternative markup
Code Block <div id="myContent">
...
<h1>Alternative content</
...
h1> <p>Content you see when
...
you don't see Flash.</p> </
...
div>
- a view must be called on the associated flash content item that loads the swfobject library and registration call