How to Embed Adobe Media Players

Adobe Flash is a program that is used by Web developers to publish Web games, interactive graphics and videos. When a developer creates a Flash element, he exports it as a .swf file. You must embed an Adobe media player on your Web page or blog to play this .swf file online and be able to add controls to it. Embedding an Adobe media player to play your Flash video or game requires you to have some familiarity with HTML programming.

Instructions

    • 1

      Log in to your Web server or blog. Open the HTML page in which you want to embed the Adobe media file.

    • 2

      Insert the following code anywhere between the <body> and </body> tags on the page:

      <object width="550" height="400">

      <param name="movie" value="filename.swf">

      <embed src="http://www.website.com/somefilename.swf" width="550" height="400">

      </embed>

      </object>

    • 3

      Replace the "width" and "height" values in the code with the size, in pixels, at which you want the embedded media player to appear. For example, if you want the .swf file to run at 450 pixels by 300 pixels, the code would be:

      <object width="450" height="300">

    • 4

      Replace "value='filename.swf'" with the name of the .swf file you will embed. For example, if the .swf file is called "mymovie.swf," you would have the following code in your page:

      <param name="movie" value="mymovie.swf">

    • 5

      Replace "embed src='somefilename.swf'" with the source of the media you want to display. This is the full file path of the .swf. For example, if the full file path for mymovie.swf is http://www.mysite.com/mymovie.swf, the code should appear like this:

      <embed src="http://www.mysite.com/mymovie.swf" width="550" height="400">

      Remember to change the "width" and "height" to the size at which you want the player to appear.

    • 6

      Publish the page.

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured