Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Embed mpeg in web page

Software Development


Reply
 
Thread Tools Search this Thread
  #1  
Old 09-07-2009
Member
 
Join Date: Apr 2008
Posts: 43
Embed mpeg in web page
  

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 ?

Reply With Quote
  #2  
Old 09-07-2009
Member
 
Join Date: Dec 2008
Posts: 1,108
Re: Embed mpeg in web page

Refer to following threads for help on this:

How to embed mpeg file in html
How to embed a WMV into an html page
__________________
The difference between stupidity and genius is that genius has its limits. - Albert Einstein

What we think, we become (Please don't think you are a superhero and don't try to fly)

"SUCCESS IS NOT A DESTINATION , IT'S A JOURNEY"
Reply With Quote
  #3  
Old 09-07-2009
Member
 
Join Date: Mar 2008
Posts: 198
Re: Embed mpeg in web page

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>
Reply With Quote
  #4  
Old 09-07-2009
Member
 
Join Date: Apr 2008
Posts: 2,000
Re: Embed mpeg in web page

Here is the code for Media Player

Code:
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="wmplayer"
width="352" height="240">
<param name="URL" value>
</object>
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.

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:

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>
Note that the object includes a CODEBASE statement that will load the component directly from the VBrick web site.

Full Guide: MPEG-4 In A Web Page E
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Embed mpeg in web page"
Thread Thread Starter Forum Replies Last Post
Embed QuickTime not working properly in web page pokemon5 Windows Software 4 23-11-2010 10:17 PM
How to embed wav music playlist on my web page? Casie Technology & Internet 3 18-01-2010 08:40 PM
How to embed mpeg file in html ADJATAY Software Development 5 29-11-2009 12:40 AM
How to embed a WMV into an html page Ameyaa Software Development 2 19-05-2009 10:37 AM
Converting Mpeg 4 in Mpeg 3 Agilent Windows Software 2 03-02-2009 05:40 PM


All times are GMT +5.5. The time now is 01:35 AM.