W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2011

[whatwg] I have feature requests for <video> and <audio> tags.

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 15 Nov 2011 17:51:26 -0800
Message-ID: <CAAWBYDAy-9mDnUUHstM987PrpOdW4nS+oE7QgAqUE9BHAzJsRg@mail.gmail.com>
On Tue, Nov 15, 2011 at 5:37 PM, crocket <crockabiscuit at gmail.com> wrote:
> 1) <video> and <audio> tags need volume attribute.
> I know that it's possible to manipulate the volume attribute with
> javascript.
> But many internet forums allow some HTML tags but prohibit javascripts.
> If I was able to set the initial volume with volume attribute of <video>
> and <audio> tags, I would be able to set the initial volume without
> javascript.

You can currently mute the video or play it at the user's default
volume.  Why do you need to control it beyond that in the markup?

> 2) <video> tag needs subtitle attribute.
> Without a subtitle attribute, people need to reencode videos with subtitles
> to present the videos with subtitles on the web.
> I think charset attribute for manually specifying subtitle's character set
> would come in handy also.

Look at the <track> element, which does precisely this.

Received on Tuesday, 15 November 2011 17:51:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC