Account services

What's in your browser?

Unable to detect a flash player (JavaScript is disabled).

Flash example: Obsolete <embed> element

This page uses the <embed/> for flash the way it was created by Netscape 2.0. There is an optional type attribute, that tells the browser what type of object to embed. If it doesn't work on your browser, then you'll see an empty grey rectangle.

The code

The code example below sets off a 300x120 pixels area of the page to either show the movie or the fallback content. If the content takes up more space than 300x120 pixels then the webbrowser will introduce scrollbars. This is to avoid distortion of the page.

After the <embed> element there is a <noembed>. The <noembed> element can contain the textual fallback content, and will mainly be seen by Google, but sometimes humans. It can contain regular HTML code. Browsers that understand <embed> will ignore subsequent <noembed> content, even if they are unable to display the embedded object.

<embed
   src="flash.swf" 
   width="300"
   height="120"
   type="application/x-shockwave-flash"
   id="flash"
   name="flash"
   bgcolor="#EEEEEE"
   style="background-color:#EEEEEE"
/>
<noembed style="width:300px; height:120px; overflow:auto;background-color:#EEEEEE">
   <h3>FLASH PLAYER NEEDED</h3>
   The browser will show this content with scrollbars if there is no flash plugin.
   It will be read by google and contribute to the page rank. Therefore write a textual
   representation of the content of your Flash object.
</noembed>

<h3>FLASH PLAYER NEEDED</h3> The browser will show this content with scrollbars if there is no flash plugin. It will be read by google and contribute to the page rank. Therefore write a textual representation of the content of your Flash object.

Rewind | Play