1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Embeding Media Player In A Html Page

Discussion in 'Software Development' started by somak_de, Jan 24, 2005.

Thread Status:
Not open for further replies.
  1. somak_de

    somak_de Thread Starter

    Joined:
    Dec 1, 2002
    Messages:
    173
    hi
    i am working on a presentaion cd having following page format
    [​IMG]
    what i like to do is when i click the filename which is a audio or video file it will play on the media player of the page, not in the ie media window. i wrote this code for it collected from macromedia web site.

    object width="320" height="290"
    classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
    id="mediaplayer1">
    <param name="Filename" value="kids.mpg">
    <param name="AutoStart" value="True">
    <param name="ShowControls" value="True">
    <param name="ShowStatusBar" value="False">
    <param name="ShowDisplay" value="False">
    <param name="AutoRewind" value="True">
    <embed
    type="application/x-mplayer2"
    pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/"
    width="320" height="290" src="/support/dreamweaver/ts/documents/kids.mpg"
    filename="kids.mpg" autostart="True"
    showcontrols="True" showstatusbar="False"
    showdisplay="False" autorewind="True">
    </embed>
    </object>

    but the problem here is that it works for only a particular media file wich in this case is kids.mpg. so how can i make it to play the file name click.

    plz help
     

    Attached Files:

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/322961

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice