Results 1 to 4 of 4

Thread: script for playing video file

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Resolved script for playing video file

    why the code that i write for playing video file do not have screen but got the video control(ie. play, stop and etc).........if can play the video but not screen....

    Code:
    <embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" name="mediaplayer1" ShowStatusBar="true" enablecontextmenu="false" autostart="true" width="240" height="50" transparentstart="1" loop="1" controller="true" src="http://localhost/VideoUploadFolder/abc.mpg"></embed>
    Last edited by kenny_oh; Nov 29th, 2005 at 10:56 AM.

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: script for playing video file

    Can you ask your question again with more comprehensible sentences?

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2005
    Posts
    840

    Re: script for playing video file

    err....that line is html script for playing video file..............when the browser load the form, a real player is running but no video screen

  4. #4
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: script for playing video file

    Here is an example for windows media player on a web page:

    HTML Code:
    <OBJECT
      ID="mediaPlayer"
      CLASSID="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95"
      CODEBASE="http://activex.microsoft.com/activex/controls/mplayer/en/
        nsmp2inf.cab#Version=5,1,52,701"
      // (The above two lines should be joined as one line.
      // They have been split for formatting purposes.)
      STANDBY="Loading Microsoft Windows Media Player components..."
      TYPE="application/x-oleobject">
      <PARAM NAME="fileName" VALUE="http://msdn.microsoft.com/
        downloads/samples/Internet/imedia/netshow/smedia/NS3/JavaScript/
        Buttons/control.asx">
      // (The above three lines should be joined as one line.
      // They have been split for formatting purposes.)
      <PARAM NAME="animationatStart" VALUE="true">
      <PARAM NAME="transparentatStart" VALUE="true">
      <PARAM NAME="autoStart" VALUE="true">
      <PARAM NAME="showControls" VALUE="true">
    </OBJECT>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width