Lab
W3C Valid Flash !
The Valid Code:
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/ shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="350" height="309"> <param name="movie" value="http://www.youtube.com/v/rq5ckmGFNqE" /> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="wmode" value="transparent" /> <!--[if !IE]> <--> <object data="http://www.youtube.com/v/rq5ckmGFNqE" width="400" height="369" type="application/x-shockwave-flash"> <param name="quality" value="high" /> <param name="bgcolor" value="#FFFFFF" /> <param name="pluginurl" value="http://www.macromedia.com/go/getflashplayer" /> <param name="wmode" value="transparent" /> FAIL (the browser should render some flash content, not this).</object>
<!--> <![endif]--> </object> <script type="text/javascript" src="ieupdate.js"></script>
Javascript "Clcik to Activate fix"
Create a new JavaScript File and save it as ieupdate.js to add to the script. This disables that annoying "click to activate" in IE
objects = document.getElementsByTagName("object");
for (var i = 0; i < objects.length; i++)
{
objects[i].outerHTML = objects[i].outerHTML;
}
Add this code right after your flash.
<script type="text/javascript" src="ieupdate.js"></script>
Here is YouTube Code: Not Valid !
<object width="25" height="350"><param name="movie" value="http://www.youtube.com/v/rq5ckmGFNqE"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/rq5ckmGFNqE" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
*This was inspired by many different online tutorials. If you feel this code resembles yours, contact me >
Following Web Standards improves proper cross-browser display, and helps ensure that a site is forward compatible with future browsers.
Simple and Clean
Web design is simpler than ever, and that's a good thing. 2.0 design is focused, clean and simple.
Design 2.0
Bright, strong colors draw the eye. Use of strong colors divide the page into clear sections to highlight important elements.
Web Standards
We Specialize in hand coded XHTML, CSS accessible code. Hand coded XHTML produces clean, search engine friendly fast loading pages.
Ask us about Web Standards
Contact
