You are here: Re: object tag, browsers... « HTML « IT news, forums, messages
Re: object tag, browsers...

Posted by cwdjrxyz on 01/09/64 11:40

dorayme wrote:
> http://dorayme.150m.com/test/piano.html
>
> The midi sound file just plays fine in IE (Mac) 5. That is, it
> just plays, there being no visual items generated from the object
> tag. It even plays in Netscape 4 but with this old browser, there
> is a discrete tiny control visual for vol, stop, start...
>
> But not in any of my modern browsers on Mac OS X like Safari,
> Mozilla, iCab .... does anything soundlike happen. These do
> silence extremely well mind you! In Safari, the QT logo -
> unwelcomed - comes up big and that's it!
>
> Any ideas about how to make the browsers play the sound without
> changing the mark up? But, I will change the mark up and fiddle
> faddle about if I have to. One can see from simple examples like
> this the great strength and beauty of the older IE, it could bend
> with the wind, intuitively just do things one wanted..

Using the simple object tag you use just does not work on all browsers,
and the response to it has varied with browser upgrades over the past
few years.

Try a m3u file and put a link to that on your page. I have a m3u file
for a midi at http://www.cwdjr.net/sou/cancan.m3u . This just directs
to http://www.cwdjr.net/sou/cancan.mid . It is linkable, so feel free
to play around with it on your test pages. The Winamp, WMP, Real, and
QT players can all play a midi, although the Real player may ask you to
download a small plugin the first time you call for a midi. I have made
Winamp primary for m3u files, but you could just as well make one on
the other players primary, or be bothered by the browser asking you
what player to use every time a m3u file comes up. This approach worked
on the latest versions of IE6, Firefox, Mozilla, Netscape, and Opera as
well as the old Netscape 4.8. On the Netscape 4.8 you had to tell it
what to use and navigate to winamp.exe to bring up Winamp, but that was
no problem.

You can force the song to be played by any of the mentioned 4 players
by first bringing up the player and selecting to enter the URL of the
m3u directly from the player. This sometimes comes in handy for
testing.

This approach brings a player up, but it can be minimized with a click,
if desired. The advantage is that there is a set of controls. Moreover,
you can add several other songs to the m3u playlist if desired.

 

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

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