Seth Keiper

(x)HTML

Standards Based Flash for XHTML or HTML

by Seth Keiper on Mar.08, 2008, under (x)HTML

After wondering about this for a few days, I have seen places on the web attempt this. Surely, it must be possible to do and at the same be cross-browser compatible. Well, the following method works in both IE, FF, Opera, and Safari. Also, this method is valid in HTML 4.01 Strict and valid in all the XHTML doctypes (even XHTML 1.1). If you report otherwise, please inform me with your operating system, browser and version. Here is the workable method:
XHTML:

<object type="application/x-shockwave-flash" data="http://yourwebsite.com/and/flash/file/or/youtube/or/something/" width="425" height="355">
<param name="movie" value="http://yourwebsite.com/and/flash/file/or/youtube/or/something/" />
</object>

HTML:

<object type="application/x-shockwave-flash" data="http://yourwebsite.com/and/flash/file/or/youtube/or/something/" width="425" height="355">
<param name="movie" value="http://yourwebsite.com/and/flash/file/or/youtube/or/something/">
</object>

Again, please inform me if this does not work in your browser!

Leave a Comment more...

(x)HTML DocTypes

by Seth Keiper on Mar.16, 2007, under (x)HTML

HTML 4.01 Strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

XHTML 1.0 Transitional:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

XHTML 1.0 Strict:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

XHTML 1.1:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!