Streaming video on web page
Posted: Fri Jun 03, 2011 3:10 pm
I was trying to see if there are some ways to stream video on web pages so that people don't have to download big video files before viewing them.
I found some HTML codes from the internet but they don't really work for me.
MPEG4
AVI
The plugins showed up on web pages but the video clips did not play.
I found some HTML codes from the internet but they don't really work for me.
MPEG4
Code: Select all
<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" CODEBASE="http://ww
w.apple.com/qtactivex/qtplugin.cab" WIDTH="480" HEIGHT="480" >
<PARAM NAME="src" VALUE="M4H00554.MP4" >
<PARAM NAME="autoplay" VALUE="true" >
<EMBED SRC="videofilename.mp4" TYPE="image/x-macpaint" PLUGINSPAGE="http://www.a
pple.com/quicktime/download" WIDTH="480" HEIGHT="480" AUTOPLAY="true"></EMBED>
</OBJECT>
Code: Select all
<OBJECT ID="MediaPlayer" WIDTH="480" HEIGHT="480" CLASSID="CLSID:22D6F312-B0F6-1
1D0-94AB-0080C74C7E95" STANDBY="Loading Windows Media Player components..." TYPE
="application/x-oleobject" codebase="http://activex.microsoft.com/activex/contro
ls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715">
<PARAM NAME="FileName" VALUE="家族歌舞表演.avi">
<PARAM name="ShowControls" VALUE="true">
<param name="ShowStatusBar" value="true">
<PARAM name="ShowDisplay" VALUE="false">
<PARAM name="autostart" VALUE="true">
<EMBED TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windo
ws/MediaPlayer/" SRC="家族歌舞表演.avi" NAME="MediaPlayer" WIDTH="480" HEIGHT="4
80" ShowControls="1" ShowStatusBar="1" ShowDisplay="0" autostart="1"> </EMBED>
</OBJECT>