How to Embed a Media Player

How to Embed a Media Player thumbnail
Embed your Windows Media Player videos on your Web site.

If you have your own Web site or blog, you may, at times, want to add a video or two to your pages. Video is a great addition to Web content since you can show and tell your topic. For instance, if your Web site has to do woodworking, you may want to embed a video showing a certain technique. Once you have the video in Windows Media Player format, it is a fairly quick process to embed it onto your Web site.

Instructions

    • 1

      Put the Windows Media Player file on your Web site server. Much like you would with a document or photograph, upload the file to your site and retrieve its URL which should end with .wmv.

    • 2

      Download the latest version of Windows Media Player. This is so you can view and test your embedded Windows Media Player yourself.

    • 3

      Find the place where you want to embed your Windows Media Player.

    • 4

      Copy this code into the place that you found to embed your Windows Media Player:
      <OBJECT id="VIDEO" width="320" height="240"
      style="position:absolute; left:0;top:0;"
      CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6"
      type="application/x-oleobject">

      <PARAM NAME="URL" VALUE="file name or URL">
      <PARAM NAME="SendPlayStateChangeEvents" VALUE="True">
      <PARAM NAME="AutoStart" VALUE="True">
      <PARAM name="uiMode" value="none">
      <PARAM name="PlayCount" value="9999">
      </OBJECT>

    • 5

      Adjust the width and height values in the first line of the code. Replace "file name or url" with the URL you retrieved in Step 1. Keep the quotation marks on either side of the URL.

    • 6

      Publish the Web page. Test your embedded Windows Media Player.

Related Searches:

References

  • Photo Credit internet image by Jean-Michel POUGET from Fotolia.com

Comments

You May Also Like

Related Ads

Featured