<INPUT TYPE=audio> (was: Re: Client side file push) (fwd)

Mirsad Todorovac (tm@rasips2.rasip.etf.hr)
Sat, 11 Nov 1995 19:09:19 +0100 (MET)


From: Mirsad Todorovac <tm@rasips2.rasip.etf.hr>
Message-Id: <199511111809.TAA01939@rasips2.rasip.etf.hr>
Subject: <INPUT TYPE=audio> (was: Re: Client side file push) (fwd)
To: www-html@w3.org
Date: Sat, 11 Nov 1995 19:09:19 +0100 (MET)
In-Reply-To: (look into forwarded message header)

Forwarded message:
>From www-html-request@w3.org Fri Nov 10 19:10:12 1995
>Resent-Date: Fri, 10 Nov 1995 12:36:52 -0500
>Resent-Message-Id: <199511101736.MAA01260@www19.w3.org>
>From: Mirsad Todorovac <tm@rasips2.rasip.etf.hr>
>Message-Id: <199511101720.SAA22231@rasips1.rasip.etf.hr>
>Subject: <INPUT TYPE=audio(was: Re: Client side file push)
>To: farellc@io.org (Cecilia Farell)
>Date: Fri, 10 Nov 1995 18:20:42 +0100 (MET)
>Cc: tm@rasips2.rasip.etf.hr (Mirsad Todorovac)
>In-Reply-To: <199511032001.PAA23037@io.orgfrom "Cecilia Farell" at Nov 3, 95 03:01:54 pm
>X-Mailer: ELM [version 2.4 PL23]
>Mime-Version: 1.0
>Content-Type: text/plain; charset=US-ASCII
>Content-Transfer-Encoding: 7bit
>Content-Length:       2778
>Resent-From: www-html@w3.org
>X-Mailing-List: <www-html@w3.orgarchive/latest/1799
>X-Loop: www-html@w3.org
>Sender: www-html-request@w3.org
>Resent-Sender: www-html-request@w3.org
>Precedence: list


>At 09:40 11/03/95 PST, Fisher Mark wrote:
>
>Do any other browsers not "in wide distribution" support it?
>
>By the way, this from the IESG:
>
>The IESG has reviewed the Internet-Draft "Form-based File Upload in HTML"
  ><draft-ietf-html-fileupload-03.txtand recommends that it be published
  >by the RFC Editor as an Experimental RFC. This document is the product of
  >the HyperText Markup Language Working Group. The IESG contact persons are
  >John Klensin and Harald Alvestrand.

This RFC came out as RFC 1867: "Form-based File Upload in HTML" .
( URL: http://www.rasip.fer.hr/cgi-bin/rfc/rfc1867.txt )

It's not quite obvious why there shouldn't be some more input types for
forms (of course it is not elegant to clutter browsers with hundreds of types),
like e.g.

	<INPUT TYPE="audio" ACCEPT="audio/basic">
	<INPUT TYPE="video" ACCEPT="video/mpeg">

which should be handled differently by their nature than plain files.

Of course, this could be implied by <INPUT TYPE=file ACCEPT="audio/basic">,
but this would open a file browser with filter "*.au" for browsing for the
audio record.

What INPUT TYPE "audio" could bring is posibility to record audio immediatelly
from hardware audio device, with a "microphone" button.  Then we could play it
to see how it sounds, browse for audio file instead, save recording and
finaly press submit.

Sending mechanism proposed in RFC 1867 could be respected without changes;
setting apropriate MIME type/subtype.

Example:
------------------------------------------------------------------------------
<FORM ACTION="/cgi-bin/process-registration"
      METHOD=POST ENCTYPE="multipart/form-data">
Please enter your userid: <INPUT TYPE="text"><BR>
Please enter your password: <INPUT TYPE="password"><BR>
Enter your voice signature: <INPUT TYPE="audio"
				ACCEPT="audio/basic, audio/adpcm, audio/*"><BR>
<INPUT TYPE="submit"><BR>
</FORM>
------------------------------------------------------------------------------
Which could be rendered as:
------------------------------------------------------------------------------

Please enter your userid: ___________________
Please enter your password: ___________________
Enter your voice signature:
			    ___________________________________________
			   /                                           \
			  |   [Record] [Rewind] [PLAY] [Browse] [Save]  |
			  |                                             |
			  |   [#######>######] Playing ... 14sec/30sec  |
			   \___________________________________________/

[Submit Form]

------------------------------------------------------------------------------
-- Mirsad

-- 
Mirsad Todorovac at Electrical Engineering Faculty, University Zagreb, Croatia
mirsad.todorovac@etf.hr, tm@rasip.etf.hr, http://www.rasip.fer.hr/