Valid Flash Embed Code by Done21

50 %
50 %
Information about Valid Flash Embed Code by Done21
Technology

Published on October 11, 2008

Author: done21

Source: slideshare.net

Description

Learn how to turn Flash embed code into valid XHTML.

You can watch a video of this presentation here:
http://www.ustream.tv/recorded/778431

Validating Flash Embed Code Jim Hoskins and Nick Pettit

Validating Flash Embed Code Most Flash embed code is not valid XHTML . Yikes !

Validating Flash Embed Code First, why validate ? SEO Accessibility Compatibility

SEO

Accessibility

Compatibility

Validating Flash Embed Code 1. The < embed > tag Created during browser wars Not part of XHTML 1.0 < object > tag is awesomer, and should be used instead

Created during browser wars

Not part of XHTML 1.0

< object > tag is awesomer, and should be used instead

Validating Flash Embed Code 2. < object > tag attributes codebase and classid are required by Internet Explorer, but not required by XHTML. type and data are useful, but Internet Explorer hates them.

codebase and classid are required by Internet Explorer, but not required by XHTML.

type and data are useful, but Internet Explorer hates them.

Validating Flash Embed Code 3. Encoding html entities Most embed codes have URLs containing improperly encoded HTML entities. & not so much &amp; so ace.

Most embed codes have URLs containing improperly encoded HTML entities.

Validating Flash Embed Code Embed code comparison … YouTube, Vimeo, Dailymotion, Viddler, Break: <object><embed></embed></object> Justin.tv, CollegeHumor: <object></object> Metacafe, veoh: <embed></embed> USTREAM.TV, QIK: <object><embed /></object>

Validating Flash Embed Code It’s a mess. But we have a solution...

Valid ifier http://valid ifier .com Validating Flash Embed Code

http://valid ifier .com

The Valid Code <!--[if !IE]> --> <object type=&quot;application/x-shockwave-flash&quot; data=”URL&quot; width=&quot;425&quot; height=&quot;344&quot;> <!-- <![endif]--> <!--[if IE]> <object classid=&quot;clsid:D2…00&quot; codebase=&quot;http://….ab#version=6,0,0,0&quot; width=&quot;425&quot; height=&quot;344&quot;> <param name=&quot;movie&quot; value=”URL&quot; /> <!--><!--http://Validifier.com--> <param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /> </object> <!-- <![endif]--> Good Browsers Internet Explorer All Browsers Validating Flash Embed Code

<!--[if !IE]> -->

<object type=&quot;application/x-shockwave-flash&quot; data=”URL&quot; width=&quot;425&quot; height=&quot;344&quot;>

<!-- <![endif]-->

<!--[if IE]>

<object classid=&quot;clsid:D2…00&quot;

codebase=&quot;http://….ab#version=6,0,0,0&quot; width=&quot;425&quot; height=&quot;344&quot;>

<param name=&quot;movie&quot; value=”URL&quot; />

<!--><!--http://Validifier.com-->

<param name=&quot;allowFullScreen&quot; value=&quot;true&quot; />

</object>

<!-- <![endif]-->

Get this slideshow: slideshare.net/ done21 Watch this presentation: ustream.tv/ done21 Visit us: Done 21 .com

Add a comment

Related presentations

Related pages

Valid (X)HTML while embedding SWF Flash objects • Yoast

Home Academy Publications Valid (X)HTML while embedding SWF Flash ... following code to embed the ... way to embed the flash in valid HTML and came ...
Read more

How to write valid HTML/XHTML code to include Flash ...

... to write valid HTML/XHTML code to include Flash ... Flash embed code validate was such a pain for me too, so my buddy and I at Done21 made a ...
Read more

HTML Tag - W3Schools

HTML Tag « Previous. Complete ... Complete HTML Reference. Next » Example. An embedded flash ... The tag defines a container for an ...
Read more

HTML 5 Flash embedding and other validation ... - Bruce Lawson

HTML 5 Flash embedding and other validation errors ... valid HTML 5 way to embed Flash ... This is the perfect HTML5 flash embed code which will work in ...
Read more

Flash OBJECT and EMBED tag attributes - helpx.adobe.com

See example code in ... The following OBJECT and EMBED tags are available in Flash Player to change the the size of Flash content in response to change ...
Read more

Flash valide einbinden - HTML - Tutorials, Tipps und ...

Der embed Tag ist allerdings nicht valide, ... Typen kennen kann man den obigen Code ... nach der Anmeldung "Flash valide einbinden" hier ...
Read more

Embedding Flash | CSS-Tricks

This is different than the default code that Flash provides. That typically involves the tag and is not valid XHTML ... Code Snippets » HTML » Embedding ...
Read more

Embed Code Generator | Embedly

Embed Code Generator Cards provide a clean, responsive, and shareable card for any content on the web. Learn More >
Read more