I want to embed the mpeg file into html webpage that i'm making, i need the html code for that. Any advance explanation will be really helpful. I was having script before but now i lost it. Do anybody know that script ?
Printable View
I want to embed the mpeg file into html webpage that i'm making, i need the html code for that. Any advance explanation will be really helpful. I was having script before but now i lost it. Do anybody know that script ?
Refer to following threads for help on this:
http://forums.techarena.in/software-...nt/1205014.htm
http://forums.techarena.in/software-...nt/1182595.htm
Try the following script:
Code:<OBJECT CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab"
WIDTH="320" HEIGHT="256" >
<PARAM NAME="src" VALUE="videofilename.mp4">
<PARAM NAME="autoplay" VALUE="true">
<PARAM NAME="controller" value="true">
<EMBED SRC="QTMimeType.pntg" TYPE="image/x-macpaint"
PLUGINSPAGE="http://www.apple.com/quicktime/download" QTSRC="videofilename.mp4"
WIDTH="320" HEIGHT="256" AUTOPLAY="true" CONTROLLER="true">
</EMBED>
</OBJECT>
Here is the code for Media Player
You can learn about each parameter from the Microsoft player SDK, but note that the first parameter is called “URL”. If you want to display a live MPEG-2 video stream, you cannot simply enter the IP address of the stream because the player does not know how to play standard streams.Code:<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="wmplayer"
width="352" height="240">
<param name="URL" value>
</object>
In order to play live MPEG-1, MPEG-2, or MPEG-4, you need the VBrick components. The components will “intercept” the URL, configure the
necessary MPEG decoders, and tells the Media Player window to display the video.
The easiest thing to do is to include the VBrick components on the same page as Media Player. To install these components, the following code is included on the page:
Note that the object includes a CODEBASE statement that will load the component directly from the VBrick web site.Code:<object classid="clsid:0249ED44-B640-45BD-8066-17F81BFDC050"
CODEBASE="http://www.vbrick.com/CAB/STREAMPLAYER1.cab#Version=1,0,0,2"
</object>
<object classid="clsid:85887165-031A-4297-BC4E-6B246C120B9C"
CODEBASE="http://www.vbrick.com/CAB/STREAMPLAYER4.cab#Version=1,0,0,2"
</object>
Full Guide: MPEG-4 In A Web Page E