Reply to Re: Embed Mplayer into Web page.

Your name:

Reply:


Posted by Benjamin Niemann on 07/12/06 21:16

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..

mplayer is not really a widely available application (I have, but even I
prefer an embeded kaffeine which in turn uses libxine...).

Use the OBJECT element to embed video files[*]. Specify the video format
using the TYPE attribute (e.g. video/mpeg). Let the browser figure out
which plugin is most appropriate to handle this format (which in 99.x% will
not be mplayer...).

[*] - If you *really* think that you have to embed it, instead of providing
a link for manual opening of the video. Watching videos in a standalone
player is usually much more confortable (e.g. you can resize it or play it
fullscreen). Most players support streaming (just like their plugin
counterparts), if the video is opened via the URL.

--
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/

[Back to original 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

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