You are here: Re: Embed Mplayer into Web page. « HTML « IT news, forums, messages
Re: Embed Mplayer into Web page.

Posted by cwdjrxyz on 07/12/06 16:17

pjsenthil@gmail.com wrote:

> I am design a webpage in which i need to open a video file and
> play it.I thought of embedding a Mplayer.
>
> How can i do that in a webpage.Is there any class ID for Mplayer.and
>
> Normally for QT or WMP we use object tag and class id..


Yes you can correctly embed several types of video and audio in a web
page using the WMP, Real, or QT player. See
http://www.cwdjr.info/broadbandMedia/ for examples and view the source
code. Please note these examples are for high speed broadband and
buffer and start streaming soon if you have a 3 Mbps or higher download
connection and the net is not conjested. However you can use the same
code for videos recorded at a much lower bit rate suitable for even
dialup, although quality will leave much to be desired. Also note that
for the WMP the code uses a redirector(playlist) wvx url rather than
that of an actual wmv url. This allows including one to many files that
will play in sequence once the start button is clicked. Also about the
same thing is done for the Real player where ram playlist files are
used to redirect to the actual rm video files. Examples of how ram and
wvx files are written can be found at
http://www.cwdjr.info/media/playersRoot.php. There are many programs
available that will let you convert a high resolution video to the same
or another format at a smaller bit rate if this is needed for dialup,
for example. If you use only one player, I suggest the WMP, as more
have this player installed than any other player. You can store your
video files on an ordinary html server. However, those with huge and
busy video sites usually use a special streaming server. A streaming
server better controls the download rate and gives a more steady
stream. Using a streaming server, you can also write combined video
files for perhaps 3 bit rates and write code for the player to
automatically select the best download stream for the browsers IP
connection speed.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация