/    Sign up×
Community /Pin to ProfileBookmark

What HTML code should use for Flash?

Can someone tell me what HTML code I should use for Flash – and make sure it doesn’t break any rules and passes all W3C validators?

I’ve googled around and can’t find an answer

Should I use something like SWFObject?

I looked at this: [url]http://validator.w3.org/docs/help.html#faq-flash[/url]
It says I should use ‘Flash Satay’ method
From past reading I have done, I know this method is not best for cross browser compatibility

Any replies would be great

Thanks

OM

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@Eye_for_VideoFeb 17.2010 — swfobject is a great method because it allows alternate html text content that describes the Flash content... great for SEO.

You can also use <object> (without the <embed>) like this:
[CODE]<object id="myflash"type="application/x-shockwave-flash" data="banner.swf" width="200" height="100">
<param name="movie" value="banner.swf">
<param name="wmode" value="transparent"/>
</object>[/CODE]

Of course change .swf file name to yours and add/remove whatever other params needed.

I prefer swfobject.

Best wishes,

Eye for Video

www.cidigitalmedia.com
×

Success!

Help @OM2 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...