|
-
Nov 26th, 2005, 10:01 AM
#1
Thread Starter
Fanatic Member
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.
-
Nov 26th, 2005, 10:20 AM
#2
Re: script for playing video file
Can you ask your question again with more comprehensible sentences?
-
Nov 26th, 2005, 10:36 AM
#3
Thread Starter
Fanatic Member
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
-
Nov 27th, 2005, 03:25 PM
#4
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|