20 July 2010

How to embed Flash files(.swf,flv ) and song in a blog or your own website?

Many of my friends generally asks me how to embed flash files ,music player in a blog or website,So this post is dedicated to my friends choice

so Let us start

1:-First you will need a flash file ,which you can either create yourself or search on net for free flash banners

2:-if you choose for free then they will provide you a file of code,you have to upload that file either in your own server or just register yourself at free web hosting websites ,just sign up and upload your file

3:-then you have to use embed tag

<embed type="application/x-shockwave-flash" src=" address of that file" pluginspage=" http://www.macromedia.com/go/getflashplayer" height="" width="" />

choose height and width as your choice

4:-finally you have to add above code to your website or blog and you are done

2:-For adding music player or song in your website

use this code

<embed name="songname"
src="address of song file"
loop="false"
autostart="false"
hidden="true"/>


This embeds the sound, but the 'autostart' feature is off and the 'hidden' feature is true, so the user doesn't see a console upon entering your webpage.

If any queries ,Feel free to fire it here




No comments:

Post a Comment