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

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.

~TJ

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