내발자국[동호회]

[참고/4442] 리얼오디오 제공방법 (2)

松巖 1997. 3. 13. 00:30
아래 글에 이어집니다.

---------------------------------------------------------------------------



Netscape Netsite



To the MIME.types file, add the following line:



type=audio/x-pn-realaudio exts=rm,ra,ram



You will also need to add the following line to the server's main

configuration file (called magnus.conf in the Netsite documentation):



Init fn=load-types mime-types=mime.types



After adding these commands, you will need to reinitialize the Web server.

---------------------------------------------------------------------------



Windows NT (EMWACS HTTPS 0.96)



In the HTTP server applet in the Control Panel, click on the button along

the right hand side of the window marked "New Mapping."



A dialog box is displayed which shows existing MIME type mappings, along

with a "Filename extension"text entry box along the top. Type the filename

extension "RAM" into the extension field, and then enter the MIME type into

the text entry field above the scrollable list of existing MIME types:



audio/x-pn-realaudio



Select OK to add the new MIME type to the main list. You need to

reinitialize your Web server for the changes to take effect.



---------------------------------------------------------------------------



NCSA HTTPD (v. 1.3 and 1.4)



For NCSA, two approaches are possible.



* Edit the file MIME.types in the SERVER_ROOT/conf subdirectory by

adding the following line



audio/x-pn-realaudio ram



* Edit the file "srm.conf" in the SERVER_ROOT/conf/subdirectory by

adding the following line:



AddType audio/x-pn-realaudio ram



You need to reinitialize your Web server for the changes to take effect.



---------------------------------------------------------------------------



CERN HTTPD (v. 3.0)



Add the following line to the "httpd.conf" file under the Server's root

directory



AddType .ram audio/x-pn-realaudio binary



Reinitialize your Web server for the changes to take effect.



---------------------------------------------------------------------------



O'Reilly Website NT



On the mapping page, use the admin tool to change the MIME type by giving

the following command:



.ram audio/x-pn-realaudio



You need to reinitialize your Web server for the changes to take effect.



---------------------------------------------------------------------------



Adding RealAudio and RealVideo Content Without a RealVideo Server



If you do not have a RealAudio or RealVideo Server, you can still have

RealAudio and RealVideo files on your Web site. However, you will need to

use one of the following methods for making the files available to user's

on the Internet:



* Make a hyperlink to someone else's file

* Make a link directly to a file so it can be downloaded to the user's

computer



---------------------------------------------------------------------------



Making a hyperlink to RealAudio or RealVideo files on another Web site



If you do not have a Server, then the only other way to use a RealAudio or

RealVideo file on your Web site so that it plays in real-time is to create

a hyperlink to the RealAudio or RealVideo file on someone else's Server.

The source code for the Web page featuring the file you want to link to

lists a .ram file for the link. The .ram file is a text file created by the

person who maintains that Web site, and it contains the URL of the

RealVideo Server that contains the file. The HTML document that you create

needs to refer to this .ram file. For example, if the .ram file called

hello1.ram is located on the Progressive Networks Web site, you would use

the following command in your HTML document:



Hello!



You also need to configure your Web server to recognize the .ram MIME type

before any RealAudio or RealVideo files can be played through your site. If

you do not configure your Web server, then when a user clicks on a link,

they will see unrecognizable text instead of receiving the clip.



---------------------------------------------------------------------------



Downloading RealAudio and RealVideo Files



If you would like to allow people to have access to files from your Web

page that have been encoded using the RealVideo Encoder, but you do not

have a RealVideo Server, you can make a direct link to the files in your

HTML document. Remember that since the files are not being served by the

RealVideo Server, they are downloaded to the user's computer instead of

playing in real-time. Once downloaded, the user can play the files using

RealPlayer by selecting Open File from the File menu, locating the file,

and clicking the OK button. The Player then opens the file and plays it,

and the user can still use the controls on the Player panel to pause, stop,

start the file, and to control the volume.



You need to configure the Web server to recognize the .rm, .ra and .ram

MIME types. If this is not done, then when the user tries to play the file,

it appears as unrecognizable text. If you have a Web page on someone else's

server, you need to contact the System Administrator and provide

instructions for adding the MIME type to the Web server's configuration

file. For instructions about how to configure the MIME type, see

Configuring the Web Server to Recognize .ram Extensions.



------------------------------------------------------------------------

Copyright �Progressive Networks, 1995-1997, all rights reserved.

RealAudio and the RealAudio logo are registered trademarks of Progressive

Networks, Inc.

RealVideo, RealPlayer and the Real logo are trademarks of Progressive

Networks, Inc.

=-=-=-=-=-* Lee,Kyoung (solbawoo) 이경 (솔바우) 李炅 (松巖) *-=-=-=-=-=

*솔아로미* *정보서비스* Phone: +82-331-253-9009 +82-331-48-6804

산업정보,화학정보,무역정보 zipcode: 440-302

검색-번역-가공-출판기획 Address: 30-23,Jung-Ja 2dong,Jang-An ku

SOL Aromi Information Services Suwon,Kyung-Ki do,KOREA

Industry,Chemistry,Trading Informatons

mailto:leesun2@soback.kornet.nm.kr mailto:leesun2@usa.net

=-=-=-=-=-=-=-=-* http://soback.kornet.nm.kr/~leesun2 *-=-=-=-=-=-=-=-=

제목에 "솔"자를 넣으면 긴급시에 편리합니다.

Please type "sol" in subject line to send me.