For consideration: active audio elements, the intent tag

My first post here. Jumping right in:

Boy it'd be handy to have a way to signify that an element is playing audio.

We're just not seeing an outright win with the <audio> element. It'd be 
great to be able to hit "pause" in the browser, and have the DOM reflect 
which <object> elements and/or DOM elements are responsible for audio 
streaming out of the speakers.
Something like: "aria-playing: audio" would be a big help in that regard.

Second issue:

The intent tag. This seems to be moving forward under the name web intents.
http://webintents.org/

We're seeing some micro-evolution with <input type=file>.
That little tag, so very old, has turned into <input type=file 
style="display: none">.

Mozilla and WebKit are enabling ".click()" on input type=file.

That's a natural step from:
<input type="file" style="height: 50px; width: 100px; opacity: 0; 
position: absolute; z-index: 1" />
<button style="height: 50px; width: 100px; z-index: 0;">My handler</button>

I'm trying my best to help the introduction be a smooth operation:
<button onclick="if(this.intent) 
window.navigator.startActivity(this.intent)" role="intent:share">Share a 
file</button>


I don't know how the group works, or how to proceed, but those are two 
issues on my radar. Web Intents are happening, and from what I've seen 
of OS integration, they should happen.

Following (or on their own) my advice, Intent registration will work 
with fallback content, so the <intent /> tag is no longer going to be 
just a self-closing tag.
It'll have readable text with a backup link in it. I thought I had 
things pinned down there, but it occurred to me that I still need role 
attributes for the invocation tags.
And thus my demonstration of using a CURIE with the "intent:" prefix.

No rush on these two issues, but I'll keep bringing them up until I'm 
satisfied that we have some practical solutions.
Audio is going to be evolving in a big way, as it's become quite 
programmable.

-Charles

Received on Friday, 24 February 2012 01:20:43 UTC