[1] sound
要素型は、 HTML
の独自拡張で、背景音を鳴らすために使用します。
>>5 によれば、 NCSA Mosaic が対応しています。 文書中どこにでも置けまして、 その部分が画面に表示されたときに再生されます。
[TADS] はそれとはどうやら独立に sound
要素型を導入したようです。
EMPTY
(強制空要素)?body
(の子孫?), head
?名前 | 値の型 | 既定値 | 意味 | 出典 |
alt | 文字列 | (なし) | 代替文 | [TADS] |
cancel | (真偽値) or 'BGAMBIENT' / 'AMBIENT' / 'BACKGROUND' | (なし) | [TADS] | |
delay | 1*DIGIT ? | (不明) | 再生までの遅延秒数 | >>2,>>4,>>5,>>8 |
fadein | 1*DIGIT | (なし) | (秒数) | [TADS] 未実装 |
fadeout | 1*DIGIT | (なし) | (秒数) | [TADS] 未実装 |
interrupt | (真偽値) | (なし) | 即再生 | [TADS] |
layer | 'FOREGROUND' / 'BGAMBIENT' / 'AMBIENT' / 'BACKGROUND' | [TADS] | ||
loop | 1*DIGIT / 'infinite' (Mosaic) / 'LOOP' (TADS) ? | (不明) | 再生回数 | >>2,>>4,>>5,>>8, [TADS] |
random | 1 〜100 | Ambient 層で再生する確率 | [TADS] | |
sequence | 'REPLACE' / 'RANDOM' / 'CYCLE' | [TADS] | ||
src | URI参照 | (必須)? | 再生する音 | >>2,>>4,>>5,>>8, [TADS] |
[13] layer
属性は常に指定するべきですが、
資源の種類による制限があります [TADS]:
BACKGROUND
BGAMBIENT
, AMBIENT
または FOREGROUND
(random
を使わない場合 FOREGROUND
)random
を使う場合AMBIENT
[6] >>5 によれば、 NCSA Mosaic が実装しています。 音声は WAV 形式でなければなりません。
[16] GeckoのHTML構文解析器も実装しているみたいです。 (名無しさん [sage] 2006-01-15 10:11:50 +00:00)
[17] Browser History: Mosaic ( ( 版)) <http://hepunx.rl.ac.uk/~adye/blooberry/html-old/history/mosaic.htm>
Last-Modified
は2001年4月18日。Last-Modified
はなくて、著作権表示は1998年。
img
要素にも終了タグが書かれていたりするので、信用できない。Last-Modified
は2004年3月17日(昨日じゃん!)Last-Modified
は2001年10月。[14] <IW:Google:"sound tag"> なんかで検索すると、
出てくるのは大抵 bgsound
か embed
だったりします。
(embed
は Netscape sound tag
なんだそうです...)
[15] HTML TADS は文書記述言語ではないので、 変な属性ばかりですねぇ。
[101] Allow for specifying a sound through a URL · eae0873 · whatwg/notifications ( ( 版)) <https://github.com/whatwg/notifications/commit/eae0873a49d07f4e1ba4bcb03a7db8aec0fa35b6>
[7] Remove support for sounds from notifications (beverloo著, ) <https://github.com/whatwg/notifications/commit/459bf358cae197a5b88c6a227e018756ef4c21cd>
[10] Remove support for sounds from notifications by beverloo · Pull Request #127 · whatwg/notifications () <https://github.com/whatwg/notifications/pull/127>