Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: tlug: midi_autostart?



Hi all,

On Thu, 06 Nov 1997 09:45:52 +0900 (JST) 
        Totoro wrote:
>
>On 05-Nov-97 Yong-Ming Hua wrote:
>>    Hi all,
>>
>>    I got a problem. I want to autostart a song from a homepage.
>>My HTML is as follows. 
>>
>>------------------------------------------------------------
>><P ALIGN="CENTER"><embed src="song1.mid" height=55 width=135
>> autostart=true loop=true></embed></P>
>>------------------------------------------------------------
>>
>>But this doesn't work. When I put some *.wav file into "xxxx"
>>things get all right to my sheer surprise. *.wav starts without
>>any problem.
>
>
>Netscape doesn't follow strict HTML guidelines with this kind
>of extension, so one thing is that you need to delete "</embed>"
>to clean it up. 
>Start with basics and work your way up:
>
><embed src="song1.mid">

  ...snip...

>I haven't added anything to my mime.types; it just has the normal
>"audio/midi      mid midi kar" entry, and it works fine with apache.
>

You gave me a great clue. Since I use NCSA instead of apache, I just
took a look at the online manual of apache. It says something like
"if a browser knows audio/midi, you shouldn't put audio/x-midi as it
might give a broken picture..." There is no midi entry in NCSA mime.
types. I should write something anyway. So I took a line from 
Stephen Spainhour's Webmaster, 'audio/x-midi', but it was the 
problem. So I put your type into my mime.types,

"audio/midi      mid midi kar"

and gosh everything is all right now. Great thanks to you, Totoro.


With Best Wishes,
Yong-Ming

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
_/Yong-Ming Hua: yhua@example.com     _/
_/               yhua@example.com               _/
_/Tel:Japan-0427-39-8132 Fax: Japan-0427-39-8845    _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
---------------------------------------------------------------
TLUG Thursday evening meeting: Nov. 13, 18:40 at Tokyo station
Starbuck's coffee.  Then move to dinner place at 19:00
info: demian@example.com | TLUG Saturday meeting is Dec. 13, 1997
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links