1

Topic: How best to embed?

Just wondering if anyone might know how best I might do a suitable conversion of the following to a format that will keep the W3C html validator happy. big_smile

<embed menu="false" width="150" height="35" src="./clock.swf"/>


Cheers,

Matt

Re: How best to embed?

http://www.w3schools.com/tags/tag_object.asp
I believe that's the tag you're supposed to use

In fact, I just found this article
http://alistapart.com/articles/flashsatay

3 (edited by MattF 2007-06-08 00:07)

Re: How best to embed?

Cheers. smile That did the trick. Used the following. (I.E needs the <param bit. Opera, FF and SeaMonkey work fine without).

                <object type="application/x-shockwave-flash" data="<?php echo $pun_config['o_base_url'] ?>/mod-addons/clock.swf" width="150" height="35">
                <param name="movie" value="<?php echo $pun_config['o_base_url'] ?>/mod-addons/clock.swf"/>
                </object>

Thanks again,

Matt