You are here: Re: multiple media players in one html page « HTML « IT news, forums, messages
Re: multiple media players in one html page

Posted by cwdjrxyz@yahoo.com on 11/29/05 18:38

Geradeaus wrote:
> Hello,
>
> anybody an idea why this doesn't work :
> http://users.telenet.be/geradeaus/avi/tmp.html
>
> The movies seem to interfere with eachother, sometimes when I want the first
> movie to stop, the second one stops, and after a while the browser (Firefox
> or Internet explorer) crashes.
>
> Is it not possible to have multiple players in one html page? I tried the
> same with the second player in a popup window, but I had the same problem.

Your page works just fine for me and both videos start automatically
nearly at once. However I am using SBC/Yahoo Pro DSL which has a
measured download rate of 2.59 Mbps, and I get at least 2.4 when
downloading from my server.

It is likely that others had problems because you have autostarted both
players, and their maximum available download speed can't handle all of
the bandwidth. The first thing you need to do is insert a parameter
into the player object to allow starting only on clicking the player
play buttons. Then you need to decide on your audience and supply
players at different download rates for at least medium DSL speed, and
dialup speed, if you wish. Video on dialup leaves very much to be
desired, even with a very good connection. See my media pages that can
be reached at http://www.cwdjr.info/media/playersRoot.php . If you will
check the scripted player link, you will find over 15 players embedded
on the same page, but none of them start automatically, so there is no
problem. My example is for audio, but the same principle applies for
video. You just have to increase the height of the player enough to
display the image as well as the control bar.Although I am using xhtml
served with the correct mime type application/xhtml+xml with a php
include to convert the page to html 4.01 strict for browsers such as
IE6 that can not handle this mime type, you can write the code in just
html 4.01 strict and avoid the php include, if you wish.

 

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

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