googlerank / home / articles

Flash Streaming Audio - Embed your Shockwave flash file into your web page

topics: flash streaming audio, embedding flash player , embed streaming media on web page

Now that you have your swf file ready, and supposing you have also a web page ready to be enhanced, it's time to join them together by embedding your player.

Macromedia flash MX (but also the earlier versions) has the useful Html export feature.

From FILE menu, file - publish settings

if you select HTML check box too, Macromedia's software will publish an html page with yoir movie embedded. Then you just have to check this page html-code and grab the piece of code you need and paste into your own web page code.

Anyway, here's the code you have touse to embed your flash player

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs
/flash/swflash.cab#version=6,0,0,0"
WIDTH="200" HEIGHT="100" id="source" ALIGN="">
<PARAM NAME=movie VALUE="source.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF><EMBED src="source.swf" quality=high bgcolor=#FFFFFF WIDTH="200" HEIGHT="100" NAME="source" ALIGN=""
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>

Basically this piece of code must be edited in red parts only. Which means: source.swf (that's the name of your swf file) , width and height values represent the size of your movie)

DOWNLOAD THE FLASH SOURCE FOR THIS ARTICLE
(we havent' included Radiohead's song for copyright reasons)

GOOGLERANK SEO and WEB DEVELOPMENT FEATURES: Google ranking reports, software, webmarketing tools, resources, directories...everything a webmaster should have. click here and trust us: we have your interests at heart

googlerank's article archive

this article index:

Introduction
Flash Streaming Audio - creating the player
Embedding your streaming player into your pages

this article related resources:

Macromedia support
Flashkit.com

DOWNLOAD THE FLASH SOURCE FOR THIS ARTICLE
(we havent' included Radiohead's song for copyright reasons)

 

previous page: Flash Streaming Audio - creating the player