emmet
emmet copied to clipboard
Missing `track` tag for markup
Downstream issue: https://github.com/microsoft/vscode/issues/118902
@pixieaka any ideas for how the track
abbreviation should look, and what it should expand to?
I guess if it's like source
tag implementation it's will be great.
<track src="example.vtt" kind="subtitles" srclang="en" label="English">
Attribute | Value | Description |
---|---|---|
default | default | Specifies that the track is to be enabled if the user's preferences do not indicate that another track would be more appropriate |
kind | captions chapters descriptions metadata subtitles | Specifies the kind of text track |
label | text | Specifies the title of the text track |
src | URL | Required. Specifies the URL of the track file |
srclang | language_code | Specifies the language of the track text data (required if kind="subtitles") |
Can dafault values for kind="subtitles" and for srclang="en" and for label="english". And cursor will first at src parameter and pass through other parameters as optional if user want to change any of other values.
I would like to contribute in adding the track tag. Do we want to have one abbreviation with the src, kind, srclang, label attributes or more combinations like the source tag?