00:16 | <sayrer> | I don't understand the objections to <audio> |
00:23 | <Lachy> | The audio and video APIs should be made the same, except for the width/height |
00:25 | <Lachy> | I haven't made up my mind about <audio> yet. In some ways, Audio() provides all the necessary features for using Audio with script, but <audio> provides a declerative way to embed audio, potentially with a UA supplied UI that also provides the API |
00:26 | <sayrer> | also volume controls and other things that hover over the content area probably need to work differently for vide |
00:26 | <Lachy> | I know <embed> and <object> already provide a way to embed audio with a plugin-supplied-UI, but that audio doesn't have any API |
00:29 | <Lachy> | oh, it would be cool if the API could provide access to the ID3 tag info (or equivalent) in audio and video files |
00:31 | <sayrer> | yeah. it would be good not specify it idl |
00:31 | <sayrer> | so it can be a dictionary (JS Object) |
00:31 | <Lachy> | sayrer, what? |
00:32 | <Lachy> | care to rephrase that? |
00:32 | <sayrer> | Lachy: I don't think we want an AudioMetadataInterface |
00:32 | <Lachy> | why not? |
00:33 | <sayrer> | because it will be easier to do it adhoc |
00:33 | <sayrer> | see what keys people use |
00:34 | <sayrer> | there is already a big list in id3, right? |
00:34 | hasather_ | (n=hasather⊙8ttc) Quit (Remote closed the connection) |
00:35 | Lachy | is looking up the list of ID3 tags |
00:42 | <Lachy> | couldn't a metadata API be as simple as getValue(key);? Then there are no limits on what keys can be accessed |
00:43 | hasather_ | (n=hasather⊙8ttc) Quit (Remote closed the connection) |
00:43 | <Lachy> | we definitely don't want getArtistName() getAlbumName(), etc. cause that's not very extensible |
00:46 | hasather_ | (n=hasather⊙8ttc) has left #whatwg |
00:52 | hendry | (n=hendry⊙9851) Quit ("nn") |
00:53 | <sayrer> | Lachy: I agree. might be better to specify them as JSON and let implementations bind them per-language |
00:58 | tantek | (n=tantek⊙6192) Quit () |
01:20 | <Lachy> | sayrer, do you mean to expose the data in JSON format like {"Artist":"Someone", "Album":"Something", ... } ? |
01:20 | <sayrer> | Lachy, I mean define it in JSON, and say the actual API is per-language |
01:21 | <Lachy> | define what in JSON? |
01:21 | <sayrer> | so in JS and Python, say, it is just a your normal object |
01:21 | <Lachy> | the API? |
01:21 | <sayrer> | say it is a JSON dictionary and give a couple super obvious keys |
01:21 | <sayrer> | in Java, it could be a hashtable |
01:22 | <Lachy> | but what exactly does "it" refer to? |
01:22 | <sayrer> | "the metadata" |
01:22 | <Lachy> | I'm so confused |
01:22 | <sayrer> | so, you had it right in your example |
01:23 | <Lachy> | oh, ok. I thought I had it wrong because of what you said afterwards |
01:23 | <sayrer> | in JS it would be |
01:23 | <sayrer> | >> audio.metadata.Artist |
01:23 | <sayrer> | "Someone" |
01:23 | <sayrer> | in Java, it would be uglier |
01:58 | <Lachy> | Hixie, yt? |
01:59 | <Lachy> | the stop() method appears to be missing from the HTMLVideoElement IDL |
02:01 | <othermaciej> | Lachy: a metadata API can't be that simple |
02:02 | <Dashiva> | I just got 28 mailing list messages for all of today in one huge chunk... |
02:06 | sayrer | (n=chatzill⊙ucmc) Quit ("Chatzilla 0.9.73-rdmsoft [XULRunner 1.8.0.4/2006050908]") |
02:07 | <hasather_> | Dashiva: digest? |
02:20 | webben | (n=benjamin⊙9812) Quit ("Leaving") |
02:20 | <Dashiva> | No, regular mail. Must've been a choke somewhere along the way to me |
03:03 | <Hixie> | ok i am now here |
03:37 | <Lachy> | Hixie, I've been thinking about whether or not we need an audio element and there are a couple of advantages to having it |
03:38 | <Lachy> | it would make the audio available to users without script |
03:39 | <Lachy> | <audio ui="on"> could provide a UI, similar to what we get with object/embed today |
03:42 | <Hixie> | yeah but we'd still have to have the API to do sound effects |
03:42 | <Hixie> | so it's yet another feature |
03:42 | <Lachy> | adding support for visulatisations could be done in the future as well, if there were a screen provided for it |
03:46 | <Lachy> | well, there are some use cases for it too. Providing music previews on a music site like this, which currently uses flash: http://magnatune.com/artists/albums/bradsucks-dontknow/hifi_play |
03:47 | <Hixie> | that would use the Audio API, not the element, since it makes its own UI and everything |
03:48 | <Lachy> | possibly, but the API would need to be enhanced. The spec also says Audio() is desiged for sound effects, not streaming music like that does |
03:48 | <Hixie> | yeah |
03:48 | <Hixie> | well it certainly is at the moment |
03:50 | <Lachy> | but even if it were enhanced, users without script (like many mobile phone) would have no alternative |
03:54 | <Dashiva> | streaming is a very good use case |
03:57 | <Lachy> | is there an open format that supports streaming for live broadcasts, or only proprietary formats like those used in Real Player and Windows Media Player? |
03:57 | hasather_ | (n=hasather⊙8ttc) has left #whatwg |
03:58 | <Dashiva> | The format used in shoutcast, maybe? Not sure |
04:03 | tantek | (n=tantek⊙6192) Quit () |
04:07 | <Hixie> | Lachy: i haven't added them yet but all the events on <video> can be event listener attributes, and Audio is an EventTarget too |
04:08 | <Lachy> | I thought they would be |
07:56 | csarven | (n=nevrasc⊙m1mvc) Quit () |
08:21 | annevk | (n=annevk⊙8972) Quit (Read error: 110 (Connection timed out)) |
10:18 | annevk | (n=annevk⊙8972) Quit (Read error: 110 (Connection timed out)) |