How to Use a Flash Player in HTML

Flash Player can be embedded into HTML (Hypertext Markup Language) documents. Use of Flash Player requires inputting a special embed code in the HTML document and allowing the browser to parse and execute it. Once Flash Player is finished running, it will automatically load the embedded movie file and play it in your browser window.

Instructions

    • 1

      Open the HTML document in your preferred text editor, such as Notepad.

    • 2

      Type the following code into the HTML document to create and embed an object:

      <html>

      <head>

      <title>Flash Embed Page</title>

      </head>

      <body>

      <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"

      width="468" height="60"

      id="<moviename>">

      <param name="movie"

      value="<file.swf>" />

      <param name="quality" value="high" />

      <embed src="example.swf" quality="high"width="468" height="60"

      name="<moviename>" align="" type="application/x-shockwave-flash"

      pluginspage="http://www.macromedia.com/go/getflashplayer">

      </embed>

      </object>

      </body>

      </html>

    • 3

      Replace <moviename> with the name you would like to refer to your flash video by. Replace <file.swf> with the file name for your movie object. Each occurs twice in the above code and must be replaced in both locations.

    • 4

      Click "File," then click "Save." Save the document to your hard drive.

    • 5

      Open the saved file in your preferred browser to view the document.

Related Searches:

References

Comments

Related Ads

Featured